[
https://issues.apache.org/jira/browse/SLIDER-756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Billie Rinaldi updated SLIDER-756:
----------------------------------
Description:
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 make an accumulo client installation with the
"slider client --install" command. This installation will be fully configured
and will have a normally functioning accumulo script, as well as an
accumulo-slider script. The accumulo-slider script will perform the following
commands:
{noformat}
accumulo-slider --app <appName> quicklinks
accumulo-slider --app <appName> proxies
accumulo-slider --app <appName> --appconf <confDir> getconf
{noformat}
No additional environment variables should need to be set to run these commands.
was:
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.
> 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 make an accumulo client installation with the
> "slider client --install" command. This installation will be fully
> configured and will have a normally functioning accumulo script, as well as
> an accumulo-slider script. The accumulo-slider script will perform the
> following commands:
> {noformat}
> accumulo-slider --app <appName> quicklinks
> accumulo-slider --app <appName> proxies
> accumulo-slider --app <appName> --appconf <confDir> getconf
> {noformat}
> No additional environment variables should need to be set to run these
> commands.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)