java.io.IOException: Timed out waiting 20000ms for a quorum of nodes to respond.

hadoop-user | Gagan Brahmi | 11 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

    Re: NameNode Crashing with "flush failed for required journal" exception

    hadoop-user | 11 months ago | Gagan Brahmi
    java.io.IOException: Timed out waiting 20000ms for a quorum of nodes to respond.
  2. 0

    Writing to HDFS from Java, getting "could only be replicated to 0 nodes instead of minReplication"

    Stack Overflow | 4 years ago | David Harris
    java.io.IOException: File /testing/file01.txt could only be replicated to 0 nodes instead of minReplication (=1). There are 1 datanode(s) running and 1 node(s) are excluded in this operation.
  3. 0

    HDFS Under replicated blocks

    Stack Overflow | 3 years ago | SuvP
    java.io.IOException: file /tmp/.cloudera_health_monitoring_canary_files/.canary_file_2013_10_21-15_33_53 on client 111.222.333.444 Requested replication 3 exceeds maximum 1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    EMR Cluster terminates when trying to start a cluster with 2 nodes

    Stack Overflow | 2 years ago | Pablo Natal
    java.io.IOException: File /mnt/var/em/verify-hdfs-access-1147553264033 could only be replicated to 0 nodes instead of minReplication (=1). There are 0 datanode(s) running and no node(s) are excluded in this operation.
  6. 0

    SSH Tunnel to access EC2 Hadoop Cluster

    Stack Overflow | 4 years ago | Dhams
    java.io.IOException: File /user/ubuntu/features.json could only be replicated to 0 nodes instead of minReplication (=1). There are 3 datanode(s) running and 3 node(s) are excluded in this operation.

    2 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.io.IOException

      Timed out waiting 20000ms for a quorum of nodes to respond.

      at org.apache.hadoop.hdfs.qjournal.client.AsyncLoggerSet.waitForWriteQuorum()
    2. Apache Hadoop HDFS
      ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod
      1. org.apache.hadoop.hdfs.qjournal.client.AsyncLoggerSet.waitForWriteQuorum(AsyncLoggerSet.java:137)
      2. org.apache.hadoop.hdfs.qjournal.client.QuorumOutputStream.flushAndSync(QuorumOutputStream.java:107)
      3. org.apache.hadoop.hdfs.server.namenode.EditLogOutputStream.flush(EditLogOutputStream.java:113)
      4. org.apache.hadoop.hdfs.server.namenode.EditLogOutputStream.flush(EditLogOutputStream.java:107)
      5. org.apache.hadoop.hdfs.server.namenode.JournalSet$JournalSetOutputStream$8.apply(JournalSet.java:533)
      6. org.apache.hadoop.hdfs.server.namenode.JournalSet.mapJournalsAndReportErrors(JournalSet.java:393)
      7. org.apache.hadoop.hdfs.server.namenode.JournalSet.access$100(JournalSet.java:57)
      8. org.apache.hadoop.hdfs.server.namenode.JournalSet$JournalSetOutputStream.flush(JournalSet.java:529)
      9. org.apache.hadoop.hdfs.server.namenode.FSEditLog.logSync(FSEditLog.java:647)
      10. org.apache.hadoop.hdfs.server.namenode.FSNamesystem.completeFile(FSNamesystem.java:3492)
      11. org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.complete(NameNodeRpcServer.java:787)
      12. org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.complete(ClientNamenodeProtocolServerSideTranslatorPB.java:536)
      13. org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)
      13 frames
    3. Hadoop
      Server$Handler$1.run
      1. org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:616)
      2. org.apache.hadoop.ipc.RPC$Server.call(RPC.java:969)
      3. org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2137)
      4. org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2133)
      4 frames
    4. Java RT
      Subject.doAs
      1. java.security.AccessController.doPrivileged(Native Method)
      2. javax.security.auth.Subject.doAs(Subject.java:415)
      2 frames
    5. Hadoop
      Server$Handler.run
      1. org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657)
      2. org.apache.hadoop.ipc.Server$Handler.run(Server.java:2131)
      2 frames