Hadoop Common
  1. Hadoop Common
  2. HADOOP-2826

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.17.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Incompatible change, Reviewed
    • Release Note:
      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.

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

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Amareshwari Sriramadasu
            Reporter:
            Amareshwari Sriramadasu
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development