Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-2826

FileSplit.getFile(), LineRecordReader. readLine() need to be removed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.17.0
    • None
    • None
    • Incompatible change, Reviewed
    • Hide
      The deprecated methods, public File org.apache.hadoop.mapred.FileSplit.getFile() and
        public static long org.apache.hadoop.mapred.LineRecordReader.readLine(InputStream in, OutputStream out)
      are removed.
      The constructor org.apache.hadoop.mapred.LineRecordReader.LineReader(InputStream in, Configuration conf) 's visibility is made public.
      The signature of the public org.apache.hadoop.streaming.UTF8ByteArrayUtils.readLIne(InputStream) method is changed to UTF8ByteArrayUtils.readLIne(LineReader, Text). Since the old signature is not deprecated, any code using the old method must be changed to use the new method.
      Show
      The deprecated methods, public File org.apache.hadoop.mapred.FileSplit.getFile() and   public static long org.apache.hadoop.mapred.LineRecordReader.readLine(InputStream in, OutputStream out) are removed. The constructor org.apache.hadoop.mapred.LineRecordReader.LineReader(InputStream in, Configuration conf) 's visibility is made public. The signature of the public org.apache.hadoop.streaming.UTF8ByteArrayUtils.readLIne(InputStream) method is changed to UTF8ByteArrayUtils.readLIne(LineReader, Text). Since the old signature is not deprecated, any code using the old method must be changed to use the new method.

    Description

      The methods FileSplit.getFile(), LineRecordReader. readLine() need to be removed as they are deprecated.

      Attachments

        1. patch-2826.txt
          14 kB
          Amareshwari Sriramadasu
        2. patch-2826.txt
          14 kB
          Amareshwari Sriramadasu
        3. patch-2826.txt
          13 kB
          Amareshwari Sriramadasu
        4. patch-2826.txt
          12 kB
          Amareshwari Sriramadasu

        Activity

          People

            amareshwari Amareshwari Sriramadasu
            amareshwari Amareshwari Sriramadasu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: