2017-09-04 16:50:23882信息[main]:mapredlocaltask先生(mapredlocaltask。java:executeinchildvm(172))-生成计划文件文件:/tmp/admin/1a83c312-332f-4f0a-a401-40356747d414/hive\u 2017-09-04\u 16-50-22\u 972\u 33963111132793676844-1/-local-10004/plan.xml 2017-09-04 16:50:24,248 info[main]:mapredlocaltask先生(mapredlocaltask。java:executeinchildvm(319))-执行:/opt/cloudera/parcels/cdh-5.12.0-1.cdh5.12.0.p0.29/lib/hadoop/bin/hadoop jar/opt/cloudera/parcels/cdh-5.12.0-1.cdh5.12.0.p0.29/jars/hive-exec-1.1.0-cdh5.12.0.jar org.apache.hadoop.hive.ql.exec.mr.execdriver-本地任务-计划文件:/tmp/admin/1a83c312-332f-4f0a-a401-40356747d414/hive\u 2017-09-04\u 16-50-22\u 972\u 33963111132793676844-1/-local-10004/plan.xml-jobconf文件:/tmp/admin/1a83c312-332f-4f0a-a401-40356747d414/hive\u 2017-09-04\u 16-50-22\u 972\u 33963111132793676844-1/-local-10005/jobconf.xml 2017-09-04 16:50:24,254错误[main]:mr.mapredlocaltask(mapredlocaltask。java:executeinchildvm(351))-异常:java.lang.nullpointerexception位于org.apache.hadoop.hive.ql.exec.mr.mapredlocaltask.executeinchildvm(mapredlocaltask)。java:326)位于org.apache.hadoop.hive.ql.exec.mr.mapredlocaltask.execute(mapredlocaltask)。java:153)在org.apache.hadoop.hive.ql.exec.task.executetask(任务。java:214)位于org.apache.hadoop.hive.ql.exec.taskrunner.runsequential(taskrunner)。java:99)在org.apache.hadoop.hive.ql.driver.launchtask(driver。java:2041)在org.apache.hadoop.hive.ql.driver.execute(driver。java:1748)在org.apache.hadoop.hive.ql.driver.runinternal(driver。java:1501)在org.apache.hadoop.hive.ql.driver.run(驱动程序。java:1285)在org.apache.hadoop.hive.ql.driver.run(driver。java:1275)在org.apache.hadoop.hive.cli.clidriver.processlocalcmd(clidriver。java:220)在org.apache.hadoop.hive.cli.clidriver.processcmd(clidriver。java:172)在org.apache.hadoop.hive.cli.clidriver.processline(clidriver。java:383)在org.apache.hadoop.hive.cli.clidriver.processline(clidriver。java:318)在org.apache.hadoop.hive.cli.clidriver.executedriver(clidriver。java:720)在org.apache.hadoop.hive.cli.clidriver.run(clidriver。java:693)位于org.apache.hadoop.hive.cli.clidriver.main(clidriver。java:628)位于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)
1条答案
按热度按时间imzjd6km1#
我可以通过设置运行一些查询:
或者
希望它能解决你的问题。