-Re: Is there an option to disable the init command?
Keith Turner 2013-05-06, 22:07
On Mon, May 6, 2013 at 5:36 PM, David Medinets <[EMAIL PROTECTED]>wrote:
> Unless you're dumb like and put --clear-instance-name into a script.
This option does not delete any data in hdfs or zookeeper. If the
directory exist in hdfs, then the init command should still fail. If you
are using a new dir in hdfs and an existing instance name, then that option
will change a pointer in zookeeper, but it will not delete anything in
zookeeper. The all the data related in instance is stored under a UUID in
zookeeper. There is a mapping in zookeeper from instance name to instance
id. The clear instance name option causes this mapping to be set even if
the name exist. You can go into zookeeper and point the name back to the
> On Mon, May 6, 2013 at 5:35 PM, Christopher <[EMAIL PROTECTED]> wrote:
> > Init will fail if Accumulo has already been initialized.
> > --
> > Christopher L Tubbs II
> > http://gravatar.com/ctubbsii
> > On Mon, May 6, 2013 at 5:22 PM, David Medinets <[EMAIL PROTECTED]
> > wrote:
> > > Today I thought about how bad it would be to accidentally initialize
> > > Accumulo in production. Is there a way to disable the init command? Or
> > > it as simple as not giving that privilege to a user?