Accumulo
  1. Accumulo
  2. ACCUMULO-744

Allow instance-name and password as parameters to init.

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.0
    • Component/s: None
    • Labels:
      None

      Description

      The current practice is to pass the instance name and password as a here document. For example,

      /usr/local/accumulo/bin/accumulo init --clear-instance-name <<EOF
      instance
      secret
      secret
      EOF
      

        Activity

        Hide
        Eric Newton added a comment -
        Show
        Eric Newton added a comment - See ACCUMULO-745
        Hide
        David Medinets added a comment -

        I agree. I was following the principle of least change. Please create a separate ticket to implement using the Apache CLI library.

        Show
        David Medinets added a comment - I agree. I was following the principle of least change. Please create a separate ticket to implement using the Apache CLI library.
        Hide
        Josh Elser added a comment -

        Having uniform options between Accumulo shell and bin/accumulo commands would also create a more polished feel.

        Show
        Josh Elser added a comment - Having uniform options between Accumulo shell and bin/accumulo commands would also create a more polished feel.
        Hide
        Eric Newton added a comment -

        I know you are only following existing practice in that file, but perhaps it's time for Initialize to use a real argument processing package.

        Show
        Eric Newton added a comment - I know you are only following existing practice in that file, but perhaps it's time for Initialize to use a real argument processing package.
        Hide
        David Medinets added a comment -

        SVN#1378380. Added --instance-name and --password to init.

        Show
        David Medinets added a comment - SVN#1378380. Added --instance-name and --password to init.

          People

          • Assignee:
            David Medinets
            Reporter:
            David Medinets
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development