ddanielr opened a new issue, #5234:
URL: https://github.com/apache/accumulo/issues/5234

   **Describe the bug**
   When using the `include` or `includeOptional` directives in 
accumulo.properties, accumulo-cluster and starting accumulo services directly 
fail with the following error: 
   ```
   Exception in thread "main" java.lang.IllegalStateException: Failed to look 
up property general.classpaths in 
/workspace/fluo-uno/install/accumulo-2.1.3/conf/accumulo.properties
        at 
org.apache.accumulo.start.classloader.AccumuloClassLoader.getAccumuloProperty(AccumuloClassLoader.java:103)
        at 
org.apache.accumulo.start.classloader.AccumuloClassLoader.findAccumuloURLs(AccumuloClassLoader.java:179)
        at 
org.apache.accumulo.start.classloader.AccumuloClassLoader.getClassLoader(AccumuloClassLoader.java:196)
        at org.apache.accumulo.start.Main.getVFSClassLoader(Main.java:112)
        at org.apache.accumulo.start.Main.getClassLoader(Main.java:97)
        at org.apache.accumulo.start.Main.main(Main.java:47)
   Caused by: org.apache.commons.configuration2.ex.ConfigurationException: Load 
operation not properly initialized! Do not call read(InputStream) directly, but 
use a FileHandler to load a configuration.
        at 
org.apache.commons.configuration2.PropertiesConfiguration.loadIncludeFile(PropertiesConfiguration.java:1395)
        at 
org.apache.commons.configuration2.PropertiesConfiguration.propertyLoaded(PropertiesConfiguration.java:1479)
        at 
org.apache.commons.configuration2.PropertiesConfigurationLayout.load(PropertiesConfigurationLayout.java:444)
        at 
org.apache.commons.configuration2.PropertiesConfiguration.read(PropertiesConfiguration.java:1500)
        at 
org.apache.accumulo.start.classloader.AccumuloClassLoader.getAccumuloProperty(AccumuloClassLoader.java:94)
        ... 5 more
   Failed to parse /workspace/fluo-uno/install/accumulo-2.1.3/conf/cluster.yaml
   ```
   
   **Versions (OS, Maven, Java, and others, as appropriate):**
    - Affected version(s) of this project: [e.g. 1.10.0] 2.1.3
   
   **To Reproduce**
   Steps to reproduce the behavior (or a link to an example repository that 
reproduces the problem):
   1. Add a `include` or `includeOptional` directive in accumulo.properties
   2. Attempt to start an accumulo cluster via `./accumulo-cluster start 
--local` 
   3. Attempt to start a service directly `./accumulo shell`
   4. See error
   
   **Expected behavior**
   The property file should load without issues.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to