accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vi...@apache.org
Subject svn commit: r1457818 - /accumulo/branches/1.5/server/src/main/java/org/apache/accumulo/server/util/Initialize.java
Date Mon, 18 Mar 2013 15:38:22 GMT
Author: vines
Date: Mon Mar 18 15:38:21 2013
New Revision: 1457818

URL: http://svn.apache.org/r1457818
Log:
ACCUMULO-1184 - simple fix for reset security bug


Modified:
    accumulo/branches/1.5/server/src/main/java/org/apache/accumulo/server/util/Initialize.java

Modified: accumulo/branches/1.5/server/src/main/java/org/apache/accumulo/server/util/Initialize.java
URL: http://svn.apache.org/viewvc/accumulo/branches/1.5/server/src/main/java/org/apache/accumulo/server/util/Initialize.java?rev=1457818&r1=1457817&r2=1457818&view=diff
==============================================================================
--- accumulo/branches/1.5/server/src/main/java/org/apache/accumulo/server/util/Initialize.java
(original)
+++ accumulo/branches/1.5/server/src/main/java/org/apache/accumulo/server/util/Initialize.java
Mon Mar 18 15:38:21 2013
@@ -492,16 +492,14 @@ public class Initialize {
   public static void main(String[] args) {
     Opts opts = new Opts();
     opts.parseArgs(Initialize.class.getName(), args);
-    
-    boolean justSecurity = false;
-    
+        
     try {
       SecurityUtil.serverLogin();
       Configuration conf = CachedConfiguration.getInstance();
       
       FileSystem fs = FileUtil.getFileSystem(conf, ServerConfiguration.getSiteConfiguration());
       
-      if (justSecurity) {
+      if (opts.resetSecurity) {
         if (isInitialized(fs)) {
           opts.rootuser = getRootUser(opts);
           opts.rootpass = getRootPassword(opts);



Mime
View raw message