Sqoop报错accumulo does not exist

本文介绍了一种解决在使用Sqoop时遇到的Accumulo导入失败问题的方法。通过创建必要的目录和设置环境变量ACCUMULO_HOME,可以确保Accumulo组件正确配置,从而避免导入数据时出现错误。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Warning: /opt/cloudera/parcels/CDH-5.13.3-1.cdh5.13.3.p0.2/bin/../lib/sqoop/../accumulo does not exist! Accumulo imports will fail.

Please set $ACCUMULO_HOME to the root of your Accumulo installation.

18/09/29 11:02:07 INFO sqoop.Sqoop: Running Sqoop version: 1.4.6-cdh5.13.3

解决方法

mkdir /var/lib/accumulo

echo "export ACCUMULO_HOME=/var/lib/accumulo" >>/etc/profile

source /etc/profile" >>/etc/profile"

[root@hadoop01 bin]# sqoop version Warning: /export/servers/sqoop/../hbase does not exist! HBase imports will fail. Please set $HBASE_HOME to the root of your HBase installation. Warning: /export/servers/sqoop/../hcatalog does not exist! HCatalog jobs will fail. Please set $HCAT_HOME to the root of your HCatalog installation. Warning: /export/servers/sqoop/../accumulo does not exist! Accumulo imports will fail. Please set $ACCUMULO_HOME to the root of your Accumulo installation. 2025-06-16 17:40:56,723 INFO sqoop.Sqoop: Running Sqoop version: 1.4.7 Sqoop 1.4.7 git commit id 2328971411f57f0cb683dfb79d19d4d19d185dd8 Compiled by maugli on Thu Dec 21 15:59:58 STD 2017 [root@hadoop01 bin]# sqoop list-databases --connect jdbc:mysql://localhost:3306 --username root -p Warning: /export/servers/sqoop/../hbase does not exist! HBase imports will fail. Please set $HBASE_HOME to the root of your HBase installation. Warning: /export/servers/sqoop/../hcatalog does not exist! HCatalog jobs will fail. Please set $HCAT_HOME to the root of your HCatalog installation. Warning: /export/servers/sqoop/../accumulo does not exist! Accumulo imports will fail. Please set $ACCUMULO_HOME to the root of your Accumulo installation. 2025-06-16 17:41:30,249 INFO sqoop.Sqoop: Running Sqoop version: 1.4.7 2025-06-16 17:41:30,316 ERROR tool.BaseSqoopTool: Error parsing arguments for list-databases: 2025-06-16 17:41:30,316 ERROR tool.BaseSqoopTool: Unrecognized argument: -p Try --help for usage instructions.
最新发布
06-17
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值