hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-6033) Users are not allowed to view their own jobs, denied by JobACLsManager
Date Mon, 18 Aug 2014 17:08:19 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-6033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14100869#comment-14100869
] 

Hudson commented on MAPREDUCE-6033:
-----------------------------------

FAILURE: Integrated in Hadoop-trunk-Commit #6085 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/6085/])
MAPREDUCE-6033. Updated access check for displaying job information 
(Yu Gao via Eric Yang) (eyang: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1618648)
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/v2/app/job/impl/JobImpl.java
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/test/java/org/apache/hadoop/mapreduce/v2/app/job/impl/TestJobImpl.java


> Users are not allowed to view their own jobs, denied by JobACLsManager
> ----------------------------------------------------------------------
>
>                 Key: MAPREDUCE-6033
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6033
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 2.4.1
>            Reporter: Yu Gao
>            Assignee: Yu Gao
>         Attachments: MAPREDUCE-6033.patch, YARN-2407.patch
>
>
> Have a Hadoop 2.4.1 cluster with Yarn ACL enabled, and try to submit jobs as a non-admin
user user1. The job could be finished successfully, but the running progress was not displayed
correctly on the command-line, and I got following in the corresponding ApplicationMaster
log:
> INFO [IPC Server handler 0 on 56717] org.apache.hadoop.ipc.Server: IPC Server handler
0 on 56717, call org.apache.hadoop.mapreduce.v2.api.MRClientProtocolPB.getJobReport from 9.30.95.26:61024
Call#59 Retry#0
> org.apache.hadoop.security.AccessControlException: User user1 cannot perform operation
VIEW_JOB on job_1407456690588_0003
> 	at org.apache.hadoop.mapreduce.v2.app.client.MRClientService$MRClientProtocolHandler.verifyAndGetJob(MRClientService.java:191)
> 	at org.apache.hadoop.mapreduce.v2.app.client.MRClientService$MRClientProtocolHandler.getJobReport(MRClientService.java:233)
> 	at org.apache.hadoop.mapreduce.v2.api.impl.pb.service.MRClientProtocolPBServiceImpl.getJobReport(MRClientProtocolPBServiceImpl.java:122)
> 	at org.apache.hadoop.yarn.proto.MRClientProtocol$MRClientProtocolService$2.callBlockingMethod(MRClientProtocol.java:275)
> 	at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:585)
> 	at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:928)
> 	at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2013)
> 	at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2009)
> 	at java.security.AccessController.doPrivileged(AccessController.java:366)
> 	at javax.security.auth.Subject.doAs(Subject.java:572)
> 	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1567)
> 	at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2007)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message