java.net.SocketException: Invalid argument

Server Fault | Dolan Antenucci | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    HBase issue with *some* regionservers connecting

    Server Fault | 3 years ago | Dolan Antenucci
    java.net.SocketException: Invalid argument
  2. 0

    RegionServer unable to connect to master

    Google Groups | 3 years ago | Guang Gao
    java.net.SocketException: Invalid argument
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    HRegionServer shows "error telling master we are up". Showing socket exception: Invalid argument

    Stack Overflow | 1 month ago | Pramod
    com.google.protobuf.ServiceException: java.net.SocketException: Invalid argument
  5. 0

    java.io.EOFException in HDFS 0.22.0

    Stack Overflow | 5 years ago | Debajyoti Roy
    java.net.SocketException: No buffer space available (maximum connections reached?): connect

  1. RoiOtero 22495 times, last 5 months ago
  2. nasimk 7 times, last 11 months ago
  3. sriharshakiran 4 times, last 12 months ago
8 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.SocketException

    Invalid argument

    at sun.nio.ch.Net.connect()
  2. Java RT
    SocketChannelImpl.connect
    1. sun.nio.ch.Net.connect(Native Method)
    2. sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:534)
    2 frames
  3. Hadoop
    NetUtils.connect
    1. org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:193)
    2. org.apache.hadoop.net.NetUtils.connect(NetUtils.java:528)
    3. org.apache.hadoop.net.NetUtils.connect(NetUtils.java:492)
    3 frames
  4. HBase - Client
    WritableRpcEngine$Invoker.invoke
    1. org.apache.hadoop.hbase.ipc.HBaseClient$Connection.setupConnection(HBaseClient.java:392)
    2. org.apache.hadoop.hbase.ipc.HBaseClient$Connection.setupIOstreams(HBaseClient.java:438)
    3. org.apache.hadoop.hbase.ipc.HBaseClient.getConnection(HBaseClient.java:1141)
    4. org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:988)
    5. org.apache.hadoop.hbase.ipc.WritableRpcEngine$Invoker.invoke(WritableRpcEngine.java:87)
    5 frames
  5. com.sun.proxy
    $Proxy10.getProtocolVersion
    1. com.sun.proxy.$Proxy10.getProtocolVersion(Unknown Source)
    1 frame
  6. HBase - Client
    HRegionServer.run
    1. org.apache.hadoop.hbase.ipc.WritableRpcEngine.getProxy(WritableRpcEngine.java:141)
    2. org.apache.hadoop.hbase.ipc.HBaseRPC.waitForProxy(HBaseRPC.java:208)
    3. org.apache.hadoop.hbase.regionserver.HRegionServer.getMaster(HRegionServer.java:2040)
    4. org.apache.hadoop.hbase.regionserver.HRegionServer.reportForDuty(HRegionServer.java:2086)
    5. org.apache.hadoop.hbase.regionserver.HRegionServer.run(HRegionServer.java:748)
    5 frames
  7. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:701)
    1 frame