[ https://issues.apache.org/jira/browse/SPARK-25330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16605738#comment-16605738 ]
Brahma Reddy Battula edited comment on SPARK-25330 at 9/6/18 12:56 PM: ----------------------------------------------------------------------- [~yumwang] is it possible to share debug logs..? or did you notice when *{{getRestrictParserDefault(Object resource)}}* returns *true*. Or do you've script or testcase to reproduce this..want to dig more. {quote}The issue occurred in this commit: [apache/hadoop@{{feb886f}}|https://github.com/apache/hadoop/commit/feb886f2093ea5da0cd09c69bd1360a335335c86]. {quote} FYI..There is another commit on top of this which will skip the proxy user check when ugi isn't initialized.[04219e55c8983f88573b10205dbca5411e744b35.. |https://github.com/apache/hadoop/commit/04219e55c8983f88573b10205dbca5411e744b35] Some more inputs will be helpful. was (Author: brahmareddy): [~yumwang] is it possible to share debug logs..? or did you notice when *{{getRestrictParserDefault(Object resource)}}* returns *true*. Or do you've script or testcase to reproduce this..want to dig more. {quote}The issue occurred in this commit: [apache/hadoop@{{feb886f}}|https://github.com/apache/hadoop/commit/feb886f2093ea5da0cd09c69bd1360a335335c86]. {quote} There is another commit on top of this which will skip the proxy user check when ugi isn't initialized.[04219e55c8983f88573b10205dbca5411e744b35|https://github.com/apache/hadoop/commit/04219e55c8983f88573b10205dbca5411e744b35] > Permission issue after upgrade hadoop version to 2.7.7 > ------------------------------------------------------ > > Key: SPARK-25330 > URL: https://issues.apache.org/jira/browse/SPARK-25330 > Project: Spark > Issue Type: Bug > Components: Build > Affects Versions: 2.3.2, 2.4.0 > Reporter: Yuming Wang > Priority: Major > > How to reproduce: > {code:java} > # build spark > ./dev/make-distribution.sh --name SPARK-25330 --tgz -Phadoop-2.7 -Phive > -Phive-thriftserver -Pyarn > tar -zxf spark-2.4.0-SNAPSHOT-bin-SPARK-25330.tgz && cd > spark-2.4.0-SNAPSHOT-bin-SPARK-25330 > export HADOOP_PROXY_USER=user_a > bin/spark-sql > export HADOOP_PROXY_USER=user_b > bin/spark-sql{code} > > {noformat} > Exception in thread "main" java.lang.RuntimeException: > org.apache.hadoop.security.AccessControlException: Permission denied: > user=user_b, access=EXECUTE, > inode="/tmp/hive-$%7Buser.name%7D/user_b/668748f2-f6c5-4325-a797-fd0a7ee7f4d4":user_b:hadoop:drwx------ > at > org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.check(FSPermissionChecker.java:319) > at > org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkTraverse(FSPermissionChecker.java:259) > at > org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkPermission(FSPermissionChecker.java:205) > at > org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkPermission(FSPermissionChecker.java:190){noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org