def stop_hbase(): ''' HBase depends on HDFS and Zookeeper. If we are installed and either of these dependencies go away, shut down HBase services and remove our installed state. ''' hbase = HBase() hbase.close_ports() hbase.stop() remove_state('hbase.installed') report_status()
def stop_hbase(): hbase = HBase() hbase.close_ports() hbase.stop() remove_state('hbase.installed') report_status()