You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Shohei Okumiya (Jira)" <ji...@apache.org> on 2025/01/12 09:42:00 UTC

[jira] [Resolved] (HIVE-28619) TestHivePrivilegeObjectOwnerNameAndType to run on Tez

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

Shohei Okumiya resolved HIVE-28619.
-----------------------------------
    Resolution: Fixed

I merged the PR into master. Thanks [~Indhumathi27] for submitting the patch, and thanks [~Aggarwal_Raghav] for helping review it!

> TestHivePrivilegeObjectOwnerNameAndType to run on Tez
> -----------------------------------------------------
>
>                 Key: HIVE-28619
>                 URL: https://issues.apache.org/jira/browse/HIVE-28619
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Indhumathi Muthumurugesh
>            Assignee: Indhumathi Muthumurugesh
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 4.1.0
>
>
>     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)