Support Questions
Find answers, ask questions, and share your expertise

Yarn user unable to perform AM modify operation.


I have a pig job which runs as a step in a workflow, this has been running in a map reduce container but I recently moved it to a tez container as it's a more effecient use of system resource and the job runs faster. If I look in tez I can see the job completes sucessfully also the workflow accepts that the stage completed and moves on to the next stage in the workflow. However if I watch the containers from the Yarn ResourceManager UI I see that the pig job gets reported as killed rather than finished. On digging into the error logs it's because the Yarn user seems not to be able to modify the Tez application master , I guess it's just a permissions thing but I'm not sure how to correct this. full error attached if anyone knows how to resolve this it would be much appreceated.

2018-05-16 10:02:41,175 [WARN] [IPC Server handler 0 on 41321] |ipc.Server|: IPC Server handler 0 on 41321, call org.apache.tez.dag.api.client.rpc.DAGClientAMProtocolBlockingPB.shutdownSession from Call#2053 Retry#0 User yarn (auth:SIMPLE) cannot perform AM modify operation at org.apache.tez.dag.api.client.rpc.DAGClientAMProtocolBlockingPBServerImpl.shutdownSession( at org.apache.tez.dag.api.client.rpc.DAGClientAMProtocolRPC$DAGClientAMProtocol$2.callBlockingMethod( at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ at org.apache.hadoop.ipc.RPC$ at org.apache.hadoop.ipc.Server$Handler$ at org.apache.hadoop.ipc.Server$Handler$ at Method) at at at org.apache.hadoop.ipc.Server$ 2018-05-16 10:02:41,231 [INFO] [pool-1-thread-1] |app.DAGAppMaster|: DAGAppMasterShutdownHook invoked