java.net.SocketTimeoutException: timeout

bitfire.at | 8 months 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

    SocketTimeout while running mapreduce job

    Stack Overflow | 2 years ago | prashant1988
    java.net.SocketTimeoutException: 480000 millis timeout while waiting for channel to be ready for write. ch : java.nio.channels.SocketChannel[connected local=/D1:2010 remote=/ D1:2011] at org.apache.hadoop.net.SocketIOWithTimeout.waitForIO(SocketIOWithTimeout.java:246) at org.apache.hadoop.net.SocketOutputStream.waitForWritable(SocketOutputStream.java:159) at org.apache.hadoop.net.SocketOutputStream.transferToFully(SocketOutputStream.java:198) at org.apache.hadoop.hdfs.server.datanode.BlockSender.sendChunks(BlockSender.java:392) at org.apache.hadoop.hdfs.server.datanode.BlockSender.sendBlock(BlockSender.java:490) at org.apache.hadoop.hdfs.server.datanode.DataXceiver.readBlock(DataXceiver.java:202) at org.apache.hadoop.hdfs.server.datanode.DataXceiver.run(DataXceiver.java:104)
  2. 0

    Re: could only be replicated to 0 nodes instead of minReplication - Ivan Tretyakov - org.apache.hadoop.hdfs-user - MarkMail

    markmail.org | 2 years ago
    java.net.SocketTimeoutException: 480000 millis timeout while waiting for channel to be ready for write. ch : java.nio.channels.SocketChannel[connected local=/192.168.1.112:50010remote=/ 192.168.1.112:35991] at org.apache.hadoop.net.SocketIOWithTimeout.waitForIO(SocketIOWithTimeout.java:247) at org.apache.hadoop.net.SocketOutputStream.waitForWritable(SocketOutputStream.java:166) at org.apache.hadoop.net.SocketOutputStream.transferToFully(SocketOutputStream.java:214) at org.apache.hadoop.hdfs.server.datanode.BlockSender.sendPacket(BlockSender.java:492) at org.apache.hadoop.hdfs.server.datanode.BlockSender.sendBlock(BlockSender.java:655) at org.apache.hadoop.hdfs.server.datanode.DataXceiver.readBlock(DataXceiver.java:280) at org.apache.hadoop.hdfs.protocol.datatransfer.Receiver.opReadBlock(Receiver.java:88) at org.apache.hadoop.hdfs.protocol.datatransfer.Receiver.processOp(Receiver.java:63) at org.apache.hadoop.hdfs.server.datanode.DataXceiver.run(DataXceiver.java:219)
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.net.SocketTimeoutException

      timeout

      at okhttp3.internal.framed.FramedStream$StreamTimeout.newTimeoutException()
    2. okhttp3.internal.framed
      FramedStream$FramedDataSink.close
      1. okhttp3.internal.framed.FramedStream$StreamTimeout.newTimeoutException(FramedStream.java:600)
      2. okhttp3.internal.framed.FramedStream$StreamTimeout.exitAndThrowIfTimedOut(FramedStream.java:608)
      3. okhttp3.internal.framed.FramedStream$FramedDataSink.emitDataFrame(FramedStream.java:505)
      4. okhttp3.internal.framed.FramedStream$FramedDataSink.close(FramedStream.java:545)
      4 frames
    3. Okio
      RealBufferedSink.close
      1. okio.RealBufferedSink.close(RealBufferedSink.java:241)
      1 frame
    4. okhttp3.internal.http
      HttpEngine$NetworkInterceptorChain.proceed
      1. okhttp3.internal.http.HttpEngine$NetworkInterceptorChain.proceed(HttpEngine.java:705)
      1 frame
    5. at.bitfire.davdroid
      HttpClient$PreemptiveAuthenticationInterceptor.intercept
      1. at.bitfire.davdroid.HttpClient$PreemptiveAuthenticationInterceptor.intercept(HttpClient.java:153)
      1 frame
    6. okhttp3.internal.http
      HttpEngine$NetworkInterceptorChain.proceed
      1. okhttp3.internal.http.HttpEngine$NetworkInterceptorChain.proceed(HttpEngine.java:681)
      1 frame
    7. at.bitfire.davdroid
      HttpClient$UserAgentInterceptor.intercept
      1. at.bitfire.davdroid.HttpClient$UserAgentInterceptor.intercept(HttpClient.java:139)
      1 frame
    8. okhttp3.internal.http
      HttpEngine.readResponse
      1. okhttp3.internal.http.HttpEngine$NetworkInterceptorChain.proceed(HttpEngine.java:681)
      2. okhttp3.internal.http.HttpEngine.readResponse(HttpEngine.java:563)
      2 frames
    9. okhttp3
      RealCall$ApplicationInterceptorChain.proceed
      1. okhttp3.RealCall.getResponse(RealCall.java:241)
      2. okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:198)
      2 frames
    10. okhttp3.logging
      HttpLoggingInterceptor.intercept
      1. okhttp3.logging.HttpLoggingInterceptor.intercept(HttpLoggingInterceptor.java:203)
      1 frame
    11. okhttp3
      RealCall.execute
      1. okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:187)
      2. okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:160)
      3. okhttp3.RealCall.execute(RealCall.java:57)
      3 frames
    12. at.bitfire.dav4android
      DavResource.propfind
      1. at.bitfire.dav4android.DavResource.propfind(DavResource.java:268)
      1 frame
    13. at.bitfire.davdroid
      DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground
      1. at.bitfire.davdroid.ui.setup.DavResourceFinder.checkUserGivenURL(DavResourceFinder.java:156)
      2. at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.java:116)
      3. at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.java:87)
      4. at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.java:143)
      5. at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.java:126)
      5 frames
    14. Android Support v4
      ModernAsyncTask$2.call
      1. android.support.v4.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:296)
      2. android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:54)
      3. android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:42)
      4. android.support.v4.content.ModernAsyncTask$2.call(ModernAsyncTask.java:128)
      4 frames
    15. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
      4. java.lang.Thread.run(Thread.java:818)
      4 frames