Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-12585 [Umbrella] Removing the usages of deprecated methods
  3. HADOOP-12582

Using BytesWritable's getLength() and getBytes() instead of get() and getSize()

    XMLWordPrintableJSON

Details

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

    Description

      BytesWritable's deprecated methods, get() and getSize(), are still used in some tests: TestTFileSeek, TestTFileSeqFileComparison, TestSequenceFile, and so on. We can also remove them if targeting this to 3.0.0

      https://builds.apache.org/job/PreCommit-HADOOP-Build/8084/artifact/patchprocess/diff-compile-javac-root-jdk1.7.0_85.txt

      Attachments

        1. HADOOP-12582.00.patch
          6 kB
          Akira Ajisaka

        Activity

          People

            aajisaka Akira Ajisaka
            ozawa Tsuyoshi Ozawa
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: