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

        Amareshwari Sriramadasu created issue -
        Robert Chansler made changes -
        Field Original Value New Value
        Fix Version/s 0.17.0 [ 12312913 ]
        Sameer Paranjpye made changes -
        Fix Version/s 0.17.0 [ 12312913 ]
        Amareshwari Sriramadasu made changes -
        Attachment patch-2826.txt [ 12378944 ]
        Amareshwari Sriramadasu made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Assignee Amareshwari Sriramadasu [ amareshwari ]
        Amareshwari Sriramadasu made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Amareshwari Sriramadasu made changes -
        Attachment patch-2826.txt [ 12379102 ]
        Amareshwari Sriramadasu made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Amareshwari Sriramadasu made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Amareshwari Sriramadasu made changes -
        Attachment patch-2826.txt [ 12379123 ]
        Amareshwari Sriramadasu made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Amareshwari Sriramadasu made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Amareshwari Sriramadasu made changes -
        Attachment patch-2826.txt [ 12379229 ]
        Amareshwari Sriramadasu made changes -
        Hadoop Flags [Incompatible change]
        Release Note Changes the signature of UTF8ByteArrayUtils.readLIne(InputStream) to UTF8ByteArrayUtils.readLIne(LineReader, Text)
        Status Open [ 1 ] Patch Available [ 10002 ]
        Devaraj Das made changes -
        Hadoop Flags [Incompatible change] [Incompatible change, Reviewed]
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Release Note Changes the signature of UTF8ByteArrayUtils.readLIne(InputStream) to UTF8ByteArrayUtils.readLIne(LineReader, Text) Changes the signature of UTF8ByteArrayUtils.readLIne(InputStream) to UTF8ByteArrayUtils.readLIne(LineReader, Text)
        Resolution Fixed [ 1 ]
        Amareshwari Sriramadasu made changes -
        Hadoop Flags [Reviewed, Incompatible change] [Incompatible change, Reviewed]
        Release Note Changes the signature of UTF8ByteArrayUtils.readLIne(InputStream) to UTF8ByteArrayUtils.readLIne(LineReader, Text)
        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.
        Nigel Daley made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Owen O'Malley made changes -
        Component/s mapred [ 12310690 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development