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
Posted Friday, October 26, 2012 2:10 AM
Hall of Fame

Hall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of Fame

Group: General Forum Members
Last Login: Today @ 1:39 PM
Points: 3,070, Visits: 2,241
I've successfully got SQOOP to import data from SQL Server into Hadoop via Hive.

Sqoop import --connect ‘jdbc:sqlserver://;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
Post #1377432
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse