accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1410023 - /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/monitor/Monitor.java
Date Thu, 15 Nov 2012 21:26:47 GMT
Author: ecn
Date: Thu Nov 15 21:26:47 2012
New Revision: 1410023

URL: http://svn.apache.org/viewvc?rev=1410023&view=rev
Log:
ACCUMULO-856 do not decode the fetched data if the master is down

Modified:
    accumulo/trunk/server/src/main/java/org/apache/accumulo/server/monitor/Monitor.java

Modified: accumulo/trunk/server/src/main/java/org/apache/accumulo/server/monitor/Monitor.java
URL: http://svn.apache.org/viewvc/accumulo/trunk/server/src/main/java/org/apache/accumulo/server/monitor/Monitor.java?rev=1410023&r1=1410022&r2=1410023&view=diff
==============================================================================
--- accumulo/trunk/server/src/main/java/org/apache/accumulo/server/monitor/Monitor.java (original)
+++ accumulo/trunk/server/src/main/java/org/apache/accumulo/server/monitor/Monitor.java Thu
Nov 15 21:26:47 2012
@@ -294,11 +294,11 @@ public class Monitor {
           client = MasterClient.getConnection(HdfsZooInstance.getInstance());
           if (client != null) {
             mmi = client.getMasterStats(Tracer.traceInfo(), SecurityConstants.getSystemCredentials());
+            retry = false;
           } else {
             mmi = null;
           }
           Monitor.gcStatus = fetchGcStatus();
-          retry = false;
         } catch (Exception e) {
           mmi = null;
           log.info("Error fetching stats: " + e);



Mime
View raw message