hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1035) NPE when trying to create an error message response of RPC
Date Tue, 06 Aug 2013 18:33:50 GMT

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

Steve Loughran commented on YARN-1035:
--------------------------------------

{code}
8]] INFO  DataNode.clienttrace (BlockSender.java:sendBlock(695)) - src: /127.0.0.1:58247,
dest: /127.0.0.1:58308, bytes: 5439, op: HDFS_READ, cliID: DFSClient_NONMAPREDUCE_-539248485_697,
offset: 0, srvID: DS-502087106-10.11.3.237-58247-1375813762260, blockid: BP-384257351-10.11.3.237-1375813760919:blk_1073741832_1008,
duration: 293000
2013-08-06 11:29:30,802 [IPC Server handler 1 on 58224] INFO  localizer.LocalizedResource
(LocalizedResource.java:handle(196)) - Resource hdfs://localhost:58246/user/stevel/.hoya/cluster/TestLiveRegionService/generated/hbase-env.sh
transitioned from DOWNLOADING to LOCALIZED
2013-08-06 11:29:30,802 [AsyncDispatcher event handler] INFO  container.Container (ContainerImpl.java:handle(860))
- Container container_1375813755119_0001_01_000002 transitioned from LOCALIZING to LOCALIZED
2013-08-06 11:29:30,921 [AsyncDispatcher event handler] INFO  container.Container (ContainerImpl.java:handle(860))
- Container container_1375813755119_0001_01_000002 transitioned from LOCALIZED to RUNNING
2013-08-06 11:29:31,140 [ContainersLauncher #0] INFO  nodemanager.DefaultContainerExecutor
(DefaultContainerExecutor.java:launchContainer(189)) - launchContainer: [nice, -n, 0, bash,
-c, /Users/stevel/Projects/Hortonworks/Projects/hoya/target/TestLiveRegionService/TestLiveRegionService-localDir-nm-0_0/usercache/stevel/appcache/application_1375813755119_0001/container_1375813755119_0001_01_000002/default_container_executor.sh]
2013-08-06 11:29:31,169 [ProcessThread(sid:0 cport:-1):] INFO  server.PrepRequestProcessor
(PrepRequestProcessor.java:pRequest(627)) - Got user-level KeeperException when processing
sessionid:0x14054e3f67f0001 type:delete cxid:0x13 zxid:0xc txntype:-1 reqpath:n/a Error Path:/yarnapps_hoya_stevel_TestLiveRegionService/backup-masters/10.11.3.237,58296,1375813768541
Error:KeeperErrorCode = NoNode for /yarnapps_hoya_stevel_TestLiveRegionService/backup-masters/10.11.3.237,58296,1375813768541
2013-08-06 11:29:31,713 [Socket Reader #1 for port 58246] INFO  ipc.Server (Server.java:doRead(800))
- IPC Server listener on 58246: readAndProcess from client 127.0.0.1 threw exception [java.lang.NullPointerException]
java.lang.NullPointerException
	at org.apache.hadoop.ipc.protobuf.RpcHeaderProtos$RpcResponseHeaderProto$Builder.setErrorMsg(RpcHeaderProtos.java:1843)
	at org.apache.hadoop.ipc.Server.setupResponse(Server.java:2330)
	at org.apache.hadoop.ipc.Server.access$2900(Server.java:121)
	at org.apache.hadoop.ipc.Server$Connection.doSaslReply(Server.java:1430)
	at org.apache.hadoop.ipc.Server$Connection.initializeAuthContext(Server.java:1548)
	at org.apache.hadoop.ipc.Server$Connection.readAndProcess(Server.java:1507)
	at org.apache.hadoop.ipc.Server$Listener.doRead(Server.java:791)
	at org.apache.hadoop.ipc.Server$Listener$Reader.doRunLoop(Server.java:590)
	at org.apache.hadoop.ipc.Server$Listener$Reader.run(Server.java:565)
2013-08-06 11:29:31,729 [Socket Reader #1 for port 58246] INFO  ipc.Server (Server.java:doRead(800))
- IPC Server listener on 58246: readAndProcess from client 127.0.0.1 threw exception [java.lang.NullPointerException]
java.lang.NullPointerException
	at org.apache.hadoop.ipc.protobuf.RpcHeaderProtos$RpcResponseHeaderProto$Builder.setErrorMsg(RpcHeaderProtos.java:1843)
	at org.apache.hadoop.ipc.Server.setupResponse(Server.java:2330)
	at org.apache.hadoop.ipc.Server.access$2900(Server.java:121)
	at org.apache.hadoop.ipc.Server$Connection.doSaslReply(Server.java:1430)
	at org.apache.hadoop.ipc.Server$Connection.initializeAuthContext(Server.java:1548)
	at org.apache.hadoop.ipc.Server$Connection.readAndProcess(Server.java:1507)
	at org.apache.hadoop.ipc.Server$Listener.doRead(Server.java:791)
	at org.apache.hadoop.ipc.Server$Listener$Reader.doRunLoop(Server.java:590)
	at org.apache.hadoop.ipc.Server$Listener$Reader.run(Server.java:565)
2013-08-06 11:29:32,070 [ProcessThread(sid:0 cport:-1):] INFO  server.PrepRequestProcessor
(PrepRequestProcessor.java:pRequest2Txn(476)) - Processed session termination for sessionid:
0x14054e3f67f0001
{code}
                
> NPE when trying to create an error message response of RPC
> ----------------------------------------------------------
>
>                 Key: YARN-1035
>                 URL: https://issues.apache.org/jira/browse/YARN-1035
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.1.1-beta
>            Reporter: Steve Loughran
>
> I'm seeing an NPE which is raised when the server is trying to create an error response
to send back to the caller and there is no error text.
> The root cause is probably somewhere in SASL, but sending something back to the caller
would seem preferable to NPE-ing server-side.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message