Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Sqoop >> mail # user >> Sqoop and more than one partition key


Copy link to this message
-
Sqoop and more than one partition key
Hello,

I am trying to import and create hive table which has more than one
partition key using below mentioned command however command
fails giving below mentioned error. Is more than one partition key
supported in Sqoop.
13/01/04 17:08:01 INFO hive.HiveImport: FAILED: ParseException line 1:403
cannot recognize input near ',' '

sqoop --options-file connect.parm --table TABLEA --columns  "f1, f2,f3"
--split-by "f4"  --hive-import   -m 2 --hive-partition-key "f4,f5"
--hive-partition-value "v1,v2"
Good wishes,always !
Santosh