Github user joshelser commented on a diff in the pull request:

    https://github.com/apache/accumulo/pull/228#discussion_r104998228
  
    --- Diff: 
minicluster/src/main/java/org/apache/accumulo/cluster/standalone/StandaloneClusterControl.java
 ---
    @@ -170,9 +162,8 @@ public void adminStopAll() throws IOException {
       public void setGoalState(String goalState) throws IOException {
         requireNonNull(goalState, "Goal state must not be null");
         checkArgument(MasterGoalState.valueOf(goalState) != null, "Unknown 
goal state: " + goalState);
    -    File confDir = getConfDir();
    -    String master = getHosts(new File(confDir, "masters")).get(0);
    -    String[] cmd = new String[] {SUDO_CMD, "-u", user, ACCUMULO_CONF_DIR + 
serverAccumuloConfDir, accumuloPath, SetGoalState.class.getName(), goalState};
    +    String master = getHosts(MASTER_HOSTS_FILE).get(0);
    +    String[] cmd = new String[] {SUDO_CMD, "-u", user, accumuloPath, 
SetGoalState.class.getName(), goalState};
    --- End diff --
    
    Again, same thing as the above with the `stopAll`. Pretty sure this 
requires the correct `instance.secret`.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to