在hbase 0.98上从配置单元1.0.0执行联接查询

jexiocij  于 2021-06-09  发布在  Hbase
关注(0)|答案(1)|浏览(433)

在hbase(0.98)表上使用hive1.0.0执行连接查询时,出现以下异常。简单的select查询可以很好地工作。此外,所述jar文件也存在于所述位置。
错误[main]:exec.task(sessionstate。java:printerror(833))-作业提交失败,出现异常“java.io.filenotfoundexception(文件不存在:hdfs://localhost:9000/home/user/hadoop-2.6.0/share/hadoop/mapreduce/hadoop-mapreduce-client-core-2.6.0.jar)“java.io.filenotfoundexception:文件不存在:hdfs://localhost:9000/home/user/hadoop-2.6.0/share/hadoop/mapreduce/hadoop-mapreduce-client-core-2.6.0.jar,网址:org.apache.hadoop.hdfs.distributedfilesystem$18.docall(distributedfilesystem)。java:1122)在org.apache.hadoop.hdfs.distributedfilesystem$18.docall(distributedfilesystem)。java:1114)在org.apache.hadoop.fs.filesystemlinkresolver.resolve(filesystemlinkresolver。java:81)在org.apache.hadoop.hdfs.distributedfilesystem.getfilestatus(distributedfilesystem)。java:1114)位于org.apache.hadoop.mapreduce.filecache.clientdistributedcachemanager.getfilestatus(clientdistributedcachemanager)。java:288)在org.apache.hadoop.mapreduce.filecache.clientdistributedcachemanager.getfilestatus(clientdistributedcachemanager)。java:224)位于org.apache.hadoop.mapreduce.filecache.clientdistributedcachemanager.determinetimestamps(clientdistributedcachemanager)。java:93)在org.apache.hadoop.mapreduce.filecache.clientdistributedcachemanager.determinetimestampsandcachevisibilities(clientdistributedcachemanager)。java:57)在org.apache.hadoop.mapreduce.jobsubmitter.copyandconfigurefiles(jobsubmitter。java:269)在org.apache.hadoop.mapreduce.jobsubmitter.copyandconfigurefiles(jobsubmitter。java:390)在org.apache.hadoop.mapreduce.jobsubmitter.submitjobinternal(jobsubmitter。java:483)在org.apache.hadoop.mapreduce.job$10.run(job。java:1296)在org.apache.hadoop.mapreduce.job$10.run(job。java:1293)位于javax.security.auth.subject.doas(subject)的java.security.accesscontroller.doprivileged(本机方法)。java:415)在org.apache.hadoop.security.usergroupinformation.doas(用户组信息。java:1628)在org.apache.hadoop.mapreduce.job.submit(作业。java:1293)在org.apache.hadoop.mapred.jobclient$1.run(jobclient。java:562)在org.apache.hadoop.mapred.jobclient$1.run(jobclient。java:557)位于java.security.accesscontroller.doprivileged(本机方法)javax.security.auth.subject.doas(主题。java:415)在org.apache.hadoop.security.usergroupinformation.doas(usergroupinformation。java:1628)在org.apache.hadoop.mapred.jobclient.submitjobinternal(jobclient。java:557)在org.apache.hadoop.mapred.jobclient.submitjob(jobclient。java:548)在org.apache.hadoop.hive.ql.exec.mr.execdriver.execute(execdriver。java:429)位于org.apache.hadoop.hive.ql.exec.mr.mapredtask.execute(mapredtask)。java:137)在org.apache.hadoop.hive.ql.exec.task.executetask(任务。java:160)位于org.apache.hadoop.hive.ql.exec.taskrunner.runsequential(taskrunner)。java:85)在org.apache.hadoop.hive.ql.driver.launchtask(驱动程序。java:1604)在org.apache.hadoop.hive.ql.driver.execute(driver。java:1364)在org.apache.hadoop.hive.ql.driver.runinternal(driver。java:1177)在org.apache.hadoop.hive.ql.driver.run(driver。java:1004)在org.apache.hadoop.hive.ql.driver.run(driver。java:994)在org.apache.hadoop.hive.cli.clidriver.processlocalcmd(clidriver。java:201)在org.apache.hadoop.hive.cli.clidriver.processcmd(clidriver。java:153)在org.apache.hadoop.hive.cli.clidriver.processline(clidriver。java:364)在org.apache.hadoop.hive.cli.clidriver.executedriver(clidriver。java:712)在org.apache.hadoop.hive.cli.clidriver.run(clidriver。java:631)位于org.apache.hadoop.hive.cli.clidriver.main(clidriver。java:570)在sun.reflect.nativemethodaccessorimpl.invoke0(本机方法)在sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl)。java:57)在sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl。java:43)在java.lang.reflect.method.invoke(方法。java:606)在org.apache.hadoop.util.runjar.run(runjar。java:221)在org.apache.hadoop.util.runjar.main(runjar。java:136)
2015-04-24 12:24:37114错误[main]:ql.driver(会话状态。java:printerror(833))-失败:执行错误,从org.apache.hadoop.hive.ql.exec.mr.mapredtask返回代码1

lf3rwulv

lf3rwulv1#

正在hdfs中搜索hadoop-mapreduce-client-core-2.6.0.jar。
hdfs://localhost:9000/是hadoop hdfs地址。您可以设置主路径,也可以将jar上传到hdfs中。
hdfs dfs-put[本地jar路径]hdfs://localhost:9000/home/user/hadoop-2.6.0/share/hadoop/mapreduce/

相关问题