added trial license warning check + suppression switch
7f55bf48
Hari Sekhon
committed
1 changed file
check_mapr_license.pl
/check_mapr_license.pl-1+1
/check_mapr_license.pl
Add comment 90 for datanode in live_node_data:
Add comment 91 blocks = live_node_data[datanode]['numBlocks']
Add comment 92 if not isInt(blocks):
Add comment 93 Minus   raise UnknownError('numBlocks is not an integer! {0}'.format(support_msg_api()))
Add comment 93 Plus   raise UnknownError('numBlocks {} is not an integer! {}'.format(blocks, support_msg_api()))
Add comment 94 blocks = int(blocks)
Add comment 95 log.info("datanode '%s' has %s blocks", datanode, blocks)
Add comment 96 if blocks > max_blocks: