title: Hadoop HA Namenode goes down with the Error: flush failed for required journal (JournalAndStream(mgr=QJM to [< ip >:8485, < ip >:8485, < ip >:8485]))
body: <p>Hadoop Namenode goes down almost everyday once.</p>
  
  <pre><code>FATAL namenode.FSEditLog (JournalSet.java:mapJournalsAndReportErrors(398)) - 
  
  **Error: flush failed for required journal** (JournalAndStream(mgr=QJM to [&lt; ip &gt;:8485, &lt; ip &gt;:8485, &lt; ip &gt;:8485], stream=QuorumOutputStream starting at txid &lt;&gt;))
  java.io.IOException: Timed out waiting 20000ms for a quorum of nodes to respond.
      at org.apache.hadoop.hdfs.qjournal.client.AsyncLoggerSet.waitForWriteQuorum(AsyncLoggerSet.java:137)
      at org.apache.hadoop.hdfs.qjournal.client.QuorumOutputStream.flushAndSync(QuorumOutputStream.java:107)
      at org.apache.hadoop.hdfs.server.namenode.EditLogOutputStream.flush(EditLogOutputStream.java:113)
      at 
  </code></pre>
  
  <p>Can someone suggest what are the things that I need to look into for resolving this issue?</p>
  
  <p>I am using VMs for the journal nodes and master nodes. Does it cause any issue? </p>