Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-6200 Create a separate jar for hdfs-client
  3. HDFS-9002

Move o.a.h.hdfs.net/*Peer classes to hdfs-client

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • build
    • None
    • Reviewed

    Description

      This jira tracks the effort of moving the following two parts to hadoop-hdfs-client module:

      • *Peer.java classes
      • static helper methods in TcpPeerServer

      In org.apache.hadoop.hdfs.net package, the Peer classes should be moved to hadoop-hdfs-client module as they are used in client, while PeerServer classes stay in hadoop-hdfs module. For the static helper methods in TcpPeerServer, we need to move them out of the TcpPeerServer class and put them in client module.

      Meanwhile, we need to move the related classes in org.apache.hadoop.hdfs.protocol.datatransfer.sasl packages as they're used by client module. Config keys should also be moved.

      The checkstyle warnings can be addressed in HDFS-8979 , and removing the slf4j logger guards when calling LOG.debug() and LOG.trace() can be addressed in HDFS-8971 .

      Attachments

        1. HDFS-9002.000.patch
          48 kB
          Mingliang Liu
        2. HDFS-9002.001.patch
          51 kB
          Mingliang Liu
        3. HDFS-9002.002.patch
          53 kB
          Mingliang Liu
        4. HDFS-9002.003.patch
          53 kB
          Mingliang Liu

        Issue Links

          Activity

            People

              liuml07 Mingliang Liu
              liuml07 Mingliang Liu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: