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

readLine function of UTF8ByteArrayUtils does not handle end of line correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.6.0
    • None
    • None
    • windows

    Description

      The readLine function does not read ahead looking for '\n' after it reads '\r'. Therefore it incorrectly generates two lines, wth the second one empty in the window platform.

      Attachments

        1. eol.patch
          3 kB
          Hairong Kuang
        2. eol.patch
          3 kB
          Hairong Kuang

        Activity

          People

            hairong Hairong Kuang
            hairong Hairong Kuang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: