开发者社区> 问答> 正文

将hbase表数据导入到hdfs上相关错误问题?报错

我需要把hbase中的表数据导入到hdfs 

使用的命令 hbase org.apache.hadoop.hbase.mapreduce.Driver import user hdfs://master:9000/user


显示一直重新连接。连接九次后停住不到,已经被这个问题弄疯了  能解答吗各位

报错的信息是:     2015-01-22 00:43:32,293 INFO  [main] ipc.Client: Retrying connect to server: localhost/127.0.0.1:18032. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
2015-01-22 00:43:33,295 INFO  [main] ipc.Client: Retrying connect to server: localhost/127.0.0.1:18032. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
2015-01-22 00:43:34,297 INFO  [main] ipc.Client: Retrying connect to server: localhost/127.0.0.1:18032. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
2015-01-22 00:43:35,299 INFO  [main] ipc.Client: Retrying connect to server: localhost/127.0.0.1:18032. Already tried 3 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)

展开
收起
爱吃鱼的程序员 2020-06-14 18:15:15 1021 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    查一下Hbase的log文件夹里面的日志吧。连接问题大多数是无密码登陆造成的,你hbase无法连接到指定的那个主机,最好检查一下。回复<aclass='referer'target='_blank'>@loki_lan:不是ssh无密码错误回复<aclass='referer'target='_blank'>@loki_lan:不是无密码登陆问题。执行导出命令后显示连接。然后重试连接连接九次停住了,回复<aclass='referer'target='_blank'>@hbase:出来这种情况,很有可能是无密码登陆问题,你确定用ssh节点之间可以互相登陆么,我之前因为这个折腾了好久,报的错跟你一样。你好,我在将数据从hdfs上导入到hbase表中时遇到了和你一样的问题,请问你解决了吗?回复<aclass='referer'target='_blank'>@hbase:那我的2.4hadoop,hbase0.98.3,zookeeper3.4.6匹配吗?你好,那是很久以前了,原因是hadoopzookeeperhbase三者之间的版本不匹配

    2020-06-14 18:15:33
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
大数据时代的存储 ——HBase的实践与探索 立即下载
Hbase在滴滴出行的应用场景和最佳实践 立即下载
阿里云HBase主备双活 立即下载

相关实验场景

更多