Class ReplicationUtil


  • public class ReplicationUtil
    extends Object
    • Field Detail

      • STATUS_FORMATTER_CLASS_NAME

        public static final String STATUS_FORMATTER_CLASS_NAME
    • Method Detail

      • getMaxReplicationThreads

        public int getMaxReplicationThreads​(MasterMonitorInfo mmi)
      • getPeers

        public Map<String,​String> getPeers()
        Extract replication peers from system configuration
        Returns:
        Configured replication peers
      • getPendingReplicationPaths

        public Set<org.apache.hadoop.fs.Path> getPendingReplicationPaths()