title: HA cluster with one active name node low performance
body: <p>iam using hadoop apache 2.7.1 with ha cluster</p>
  
  <p>when i shut down active name node the stand by name  node becomes active 
  and that is the normal scenario </p>
  
  <p>but the problem that the performance of the cluster  with one  active namenode decreased  (the operations becomes slower)</p>
  
  <p>and i don't think that ha hadoop cluster  performance should be affected when one name node is active only </p>
  
  <p>i realized that current active namenode log  shows the operation of  trying to connect to previous active shutdown name node</p>
  
  <pre><code>Retrying connect to server: mn2/192.168.25.22:8485. Already tried 0 time(s); maxRetries=5
  </code></pre>
  
  <p>i tried to reduce the following properties in core-site </p>
  
  <pre><code>&lt;property&gt;
                  &lt;name&gt;ipc.client.connect.max.retries.on.timeouts&lt;/name&gt;
                  &lt;value&gt;5&lt;/value&gt;
          &lt;/property&gt;
          &lt;property&gt;
                  &lt;name&gt;ipc.client.connect.timeout&lt;/name&gt;
                  &lt;value&gt;1000&lt;/value&gt;
          &lt;/property&gt;
  </code></pre>
  
  <p>but they have no effect what property should i edit in order to let the current active name node gives up connecting to shutdown namenode </p>
  
  <p>because when i start up previous name node again with no services started yet
  the current active name node stops trying to connect to previous active name node 
  and the performance of the cluster increased again as there are two name nodes 
  even though we have one active name node only  </p>