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 2015/02/27 21:10:04 UTC

[jira] [Commented] (ACCUMULO-3465) ClientOpts doesn't use zk and instance properties from client config file

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

Josh Elser commented on ACCUMULO-3465:
--------------------------------------

This is a really obnoxious issue. If you have a 644 /etc/accumulo/conf/client.conf with connection information and a 600 /etc/accumulo/conf/accumulo-site.xml (how we recommend config files are restricted), you can't use the shell at all unless specifying the zookeeper hosts on the command line as options.

{panel:title=All fail}
{noformat}
$ accumulo shell --config-file=/etc/accumulo/conf/client.conf
$ accumulo shell
{noformat}
{panel}

{panel:title=Works}
{noformat}
$ accumulo shell -zh host:2181 -u root
{noformat}
{panel}

> ClientOpts doesn't use zk and instance properties from client config file
> -------------------------------------------------------------------------
>
>                 Key: ACCUMULO-3465
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3465
>             Project: Accumulo
>          Issue Type: Bug
>    Affects Versions: 1.6.1, 1.6.2
>            Reporter: Billie Rinaldi
>            Assignee: Josh Elser
>            Priority: Blocker
>             Fix For: 1.7.0, 1.6.3
>
>
> ClientOpts will use the zookeepers and instance name from a site file if specified, but if a client conf is specified it will ignore the zookeepers and instance specified therein and try to overwrite them with the command line parameters.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)