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

Simplify Accumulo scripts and config files

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: scripts, start
    • Labels:

      Description

      Currently, there are too many Accumulo scripts and config files in 'bin' and 'conf' respectively. It is confusing to know which scripts or configuration file should be used. Some scripts are just used by other scripts. Some configuration file are only needed in rare situations. Scripts also lack usage/help docs.

      Below is general plan to fix this:

      1. Reduce the number of scripts in 'bin' directory
        • Move implementation/uncommon scripts to 'scripts' directory
        • Scripts in `bin` should be simple wrapper scripts that either call Java or implementation script in `scripts' directory
      2. Scripts in 'bin' should have good help/usage information.
      3. Only generate one set of example configuration in 'conf/examples'. User can use bootstrap-config to generate config for different environments.
      4. Change bootstrap-config to only generate minimal config necessary.
      5. For uncommon configuration files (like logging), fall back to example file in 'conf/examples' if file not present in 'conf'

        Issue Links

          Activity

          Hide
          mikewalch Mike Walch added a comment -

          I have been experimenting for a few days and have gone through a few iterations. I made a GitHub pull request with some code that is not ready to be merged (more work is needed) but is ready for feedback. Let me know what you think. I tried to focus on script API and did a lot of wrapping of the current scripts. After the API has been settled, I would like simplify these scripts.

          Show
          mikewalch Mike Walch added a comment - I have been experimenting for a few days and have gone through a few iterations. I made a GitHub pull request with some code that is not ready to be merged (more work is needed) but is ready for feedback. Let me know what you think. I tried to focus on script API and did a lot of wrapping of the current scripts. After the API has been settled, I would like simplify these scripts.

            People

            • Assignee:
              mikewalch Mike Walch
              Reporter:
              mikewalch Mike Walch
            • Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 12h 20m
                12h 20m

                  Development