Uploaded image for project: 'Tajo (Retired)'
  1. Tajo (Retired)
  2. TAJO-719

JUnit test failures

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 0.8.0
    • 0.8.0, 0.9.0
    • None
    • None
    • Linux machine

    Description

      See the title. When I run 'mvn clean install', the following error occurred.

      경고: An exception was thrown by a user handler while handling an exception event ([id: 0xf94e9a31] EXCEPTION: java.nio.channels.UnresolvedAddressException)
      java.lang.NullPointerException
      	at org.apache.tajo.rpc.NettyClientBase.getRemoteAddress(NettyClientBase.java:78)
      	at org.apache.tajo.rpc.AsyncRpcClient$ClientChannelUpstreamHandler.exceptionCaught(AsyncRpcClient.java:220)
      	at org.jboss.netty.handler.codec.oneone.OneToOneDecoder.handleUpstream(OneToOneDecoder.java:60)
      	at org.jboss.netty.handler.codec.frame.FrameDecoder.exceptionCaught(FrameDecoder.java:377)
      	at org.jboss.netty.channel.Channels.fireExceptionCaught(Channels.java:525)
      	at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink.connect(NioClientSocketPipelineSink.java:131)
      	at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink.eventSunk(NioClientSocketPipelineSink.java:70)
      	at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.handleDownstream(OneToOneEncoder.java:54)
      	at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.handleDownstream(OneToOneEncoder.java:54)
      	at org.jboss.netty.channel.Channels.connect(Channels.java:634)
      	at org.jboss.netty.channel.AbstractChannel.connect(AbstractChannel.java:207)
      	at org.jboss.netty.bootstrap.ClientBootstrap.connect(ClientBootstrap.java:229)
      	at org.jboss.netty.bootstrap.ClientBootstrap.connect(ClientBootstrap.java:182)
      	at org.apache.tajo.rpc.NettyClientBase.connect(NettyClientBase.java:65)
      	at org.apache.tajo.rpc.NettyClientBase.init(NettyClientBase.java:57)
      	at org.apache.tajo.rpc.AsyncRpcClient.<init>(AsyncRpcClient.java:77)
      	at org.apache.tajo.rpc.RpcConnectionPool.makeConnection(RpcConnectionPool.java:64)
      	at org.apache.tajo.rpc.RpcConnectionPool.getConnection(RpcConnectionPool.java:78)
      	at org.apache.tajo.master.querymaster.QueryInProgress.connectQueryMaster(QueryInProgress.java:200)
      	at org.apache.tajo.master.querymaster.QueryInProgress.submmitQueryToMaster(QueryInProgress.java:213)
      	at org.apache.tajo.master.querymaster.QueryInProgress.access$200(QueryInProgress.java:49)
      	at org.apache.tajo.master.querymaster.QueryInProgress$QueryInProgressEventHandler.handle(QueryInProgress.java:181)
      	at org.apache.tajo.master.querymaster.QueryInProgress$QueryInProgressEventHandler.handle(QueryInProgress.java:173)
      	at org.apache.tajo.master.TajoAsyncDispatcher.dispatch(TajoAsyncDispatcher.java:137)
      	at org.apache.tajo.master.TajoAsyncDispatcher$1.run(TajoAsyncDispatcher.java:79)
      	at java.lang.Thread.run(Thread.java:744)
      
      java.nio.channels.UnresolvedAddressException
      	at sun.nio.ch.Net.checkAddress(Net.java:127)
      	at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:644)
      	at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink.connect(NioClientSocketPipelineSink.java:108)
      	at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink.eventSunk(NioClientSocketPipelineSink.java:70)
      	at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.handleDownstream(OneToOneEncoder.java:54)
      	at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.handleDownstream(OneToOneEncoder.java:54)
      	at org.jboss.netty.channel.Channels.connect(Channels.java:634)
      	at org.jboss.netty.channel.AbstractChannel.connect(AbstractChannel.java:207)
      	at org.jboss.netty.bootstrap.ClientBootstrap.connect(ClientBootstrap.java:229)
      	at org.jboss.netty.bootstrap.ClientBootstrap.connect(ClientBootstrap.java:182)
      	at org.apache.tajo.rpc.NettyClientBase.connect(NettyClientBase.java:65)
      	at org.apache.tajo.rpc.NettyClientBase.init(NettyClientBase.java:57)
      	at org.apache.tajo.rpc.AsyncRpcClient.<init>(AsyncRpcClient.java:77)
      	at org.apache.tajo.rpc.RpcConnectionPool.makeConnection(RpcConnectionPool.java:64)
      	at org.apache.tajo.rpc.RpcConnectionPool.getConnection(RpcConnectionPool.java:78)
      	at org.apache.tajo.master.querymaster.QueryInProgress.connectQueryMaster(QueryInProgress.java:200)
      	at org.apache.tajo.master.querymaster.QueryInProgress.submmitQueryToMaster(QueryInProgress.java:213)
      	at org.apache.tajo.master.querymaster.QueryInProgress.access$200(QueryInProgress.java:49)
      	at org.apache.tajo.master.querymaster.QueryInProgress$QueryInProgressEventHandler.handle(QueryInProgress.java:181)
      	at org.apache.tajo.master.querymaster.QueryInProgress$QueryInProgressEventHandler.handle(QueryInProgress.java:173)
      	at org.apache.tajo.master.TajoAsyncDispatcher.dispatch(TajoAsyncDispatcher.java:137)
      	at org.apache.tajo.master.TajoAsyncDispatcher$1.run(TajoAsyncDispatcher.java:79)
      	at java.lang.Thread.run(Thread.java:744)
      2014-03-28 19:06:24,052 ERROR querymaster.QueryInProgress (QueryInProgress.java:submmitQueryToMaster(233)) - java.nio.channels.UnresolvedAddressException
      java.io.IOException: java.nio.channels.UnresolvedAddressException
      	at org.apache.tajo.rpc.NettyClientBase.init(NettyClientBase.java:60)
      	at org.apache.tajo.rpc.AsyncRpcClient.<init>(AsyncRpcClient.java:77)
      	at org.apache.tajo.rpc.RpcConnectionPool.makeConnection(RpcConnectionPool.java:64)
      	at org.apache.tajo.rpc.RpcConnectionPool.getConnection(RpcConnectionPool.java:78)
      	at org.apache.tajo.master.querymaster.QueryInProgress.connectQueryMaster(QueryInProgress.java:200)
      	at org.apache.tajo.master.querymaster.QueryInProgress.submmitQueryToMaster(QueryInProgress.java:213)
      	at org.apache.tajo.master.querymaster.QueryInProgress.access$200(QueryInProgress.java:49)
      	at org.apache.tajo.master.querymaster.QueryInProgress$QueryInProgressEventHandler.handle(QueryInProgress.java:181)
      	at org.apache.tajo.master.querymaster.QueryInProgress$QueryInProgressEventHandler.handle(QueryInProgress.java:173)
      	at org.apache.tajo.master.TajoAsyncDispatcher.dispatch(TajoAsyncDispatcher.java:137)
      	at org.apache.tajo.master.TajoAsyncDispatcher$1.run(TajoAsyncDispatcher.java:79)
      	at java.lang.Thread.run(Thread.java:744)
      Caused by: java.nio.channels.UnresolvedAddressException
      	at sun.nio.ch.Net.checkAddress(Net.java:127)
      	at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:644)
      	at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink.connect(NioClientSocketPipelineSink.java:108)
      	at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink.eventSunk(NioClientSocketPipelineSink.java:70)
      	at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.handleDownstream(OneToOneEncoder.java:54)
      	at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.handleDownstream(OneToOneEncoder.java:54)
      	at org.jboss.netty.channel.Channels.connect(Channels.java:634)
      	at org.jboss.netty.channel.AbstractChannel.connect(AbstractChannel.java:207)
      	at org.jboss.netty.bootstrap.ClientBootstrap.connect(ClientBootstrap.java:229)
      	at org.jboss.netty.bootstrap.ClientBootstrap.connect(ClientBootstrap.java:182)
      	at org.apache.tajo.rpc.NettyClientBase.connect(NettyClientBase.java:65)
      	at org.apache.tajo.rpc.NettyClientBase.init(NettyClientBase.java:57)
      	... 11 more
      

      Attachments

        1. TAJO-719.patch
          4 kB
          Jinho Kim

        Activity

          People

            jhkim Jinho Kim
            jihoonson Jihoon Son
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: