Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-14595

HDFS-11848 breaks API compatibility

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 3.2.0, 3.1.2
    • 3.3.0, 3.2.1, 3.1.3
    • None
    • None

    Description

      Our internal tool caught an API compatibility issue with HDFS-11848.

      HDFS-11848 adds an additional parameter to DistributedFileSystem.listOpenFiles(), but it doesn't keep the existing API.

      This can cause issue when upgrading from Hadoop 2.9.0/2.8.3/3.0.0 to 3.0.1/3.1.0 and above.

      Suggest:
      (1) Add back the old API (which was added in HDFS-10480), and mark it deprecated.
      (2) Update release doc to enforce running API compatibility check for each releases.

      Attachments

        1. hadoop_ 36e1870eab904d5a6f12ecfb1fdb52ca08d95ac5 to b241194d56f97ee372cbec7062bcf155bc3df662 compatibility report.htm
          34 kB
          Wei-Chiu Chuang
        2. HDFS-14595.001.patch
          11 kB
          Siyao Meng
        3. HDFS-14595.002.patch
          12 kB
          Siyao Meng
        4. HDFS-14595.003.patch
          2 kB
          Siyao Meng
        5. HDFS-14595.004.patch
          6 kB
          Siyao Meng
        6. HDFS-14595.005.patch
          6 kB
          Siyao Meng
        7. HDFS-14595.006.patch
          8 kB
          Siyao Meng

        Issue Links

          Activity

            People

              smeng Siyao Meng
              weichiu Wei-Chiu Chuang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: