dlmarion opened a new issue, #5033: URL: https://github.com/apache/accumulo/issues/5033
**Describe the bug** When configuring groups of servers in cluster.yaml, using a `-` in the group name causes an error to occur. The cluster.yaml file is parsed by java code, which creates a file containing environment variables. That file is then sourced by `accumulo-cluster` and the `-` in the environment variable name causes a failure. **Versions (OS, Maven, Java, and others, as appropriate):** Versions starting with 2.1.0 forward are probably affected. **To Reproduce** Create a cluster.yaml file using the command `accumulo-cluster create-config`. In the cluster.yaml file, create a group name that contains a `-`. Then try to start the cluster using `accumulo-cluster start`. **Expected behavior** The cluster should start **Additional context** The workaround here is to not use a group name containing a `-`. Instead of allowing they hyphen to work, we might want to change the ClusterConfigParser to enforce a set of valid conventions when parsing cluster.yaml and returning an error with an appropriate message when the user supplies a group name that violates the conventions. -- 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]
