-
Notifications
You must be signed in to change notification settings - Fork 10
/
problem48
26 lines (23 loc) · 1.55 KB
/
problem48
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
sqoop import --connect jdbc:mysql://quickstart:3306/retail_db --username=retail_dba --password=cloudera --table=categories --target-dir=categories_targetJob -fields-terminated-by '|' -lines-terminated-by
[cloudera@quickstart CCA175]$ sqoop job --list
Warning: /usr/lib/sqoop/../accumulo does not exist! Accumulo imports will fail.
Please set $ACCUMULO_HOME to the root of your Accumulo installation.
17/10/21 16:55:07 INFO sqoop.Sqoop: Running Sqoop version: 1.4.6-cdh5.10.0
Available jobs:
[cloudera@quickstart CCA175]$ sqoop job --show sqoopjob
Warning: /usr/lib/sqoop/../accumulo does not exist! Accumulo imports will fail.
Please set $ACCUMULO_HOME to the root of your Accumulo installation.
17/10/21 16:55:29 INFO sqoop.Sqoop: Running Sqoop version: 1.4.6-cdh5.10.0
17/10/21 16:55:29 ERROR hsqldb.HsqldbJobStorage: Cannot restore job: sqoopjob
17/10/21 16:55:29 ERROR hsqldb.HsqldbJobStorage: (No such job)
17/10/21 16:55:29 ERROR tool.JobTool: I/O error performing job operation: java.io.IOException: Cannot restore missing job sqoopjob
at org.apache.sqoop.metastore.hsqldb.HsqldbJobStorage.read(HsqldbJobStorage.java:256)
at org.apache.sqoop.tool.JobTool.showJob(JobTool.java:217)
at org.apache.sqoop.tool.JobTool.run(JobTool.java:272)
at org.apache.sqoop.Sqoop.run(Sqoop.java:143)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:179)
at org.apache.sqoop.Sqoop.runTool(Sqoop.java:218)
at org.apache.sqoop.Sqoop.runTool(Sqoop.java:227)
at org.apache.sqoop.Sqoop.main(Sqoop.java:236)
[cloudera@quickstart CCA175]$