Uploaded image for project: 'Apache Tez'
  1. Apache Tez
  2. TEZ-327

AM failed to start due to an error starting the RPCServer

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.2.0
    • Component/s: None
    • Labels:
    • Environment:

      jdk1.6

      Description

      Stack trace. Will upload the entire AM log as well.

      2013-07-30 13:32:08,542 ERROR [ServiceThread:DAGClientRPCServer] org.apache.tez.dag.api.client.DAGClientServer: Failed to start DAGClientServer:
      java.lang.NullPointerException
        at sun.nio.ch.Util.atBugLevel(Util.java:448)
        at sun.nio.ch.SelectorImpl.<init>(SelectorImpl.java:40)
        at sun.nio.ch.KQueueSelectorImpl.<init>(KQueueSelectorImpl.java:46)
        at sun.nio.ch.KQueueSelectorProvider.openSelector(KQueueSelectorProvider.java:20)
        at java.nio.channels.Selector.open(Selector.java:209)
        at org.apache.hadoop.ipc.Server$Listener.<init>(Server.java:539)
        at org.apache.hadoop.ipc.Server.<init>(Server.java:2197)
        at org.apache.hadoop.ipc.RPC$Server.<init>(RPC.java:901)
        at org.apache.hadoop.ipc.ProtobufRpcEngine$Server.<init>(ProtobufRpcEngine.java:505)
        at org.apache.hadoop.ipc.ProtobufRpcEngine.getServer(ProtobufRpcEngine.java:480)
        at org.apache.hadoop.ipc.RPC$Builder.build(RPC.java:746)
        at org.apache.tez.dag.api.client.DAGClientServer.createServer(DAGClientServer.java:97)
        at org.apache.tez.dag.api.client.DAGClientServer.serviceStart(DAGClientServer.java:71)
        at org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
        at org.apache.tez.dag.app.DAGAppMaster$ServiceWithDependency.start(DAGAppMaster.java:924)
        at org.apache.tez.dag.app.DAGAppMaster$ServiceThread.run(DAGAppMaster.java:942)
      2013-07-30 13:32:08,542 DEBUG [ServiceThread:DAGClientRPCServer] org.apache.hadoop.service.AbstractService: noteFailure org.apache.tez.dag.api.TezUncheckedException: java.lang.NullPointerException
      2013-07-30 13:32:08,542 INFO [ServiceThread:DAGClientRPCServer] org.apache.hadoop.service.AbstractService: Service DAGClientRPCServer failed in state STARTED; cause: org.apache.tez.dag.api.TezUncheckedExc
      org.apache.tez.dag.api.TezUncheckedException: java.lang.NullPointerException
        at org.apache.tez.dag.api.client.DAGClientServer.serviceStart(DAGClientServer.java:78)
        at org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
        at org.apache.tez.dag.app.DAGAppMaster$ServiceWithDependency.start(DAGAppMaster.java:924)
        at org.apache.tez.dag.app.DAGAppMaster$ServiceThread.run(DAGAppMaster.java:942)
      Caused by: java.lang.NullPointerException
        at sun.nio.ch.Util.atBugLevel(Util.java:448)
        at sun.nio.ch.SelectorImpl.<init>(SelectorImpl.java:40)
        at sun.nio.ch.KQueueSelectorImpl.<init>(KQueueSelectorImpl.java:46)
        at sun.nio.ch.KQueueSelectorProvider.openSelector(KQueueSelectorProvider.java:20)
        at java.nio.channels.Selector.open(Selector.java:209)
        at org.apache.hadoop.ipc.Server$Listener.<init>(Server.java:539)
        at org.apache.hadoop.ipc.Server.<init>(Server.java:2197)
        at org.apache.hadoop.ipc.RPC$Server.<init>(RPC.java:901)
        at org.apache.hadoop.ipc.ProtobufRpcEngine$Server.<init>(ProtobufRpcEngine.java:505)
        at org.apache.hadoop.ipc.ProtobufRpcEngine.getServer(ProtobufRpcEngine.java:480)
        at org.apache.hadoop.ipc.RPC$Builder.build(RPC.java:746)
        at org.apache.tez.dag.api.client.DAGClientServer.createServer(DAGClientServer.java:97)
        at org.apache.tez.dag.api.client.DAGClientServer.serviceStart(DAGClientServer.java:71)
        ... 3 more
      

        Attachments

        1. TEZ-327.AM-fix.patch
          0.6 kB
          Hitesh Shah
        2. syslog
          53 kB
          Siddharth Seth

          Activity

            People

            • Assignee:
              hitesh Hitesh Shah
              Reporter:
              sseth Siddharth Seth
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: