in lib/muchos/config/base.py [0:0]
def _verify_config(self, action):
if action in ["launch", "setup"]:
for service in SERVICES:
if service not in OPTIONAL_SERVICES:
if not self.has_service(service):
exit(
"ERROR - Missing '{0}' service from [nodes] "
"section of muchos.props".format(service)
)
# fail if we are using Java 11 along with Accumulo 1.x
# See https://github.com/apache/accumulo/issues/958 for details
if self.java_product_version() >= 11 and StrictVersion(
self.version("accumulo").replace("-SNAPSHOT", "")
) <= StrictVersion("1.9.3"):
exit(
"ERROR - Java 11 is not supported with Accumulo version "
"'{0}'".format(self.version("accumulo"))
)
# fail if we are using ZooKeeper >= 3.5.5 with Accumulo <= 1.9.x
if StrictVersion(
self.version("zookeeper").replace("-SNAPSHOT", "")
) >= StrictVersion("3.5.5") and StrictVersion(
self.version("accumulo").replace("-SNAPSHOT", "")
) < StrictVersion(
"1.10.0"
):
exit(
"ERROR - ZooKeeper version '{0}' is not supported with "
"Accumulo version '{1}'".format(
self.version("zookeeper"), self.version("accumulo")
)
)