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?