[
https://issues.apache.org/jira/browse/SLIDER-756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14282557#comment-14282557
]
Steve Loughran commented on SLIDER-756:
---------------------------------------
Nice to see a test there, but {{AccumuloSliderShell}} does share a lot of code
with {{SliderShell}}.
Why not extract the core {{SliderShell}} script-independent bits into a common
parent class?
> Create accumulo client script
> -----------------------------
>
> Key: SLIDER-756
> URL: https://issues.apache.org/jira/browse/SLIDER-756
> Project: Slider
> Issue Type: Improvement
> Components: app-package
> Reporter: Billie Rinaldi
> Assignee: Billie Rinaldi
> Fix For: Slider 0.70
>
> Attachments: SLIDER-756.1.patch
>
>
> The idea behind this script is to make it easier to run the accumulo script
> (particularly the accumulo shell) against an accumulo instance running on
> slider. The basic idea is to have:
> {noformat}
> accumulo-slider --app <appName> <accumuloCommand>
> {noformat}
> and a few extra commands like:
> {noformat}
> accumulo-slider --app <appName> quicklinks
> accumulo-slider --app <appName> proxies
> accumulo-slider --app <appName> --appconf <confDir> getconf
> accumulo-slider --app <appName> install <installDir>
> {noformat}
> To run accumulo commands, the script requires ACCUMULO_HOME and SLIDER_HOME
> to be set in the environment.
> For the getconf command, you can download the conf to a specified directory,
> and in subsequent commands to accumulo-slider you could use the following to
> avoid having to download the conf each time:
> {noformat}
> accumulo-slider --appconf <confDir> <command>
> {noformat}
> For the install command, you specify an install dir, and it will pull down
> the app package, untar the accumulo tarball, and configure it. (I have
> concerns that this may be a brittle process.) Once this install dir is made,
> you could use it as a normal accumulo installation, using the accumulo script
> directly instead of the accumulo-slider wrapper script. The install dir
> could also be used as an ACCUMULO_HOME for future calls to accumulo-slider
> for other app instances.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)