Description
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 to hdfs://localhost:8020/accumulo173rc1
- 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.
Attachments
Issue Links
- is broken by
-
ACCUMULO-4505 Shell still reads accumulo-site.xml when using Zookeeper CLI options
- Resolved
- is related to
-
ACCUMULO-4640 Accumulo shell is expecting instance.volumes in client.conf instead of accumulo-site.xml
- Resolved
- links to