Accumulo
  1. Accumulo
  2. ACCUMULO-2792

SetGoalState should be made an admin command

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.6.0
    • Fix Version/s: None
    • Component/s: master
    • Labels:
      None

      Description

      Currently if we want to start master after calling "admin stopAll", we need to call this explicitly before starting master:

      bin/accumulo org.apache.accumulo.master.state.SetGoalState NORMAL
      

      SetGoalState was moved to another package between 1.4 and 1.6. Users with scripts would run into trouble figuring this out. It'd be nice to have this as an admin command like:

      bin/accumulo admin setMasterGoalState NORMAL
      

        Activity

        Hide
        Vikram Srivastava added a comment -

        In 1.6 only. 1.5 still has "org.apache.accumulo.server.master.state.SetGoalState" as the class.

        Show
        Vikram Srivastava added a comment - In 1.6 only. 1.5 still has "org.apache.accumulo.server.master.state.SetGoalState" as the class.
        Hide
        Sean Busbey added a comment -

        Vikram, can you check if this first change in 1.5 or in 1.6?

        Show
        Sean Busbey added a comment - Vikram, can you check if this first change in 1.5 or in 1.6?
        Vikram Srivastava created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Vikram Srivastava
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development