分享

ERROR org.apache.pig.backend.hadoop.executionengine.tez.TezJob - Cannot subm

java.io

.IOException: The ownership on the staging directory hdfs://sandbox.hortonworks.com:8020/tmp/yarn/staging

is not as expected. It is owned by maria_dev. The directory must be owned by the submitter root or by root
        at org.apache.tez.client.TezClientUtils.ensureStagingDirExists(TezClientUtils.java:298)
        at org.apache.tez.client.TezClientUtils.createApplicationSubmissionContext(TezClientUtils.java:425)
        at org.apache.tez.client.TezClient.start(TezClient.java:424)
        at org.apache.pig.backend.hadoop.executionengine.tez.TezSessionManager.createSession(TezSessionManager.java:100)
        at org.apache.pig.backend.hadoop.executionengine.tez.TezSessionManager.getClient(TezSessionManager.java:232)
        at org.apache.pig.backend.hadoop.executionengine.tez.TezJob.run(TezJob.java:203)
        at org.apache.pig.backend.hadoop.executionengine.tez.TezLauncher$1.run(TezLauncher.java:210)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
2017-10-10 05:26:08,032 [PigTezLauncher-0] ERROR org.apache.pig.backend.hadoop.executionengine.tez.TezJob - Cannot submit DAG
java.lang.RuntimeException: java.io

.IOException: The ownership on the staging directory hdfs://sandbox.hortonworks.com:8020/tmp/yarn/staging

is not as expected. It is owned by maria_dev. The directory must be owned by the submitter root or by root
        at org.apache.pig.backend.hadoop.executionengine.tez.TezSessionManager.createSession(TezSessionManager.java:109)
        at org.apache.pig.backend.hadoop.executionengine.tez.TezSessionManager.getClient(TezSessionManager.java:232)
        at org.apache.pig.backend.hadoop.executionengine.tez.TezJob.run(TezJob.java:203)
        at org.apache.pig.backend.hadoop.executionengine.tez.TezLauncher$1.run(TezLauncher.java:210)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.io

.IOException: The ownership on the staging directory hdfs://sandbox.hortonworks.com:8020/tmp/yarn/staging

is not as expected. It is owned by maria_dev. The directory must be owned by the submitter root or by root
        at org.apache.tez.client.TezClientUtils.ensureStagingDirExists(TezClientUtils.java:298)
        at org.apache.tez.client.TezClientUtils.createApplicationSubmissionContext(TezClientUtils.java:425)
        at org.apache.tez.client.TezClient.start(TezClient.java:424)
        at org.apache.pig.backend.hadoop.executionengine.tez.TezSessionManager.createSession(TezSessionManager.java:100)
        ... 8 more
2017-10-10 05:26:08,155 [main] WARN  org.apache.pig.backend.hadoop.executionengine.tez.TezLauncher - Ooops! Some job has failed! Specify -stop_on_failure if you want Pig to stop immediately on failure.
2017-10-10 05:26:08,161 [main] INFO  org.apache.pig.tools.pigstats.tez.TezPigScriptStats - Script Statistics:

已有(1)人评论

跳转到指定楼层
starrycheng 发表于 2017-10-10 14:34:20
It is owned by maria_dev. The directory must be owned by the submitter root or by root
这个应该是用户权限的问题
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条