Details
Description
If a client attempts to set locality groups via the API and the client does not have core-site.xml on its classpath, the following exception is thrown after the groups are actually successfully set.
Exception in thread "main" org.apache.accumulo.core.client.impl.HdfsZooInstance$AccumuloNotInitializedException: Accumulo not initialized, there is no instance id at /accumulo/instance_id
The exception is confusing because:
1) the group(s) are actually created successfully
2) the exception misleads the user to believe there is something wrong with Accumulo's configuration where the problem is that the client isn't actually connecting to HDFS properly because it is missing core-site.xml on its classpath.
Attachments
Issue Links
- duplicates
-
ACCUMULO-240 client code for TableConfiguration has problems
- Resolved