>> Invoking Sqoop command line now >>>
2018-03-29 17:05:43,735 [main] WARN org.apache.sqoop.tool.SqoopTool - $SQOOP_CONF_DIR has not been set in the environment. Cannot check for additional configuration.
2018-03-29 17:05:43,816 [main] INFO org.apache.sqoop.Sqoop - Running Sqoop version: 1.4.6-cdh5.13.1
2018-03-29 17:05:43,836 [main] INFO org.apache.sqoop.tool.BaseSqoopTool - Using Hive-specific delimiters for output. You can override
2018-03-29 17:05:43,837 [main] INFO org.apache.sqoop.tool.BaseSqoopTool - delimiters with --fields-terminated-by, etc.
2018-03-29 17:05:43,853 [main] WARN org.apache.sqoop.ConnFactory - $SQOOP_CONF_DIR has not been set in the environment. Cannot check for additional configuration.
2018-03-29 17:05:43,981 [main] INFO org.apache.sqoop.manager.MySQLManager - Preparing to use a MySQL streaming resultset.
2018-03-29 17:05:44,577 [main] INFO org.apache.sqoop.manager.SqlManager - Executing SQL statement: SELECT t.* FROM `city` AS t LIMIT 1
2018-03-29 17:05:44,595 [main] INFO org.apache.sqoop.manager.SqlManager - Executing SQL statement: SELECT t.* FROM `city` AS t LIMIT 1
2018-03-29 17:05:44,675 [main] INFO org.apache.sqoop.hive.HiveImport - Loading uploaded data into Hive
<<< Invocation of Sqoop command completed <<<
No child hadoop job is executed.
Intercepting System.exit(1)
<<< Invocation of Main class completed <<<
Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.SqoopMain], exit code [1]
Oozie Launcher failed, finishing Hadoop job gracefully
Oozie Launcher, uploading action data to HDFS sequence file: hdfs://nameservice1/user/hue/oozie-oozi/0000076-180321111957595-oozie-oozi-W/sqoop-f04f--sqoop/action-data.seq
Successfully reset security manager from org.apache.oozie.action.hadoop.LauncherSecurityManager@1b5a1d85 to null
Oozie Launcher ends
sqoop:
create-hive-table --connect "jdbc:mysql://10.99.101.132:3306/hadooptest?usessl=false&user=crm&password=crmcrm" --table city --hive-table city
无法创建hive表
|