public boolean hasRequiredMiniFluoProps ( ) { boolean valid = true ; if ( getMiniStartAccumulo ( ) ) { // ensure that client properties are not set since we are using MiniAccumulo valid &= verifyStringPropNotSet ( ACCUMULO_USER_PROP , CLIENT_ACCUMULO_USER_PROP ) ; valid &= verifyStringPropNotSet ( ACCUMULO_PASSWORD_PROP , CLIENT_ACCUMULO_PASSWORD_PROP ) ; valid &= verifyStringPropNotSet ( ACCUMULO_INSTANCE_PROP , CLIENT_ACCUMULO_INSTANCE_PROP ) ; valid &= verifyStringPropNotSet ( ACCUMULO_ZOOKEEPERS_PROP , CLIENT_ACCUMULO_ZOOKEEPERS_PROP ) ; valid &= verifyStringPropNotSet ( CONNECTION_ZOOKEEPERS_PROP , CLIENT_ZOOKEEPER_CONNECT_PROP ) ; if ( valid == false ) { log . error ( "Client properties should not be set in your configuration if MiniFluo is " + "configured to start its own accumulo (indicated by fluo.mini.start.accumulo being " + "set to true)" ) ; } } else { valid &= hasRequiredClientProps ( ) ; valid &= hasRequiredAdminProps ( ) ; valid &= hasRequiredOracleProps ( ) ; valid &= hasRequiredWorkerProps ( ) ; } return valid ; }
Returns true if required properties for MiniFluo are set