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

Move LEASE_{SOFTLIMIT,HARDLIMIT}_PERIOD constants from HdfsServerConstants to HdfsConstants

    XMLWordPrintableJSON

Details

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

    Description

      As these two constants are used by DFSClient which is to be moved to hadoop-hdfs-client module (see HDFS-8053), we consider these two constants should be moved to hadoop-hdfs-client module. A good place is HdfsConstants which contains for both server and client side constants.

      This jiras tracks the effort of moving LEASE_SOFTLIMIT_PERIOD and LEASE_HARDLIMIT_PERIOD constants from server side class HdfsServerConstants to client side class HdfsConstants.

      These two constants are mainly used in server side. It's better to not deprecate them but just leave them as copies of the values from HdfsConstants.

      Attachments

        1. HDFS-9134.000.patch
          18 kB
          Mingliang Liu
        2. HDFS-9134.001.patch
          18 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: