updated check_hiveserver2_beeline.sh
61bda262
Hari Sekhon
committed
1 changed file
check_hiveserver2_beeline.sh
/check_hiveserver2_beeline.sh-1+1
/check_hiveserver2_beeline.sh
Add comment 93 for datanode in live_node_data:
Add comment 94 used_space = live_node_data[datanode]['usedSpace']
Add comment 95 if not isInt(used_space):
Add comment 96 Minus   raise UnknownError('usedSpace is not an integer! {0}'.format(support_msg_api()))
Add comment 96 Plus   raise UnknownError('usedSpace {} is not an integer! {}'.format(used_space, support_msg_api()))
Add comment 97 used_space = int(used_space)
Add comment 98 log.info("datanode '%s' used space = %s", datanode, used_space)
Add comment 99 if min_space is None or used_space < min_space: