Hadoop 源码-org.apache.hadoop.hdfs.protocol.datatransfer

  1. BlackListBasedTrustedChannelResolver

    BlackListBasedTrustedChannelResolver 类继承自 TrustedChannelResolver 类

    类注释:Class used to indicate whether a channel is trusted or not. The default implementation is to return false indicating that the channel is not trusted.

    The class can be overridden to provide custom logic to determine whether a channel is trusted or not. The custom class can be specified via configuration.

  2. Receiver

    Receiver 实现 DataTransferProtocol接口,该接口用于——Transfer data to/from datanode using a streaming protocol (between clients and datanodes).

  3. WhiteListBasedTrustedChannelResolver

    WhiteListBasedTrustedChannelResolver 继承自 TrustedChannelResolver 类