分享

sqoop启动问题Error parsing arguments for list-tables:

舒克 发表于 2017-3-28 19:27:18 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 1 14696
先前sqoop都哈能用,中间有一段时间没用,现在启动怎么出现了这样的错误   什么命令都不好使了,有人遇到过这个问题吗?

[root@node1 ~]# sqoop list-tables --connection jdbc:mysql://192.168.8.110:3306 --username root --password 123456
Warning: /home/sqoop-1.4.6//../hcatalog does not exist! HCatalog jobs will fail.
Please set $HCAT_HOME to the root of your HCatalog installation.
Warning: /home/sqoop-1.4.6//../accumulo does not exist! Accumulo imports will fail.
Please set $ACCUMULO_HOME to the root of your Accumulo installation.
Warning: /home/sqoop-1.4.6//../zookeeper does not exist! Accumulo imports will fail.
Please set $ZOOKEEPER_HOME to the root of your Zookeeper installation.
17/03/28 19:21:18 INFO sqoop.Sqoop: Running Sqoop version: 1.4.6
17/03/28 19:21:18 ERROR tool.BaseSqoopTool: Error parsing arguments for list-tables:
17/03/28 19:21:18 ERROR tool.BaseSqoopTool: Unrecognized argument: --connection
17/03/28 19:21:18 ERROR tool.BaseSqoopTool: Unrecognized argument: jdbc:mysql://192.168.8.110:3306
17/03/28 19:21:18 ERROR tool.BaseSqoopTool: Unrecognized argument: --username
17/03/28 19:21:18 ERROR tool.BaseSqoopTool: Unrecognized argument: root
17/03/28 19:21:18 ERROR tool.BaseSqoopTool: Unrecognized argument: --password
17/03/28 19:21:18 ERROR tool.BaseSqoopTool: Unrecognized argument: 123456

已有(1)人评论

跳转到指定楼层
langke93 发表于 2017-3-28 19:59:49
应该落下数据库名称了
sqoop list-tables --connection jdbc:mysql://192.168.8.110:3306/数据库名称 --username root --password 123456

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条