accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1183045 - /incubator/accumulo/branches/1.3/src/server/src/main/java/org/apache/accumulo/server/master/Master.java
Date Thu, 13 Oct 2011 19:26:35 GMT
Author: ecn
Date: Thu Oct 13 19:26:35 2011
New Revision: 1183045

URL: http://svn.apache.org/viewvc?rev=1183045&view=rev
Log:
ACCUMULO-34 fixes upgrade code for 1.2 -> 1.3 upgrades

Modified:
    incubator/accumulo/branches/1.3/src/server/src/main/java/org/apache/accumulo/server/master/Master.java

Modified: incubator/accumulo/branches/1.3/src/server/src/main/java/org/apache/accumulo/server/master/Master.java
URL: http://svn.apache.org/viewvc/incubator/accumulo/branches/1.3/src/server/src/main/java/org/apache/accumulo/server/master/Master.java?rev=1183045&r1=1183044&r2=1183045&view=diff
==============================================================================
--- incubator/accumulo/branches/1.3/src/server/src/main/java/org/apache/accumulo/server/master/Master.java
(original)
+++ incubator/accumulo/branches/1.3/src/server/src/main/java/org/apache/accumulo/server/master/Master.java
Thu Oct 13 19:26:35 2011
@@ -250,7 +250,7 @@ public class Master implements Listener,
                 zset(Property.TABLE_INDEXCACHE_ENABLED.getKey(), "true");
                 zset(Property.TABLE_BLOCKCACHE_ENABLED.getKey(), "true");
                 for (String id : Tables.getIdToNameMap(instance).keySet())
-                    ZooUtil.putPersistentData(ZooUtil.getRoot(instance) + Constants.ZTABLE_CONF
+ "/" + id + "/state", "ONLINE".getBytes(), NodeExistsPolicy.OVERWRITE);
+                    ZooUtil.putPersistentData(ZooUtil.getRoot(instance) + Constants.ZTABLES
+ "/" + id + "/state", "ONLINE".getBytes(), NodeExistsPolicy.OVERWRITE);
             } catch (Exception ex) {
                 log.fatal("Error performing upgrade", ex);
                 System.exit(1);



Mime
View raw message