You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Christopher Tubbs (JIRA)" <ji...@apache.org> on 2017/03/07 19:37:38 UTC

[jira] [Comment Edited] (ACCUMULO-4600) Shell does not fall back to accumulo-site.xml when on classpath

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

Christopher Tubbs edited comment on ACCUMULO-4600 at 3/7/17 7:36 PM:
---------------------------------------------------------------------

Ugh. I really hate this special shell behavior. We don't expect this of any other client.


was (Author: ctubbsii):
Ugh. I really hate this special shell behavior.

> Shell does not fall back to accumulo-site.xml when on classpath
> ---------------------------------------------------------------
>
>                 Key: ACCUMULO-4600
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4600
>             Project: Accumulo
>          Issue Type: Bug
>          Components: shell
>    Affects Versions: 1.7.3
>            Reporter: Josh Elser
>            Priority: Critical
>
> When inspecting 1.7.3-rc1 for the VOTE, I did the following steps:
> * Unpack bin-tarball
> * Copy 3gb native example confs
> * Set {{instance.volumes}} in accumulo-site.xml
> * {{export ACCUMULO_HOME="$(pwd)"}}
> * {{./bin/accumulo init}}
> * {{./bin/start-all.sh}}
> * {{./bin/accumulo shell -u root}}
> The shell failed to connect stating that no tservers were running. By turning on the debug option to the shell, I could see that the wrong HDFS directory was being used to find the Accumulo instance ID, {{/accumulo}} instead of {{/accumulo173rc1}}.
> This appears to be because of {{ClientContext#convertClientConfig(Configuration)}} and  {{Shell#getZooInstance(String, String, ClientConfiguration}}. The client configuration is empty, therefore, all values end up being pulled from the {{DefaultConfiguration}} instance instead of the accumulo-site.xml which is on the classpath.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)