使用hadoop_restful_api实现对集群信息的一些统计
{"name" : "ContentSummary","properties":{"ContentSummary":
{"type" : "object","properties":
{ "directoryCount":
{ "description": "The number of directories.", "type" : "integer", "required" : true
}, "fileCount":
{ "description": "The number of files.", "type" : "integer", "required" : true
}, "length":
{ "description": "The number of bytes used by the content.", "type" : "integer", "required" : true
}, "quota":
{ "description": "The namespace quota of this directory.", "type" : "integer", "required" : true
}, "spaceConsumed":
{ "description": "The disk space consumed by the content.", "type" : "integer", "required" : true
}, "spaceQuota":
{ "description": "The disk space quota.", "type" : "integer", "required" : true
}
}
}
}
}
页:
[1]