Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Sqoop, Hadoop and Hive Expand / Collapse
Author
Message
Posted Friday, October 26, 2012 2:10 AM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: 2 days ago @ 6:20 AM
Points: 2,923, Visits: 1,874
I've successfully got SQOOP to import data from SQL Server into Hadoop via Hive.

Sqoop import --connect ‘jdbc:sqlserver://mysqlserver.mycompany.com;username=hadoopuser;password=hadoop;database=hadoopProofOfConcept’ --table dataforhive --hive-import

However, getting data to go the other way, from Hadoop/Hive to SQL Server is less succesful.
SQOOP is happy to dump a Hadoop/Hive record into a single column in SQL Server but freaks if I want to export records with more than one field.

SQOOP is brilliant at giving reams of useless error messages but not so great at giving you something to help get to the root cause. Has anyone had any experience with importing data into SQL Server using SQOOP and can you give me a few pointers?



LinkedIn Profile
Newbie on www.simple-talk.com
Post #1377432
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse