java.lang.IllegalArgumentException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 2#51566025
    via GitHub by lvhongye
    ,
  • graylog 1.1.1 wont start properly - hostname can't be null
    via by Martin René Mortensen,
  • GitHub comment 619#182148588
    via GitHub by vishakha94
    ,
  • GitHub comment 619#182171561
    via GitHub by vishakha94
    ,
  • I tried starting a MR job against a malformed hostname (locahost), got this and it just kept on spewing: {noformat} 2015-05-15 15:28:18,549 (main) [INFO - org.apache.hadoop.metrics.jvm.JvmMetrics.init(JvmMetrics.java:76)] Initializing JVM Metrics with processName=JobTracker, sessionId= 2015-05-15 15:28:19,477 (main) [ERROR - org.kududb.client.TabletClient.exceptionCaught(TabletClient.java:644)] Unexpected exception from downstream on [id: 0xe1ed8321] 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.kududb.client.AsyncKuduClient$TabletClientPipeline.sendDownstream(AsyncKuduClient.java:1458) at org.jboss.netty.channel.Channels.connect(Channels.java:634) at org.jboss.netty.channel.AbstractChannel.connect(AbstractChannel.java:207) at org.kududb.client.AsyncKuduClient.newClient(AsyncKuduClient.java:1187) at org.kududb.client.AsyncKuduClient.newMasterClient(AsyncKuduClient.java:1160) at org.kududb.client.AsyncKuduClient.getMasterTableLocationsPB(AsyncKuduClient.java:873) at org.kududb.client.AsyncKuduClient.locateTablet(AsyncKuduClient.java:845) at org.kududb.client.AsyncKuduClient.sendRpcToTablet(AsyncKuduClient.java:555) at org.kududb.client.AsyncKuduClient.getTableSchema(AsyncKuduClient.java:345) at org.kududb.client.AsyncKuduClient.openTable(AsyncKuduClient.java:397) at org.kududb.client.KuduClient.openTable(KuduClient.java:189) at org.kududb.mapreduce.KuduTableInputFormat.setConf(KuduTableInputFormat.java:225) at ... 2015-05-15 15:28:19,481 (main) [ERROR - org.kududb.client.AsyncKuduClient.getIP(AsyncKuduClient.java:1541)] Failed to resolve the IP of `localhot' in 55597ns 2015-05-15 15:28:19,481 (main) [ERROR - org.kududb.client.AsyncKuduClient$TabletClientPipeline.handleDisconnect(AsyncKuduClient.java:1505)] Uncaught exception when handling a disconnection of [id: 0xe1ed8321] java.lang.IllegalArgumentException: hostname can't be null at java.net.InetSocketAddress.checkHost(InetSocketAddress.java:149) at java.net.InetSocketAddress.<init>(InetSocketAddress.java:216) at org.kududb.client.AsyncKuduClient.slowSearchClientIP(AsyncKuduClient.java:1371) at org.kududb.client.AsyncKuduClient.access$1500(AsyncKuduClient.java:112) at org.kududb.client.AsyncKuduClient$TabletClientPipeline.handleDisconnect(AsyncKuduClient.java:1496) at org.kududb.client.AsyncKuduClient$TabletClientPipeline.sendDownstream(AsyncKuduClient.java:1456) at org.jboss.netty.channel.Channels.close(Channels.java:812) at org.kududb.client.TabletClient.exceptionCaught(TabletClient.java:647) at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:112) at org.kududb.client.TabletClient.handleUpstream(TabletClient.java:568) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559) at org.kududb.client.AsyncKuduClient$TabletClientPipeline.sendUpstream(AsyncKuduClient.java:1466) at org.jboss.netty.channel.Channels.fireExceptionCaught(Channels.java:525) ... 2015-05-15 15:28:19,488 (main) [WARN - org.kududb.client.GetMasterRegistrationReceived$GetMasterRegistrationErrCB.call(GetMasterRegistrationReceived.java:171)] Error receiving a response from: localhot:61000 org.kududb.client.ConnectionResetException at org.kududb.client.TabletClient.sendRpc(TabletClient.java:175) at org.kududb.client.AsyncKuduClient.getMasterRegistration(AsyncKuduClient.java:1148) at org.kududb.client.AsyncKuduClient.getMasterTableLocationsPB(AsyncKuduClient.java:874) at org.kududb.client.AsyncKuduClient.locateTablet(AsyncKuduClient.java:845) at org.kududb.client.AsyncKuduClient.sendRpcToTablet(AsyncKuduClient.java:555) at org.kududb.client.AsyncKuduClient.getTableSchema(AsyncKuduClient.java:345) at org.kududb.client.AsyncKuduClient.openTable(AsyncKuduClient.java:397) at org.kududb.client.KuduClient.openTable(KuduClient.java:189) at org.kududb.mapreduce.KuduTableInputFormat.setConf(KuduTableInputFormat.java:225) at ... {noformat}
    via by Jean-Daniel Cryans,
    • java.lang.IllegalArgumentException: hostname can't be null at java.net.InetSocketAddress.checkHost(InetSocketAddress.java:149)[na:1.7.0_60] at java.net.InetSocketAddress.<init>(InetSocketAddress.java:216)[na:1.7.0_60] at redis.clients.jedis.Connection.connect(Connection.java:129)[jedis-2.1.0.jar:na] at redis.clients.jedis.BinaryClient.connect(BinaryClient.java:69)[jedis-2.1.0.jar:na] at redis.clients.jedis.Connection.sendCommand(Connection.java:79)[jedis-2.1.0.jar:na] at redis.clients.jedis.Connection.sendCommand(Connection.java:75)[jedis-2.1.0.jar:na] at redis.clients.jedis.Jedis.get(Jedis.java:66)[jedis-2.1.0.jar:na] at com.baidu.disconf.demo.service.SimpleRedisService.getKey(SimpleRedisService.java:63)[classes/:na] at com.baidu.disconf.demo.task.DisconfDemoTask.run(DisconfDemoTask.java:51)[classes/:na] at com.baidu.disconf.demo.DisconfDemoMain.main(DisconfDemoMain.java:38)[classes/:na]

    Users with the same issue

    Andreas HäberAndreas Häber
    2 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    JurajiJuraji
    2 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    2 more bugmates