Implemented functions to get NamenodeInfo.