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

Alter config.sh to optionally just verify environment instead of making changes

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4.4, 1.5.0
    • Fix Version/s: 1.4.5, 1.5.1, 1.6.0
    • Component/s: scripts
    • Labels:
      None

      Description

      Right now, the accumulo scripts presume that invocation always happens on a node in the cluster. This makes integrating with external cluster management software more difficult.

      The primary issue is that bin/config.sh expects to find a full cluster configuration directory at all times. In the case of a configuration directory that doesn't specify any hosts it takes steps to set up a standalone cluster. That effort is unneeded and undesirable if we're just e.g. trying to go through init from a non-participant host.

      Add an optional environment variable to have config.sh just verify the invariants needed for bin/accumulo to behave correctly. When present, don't make local directories or write to files.

        Attachments

        1. ACCUMULO-1785.2.patch.txt
          8 kB
          Sean Busbey
        2. ACCUMULO-1785.1.patch.txt
          8 kB
          Sean Busbey

          Issue Links

            Activity

              People

              • Assignee:
                busbey Sean Busbey
                Reporter:
                busbey Sean Busbey
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: