[ 
https://issues.apache.org/jira/browse/HIVE-28619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Indhumathi Muthumurugesh updated HIVE-28619:
--------------------------------------------
    Summary: TestHivePrivilegeObjectOwnerNameAndType to run on Tez  (was: 
Enable TestHivePrivilegeObjectOwnerNameAndType to run on Tez)

> TestHivePrivilegeObjectOwnerNameAndType to run on Tez
> -----------------------------------------------------
>
>                 Key: HIVE-28619
>                 URL: https://issues.apache.org/jira/browse/HIVE-28619
>             Project: Hive
>          Issue Type: Bug
>      Security Level: Public(Viewable by anyone) 
>            Reporter: Indhumathi Muthumurugesh
>            Priority: Minor
>
>     java.lang.RuntimeException: org.apache.tez.dag.api.TezException: 
> java.io.IOException: The ownership on the staging directory 
> file:/hive/target/tmp/junit2605296569645233863/scratchdir/hive/_tez_session_dir/237a582d-ad2c-45a6-8e41-6607ce773a6d
>  is not as expected. It is owned by xxxx. The directory must be owned by the 
> submitter hive or by hive
>     java.lang.NullPointerException: <no message>
>     Suppressed: java.lang.RuntimeException: 
> org.apache.tez.dag.api.TezException: java.io.IOException: The ownership on 
> the staging directory 
> file:/hive/target/tmp/junit2605296569645233863/scratchdir/hive/_tez_session_dir/237a582d-ad2c-45a6-8e41-6607ce773a6d
>  is not as expected. It is owned by xxxxx. The directory must be owned by the 
> submitter hive or by hive
>         at 
> org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:766)
>         at 
> org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:669)
>         at 
> org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:649)
>         at 
> org.apache.hadoop.hive.ql.security.authorization.plugin.TestHivePrivilegeObjectOwnerNameAndType.beforeTest(TestHivePrivilegeObjectOwnerNameAndType.java:96)
>         at java.lang.reflect.Method.invoke(Method.java:498)
>     Caused by: org.apache.tez.dag.api.TezException: java.io.IOException: The 
> ownership on the staging directory 
> file:/hive/target/tmp/junit2605296569645233863/scratchdir/hive/_tez_session_dir/237a582d-ad2c-45a6-8e41-6607ce773a6d
>  is not as expected. It is owned by xxxx. The directory must be owned by the 
> submitter hive or by hive
>         at org.apache.tez.client.TezClient.start(TezClient.java:410)
>         at 
> org.apache.hadoop.hive.ql.exec.tez.TezSessionState.startSessionAndContainers(TezSessionState.java:459)
>         at 
> org.apache.hadoop.hive.ql.exec.tez.TezSessionState.openInternal(TezSessionState.java:377)
>         at 
> org.apache.hadoop.hive.ql.exec.tez.TezSessionState.open(TezSessionState.java:243)
>         at 
> org.apache.hadoop.hive.ql.exec.tez.TezSessionState.open(TezSessionState.java:234)
>         at 
> org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:761)
>         ... 4 more
>     Caused by: java.io.IOException: The ownership on the staging directory 
> file:/hive/target/tmp/junit2605296569645233863/scratchdir/hive/_tez_session_dir/237a582d-ad2c-45a6-8e41-6607ce773a6d
>  is not as expected. It is owned by xxxx. The directory must be owned by the 
> submitter hive or by hive
>         at 
> org.apache.tez.client.TezClientUtils.ensureStagingDirExists(TezClientUtils.java:340)
>         at 
> org.apache.tez.client.TezClientUtils.createApplicationSubmissionContext(TezClientUtils.java:466)
>         at 
> org.apache.tez.client.TezClient.setupApplicationContext(TezClient.java:500)
>         at org.apache.tez.client.TezClient.start(TezClient.java:400)
>         ... 9 more
>     Suppressed: java.lang.NullPointerException
>         at 
> org.apache.hadoop.hive.ql.security.authorization.plugin.TestHivePrivilegeObjectOwnerNameAndType.runCmd(TestHivePrivilegeObjectOwnerNameAndType.java:102)
>         at 
> org.apache.hadoop.hive.ql.security.authorization.plugin.TestHivePrivilegeObjectOwnerNameAndType.afterTests(TestHivePrivilegeObjectOwnerNameAndType.java:108)
>         at java.lang.reflect.Method.invoke(Method.java:498)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to