1 changed file
kubernetes-configs | ||
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: