Description
HDFS-5196 introduces a set of new APIs that provide snapshot information through JMX. Currently. The API nests SnapshotDirectoryMXBean into SnapshotStatsMXBean, creating another layer of composition.
This jira proposes to inline SnapshotDirectoryMXBean into SnapshotStatsMXBean and to simplify the API.