You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2014/01/21 17:51:19 UTC

[jira] [Comment Edited] (ACCUMULO-2231) remove 'accumulo init'

    [ https://issues.apache.org/jira/browse/ACCUMULO-2231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13877603#comment-13877603 ] 

Josh Elser edited comment on ACCUMULO-2231 at 1/21/14 4:49 PM:
---------------------------------------------------------------

bq. Need a more concrete description of what would replace it.

Nothing. :)

The notion is that running this additional command before starting Accumulo is a bother, and Accumulo should know on its own when it needs to bootstrap its installation. Granted, this is much more difficult than it is for HBase given our notion of users (and a super user).

# Root password (depending on setup, but for yes for most)
# Instance Name

I could see both of these lifted into an xml conf file, with reasonable defaults for when those are not present: "secret" for the password (since that's still defaulted to for the tracer) and something like {{$user-shorthash}} for the instance name (could just take the first 8 chars of the instance ID? Lots of different options).

>From this, when Accumulo is started, and "initialization" hasn't yet been performed. Do so, and then start things normally. 


was (Author: elserj):
bq. Need a more concrete description of what would replace it.

Nothing. :)

The notion is that running this additional command before starting Accumulo is a bother, and Accumulo should know on its own when it needs to bootstrap its installation. Granted, this is much more difficult than it is for HBase given our notion of users (and a super user).

# Root password (depending on setup, but for yes for most)
# Instance Name

I could see both of these lifted into an xml conf file, with reasonable defaults for when those are not present: "secret" for the password (since that's still defaulted to for the tracer) and something like ${user}-shorthash for the instance name (could just take the first 8 chars of the instance ID? Lots of different options).

>From this, when Accumulo is started, and "initialization" hasn't yet been performed. Do so, and then start things normally. 

> remove 'accumulo init'
> ----------------------
>
>                 Key: ACCUMULO-2231
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2231
>             Project: Accumulo
>          Issue Type: Bug
>          Components: master
>            Reporter: Eric Newton
>            Priority: Minor
>
> Had an offline discussion with [~elserj].  He mentioned that the need to run 'accumulo init' annoys new users.  Think about removing this step and using some obvious defaults (root/secret).  Might make sense to fold this issue into an automatic configuration tool.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)