accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Miller (JIRA)" <>
Subject [jira] [Created] (ACCUMULO-4374) ChangeSecret tool can't accept password input
Date Fri, 15 Jul 2016 13:34:20 GMT
Michael Miller created ACCUMULO-4374:

             Summary: ChangeSecret tool can't accept password input
                 Key: ACCUMULO-4374
             Project: Accumulo
          Issue Type: Bug
          Components: shell
            Reporter: Michael Miller
            Assignee: Michael Miller

Changes to have broken the ChangeSecret tool. When running o.a.a.server.util.ChangeSecret
using the bin/accumulo script, another thread running the Shell will also have an open input
stream interfering with the input of the password. This is due to the ServiceLoader creating
an instance of the Shell using the no arg constructor, which creates an instance of the jline

There are two options to fix this bug:

  1. Make the no-arg constructor in the Shell do less work. (this should be
easy, because it's only called by Shell.main, and main can just pass the
parameters that the no-arg constructor was assuming)
  2. Move the KeywordExecutable stuffs for Shell into a minimal
launcher/factory class for Shell; see **/ for another
case where I had to do this.

This message was sent by Atlassian JIRA

View raw message