dlmarion commented on a change in pull request #2238:
URL: https://github.com/apache/accumulo/pull/2238#discussion_r701200363
##########
File path: assemble/bin/accumulo-cluster
##########
@@ -43,52 +43,68 @@ function invalid_args {
exit 1
}
-function verify_config {
+function parse_fail {
+ echo "Failed to parse ${conf}/cluster.yml"
+ exit 1
+}
+
+function parse_config {
if [[ -f ${conf}/slaves ]]; then
Review comment:
Addressed in 845d474
##########
File path: assemble/bin/accumulo-cluster
##########
@@ -43,52 +43,68 @@ function invalid_args {
exit 1
}
-function verify_config {
+function parse_fail {
+ echo "Failed to parse ${conf}/cluster.yml"
+ exit 1
+}
+
+function parse_config {
if [[ -f ${conf}/slaves ]]; then
echo "ERROR: A 'slaves' file was found in ${conf}/"
- echo "Accumulo now reads tablet server hosts from 'tservers' and requires
that the 'slaves' file not be present to reduce confusion."
+ echo "Accumulo now uses cluster host configuration information from
'cluster.yml' and requires that the 'slaves' file not be present to reduce
confusion."
echo "Please rename the 'slaves' file to 'tservers' or remove it if both
exist."
Review comment:
Addressed in 845d474
--
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]