找不到Mapreduce Hbase文件异常 [英] Mapreduce Hbase file not found exception

查看:104
本文介绍了找不到Mapreduce Hbase文件异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用mapreduce将数据填充到Hbase,但是一次又一次抛出以下异常:-

I am trying to populate data to Hbase using mapreduce but time and again its throwing the following exception :-

15/04/29 21:35:37 WARN mapreduce.JobSubmitter: Hadoop command-line option parsing not performed. Implement the Tool interface and execute your application with ToolRunner to remedy this.
15/04/29 21:35:38 INFO mapreduce.JobSubmitter: Cleaning up the staging area file:/home/hduser/hadoopDir/mapred/staging/hduser2144453758/.staging/job_local2144453758_0001
Exception in thread "main" java.io.FileNotFoundException: File does not exist: hdfs://localhost:54310/usr/lib/hbase-0.98.12-hadoop2/lib/hbase-protocol-0.98.12-hadoop2.jar

给出的jar位于路径中并提供给所有节点.它仍然继续给出错误.感谢您的帮助.

The jar which is given is in the path and provided to all nodes. Still it keeps on giving the error. Any help is appreciated.

命令是:-

    $ hadoop jar HBase-BulkImport.jar org.apache.hadoop.conf.Configuration.Driver /user/466708/workexample/ output/ NBAFinal2010

日志:-

 15/04/29 21:35:37 WARN mapreduce.JobSubmitter: Hadoop command-line option parsing not performed. Implement the Tool interface and execute your application with ToolRunner to remedy this.
15/04/29 21:35:38 INFO mapreduce.JobSubmitter: Cleaning up the staging area file:/home/hduser/hadoopDir/mapred/staging/hduser2144453758/.staging/job_local2144453758_0001
Exception in thread "main" java.io.FileNotFoundException: File does not exist: hdfs://localhost:54310/usr/lib/hbase-0.98.12-hadoop2/lib/hbase-protocol-0.98.12-hadoop2.jar

推荐答案

hbase-protocol-0.98.12-hadoop2.jar 从本地文件系统上传到hdfs位置,如下所示:

Upload your hbase-protocol-0.98.12-hadoop2.jar from local filesystem to hdfs locations as follows:

hdfs dfs -mkdir -p /usr/lib/hbase-0.98.12-hadoop2/lib
hdfs dfs -put /usr/lib/hbase-0.98.12-hadoop2/lib/hbase-protocol-0.98.12-hadoop2.jar /usr/lib/hbase-0.98.12-hadoop2/lib/hbase-protocol-0.98.12-hadoop2.jar

现在,尝试执行任务.

这篇关于找不到Mapreduce Hbase文件异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆