Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-3666

StandaloneAccumuloClusterControl needs to invoke commands with sudo

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.7.0
    • test
    • None

    Description

      Running tests against an ambari-installed Accumulo cluster and I noticed that a few of the tests which restarted things just hung.

      After looking at the logs enough, I realized that it was because the tests are just invoking things like:

      ssh localhost "/usr/hdp/current/accumulo-client/bin/start-server.sh localhost master"

      When the tests are being run as an unprivileged user, and Accumulo as an 'accumulo' user, obviously trying to start Accumulo as the unprivileged user will fail.

      Need to add in configuration so that the command can sudo to start/stop accumulo where necessary.

      Attachments

        Activity

          People

            elserj Josh Elser
            elserj Josh Elser
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 10m
                10m