[ https://issues.apache.org/jira/browse/HIVE-3320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13547998#comment-13547998 ]
Hudson commented on HIVE-3320: ------------------------------ Integrated in Hive-trunk-hadoop2 #54 (See [https://builds.apache.org/job/Hive-trunk-hadoop2/54/]) HIVE-3320 : Handle CRLF line endings to avoid the extra spacing in generated test outputs in Windows. (Utilities.Java :: readColumn) (Kanna Karanam via Ashutosh Chauhan) (Revision 1368624) Result = ABORTED hashutosh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1368624 Files : * /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java > Handle “CRLF” line endings to avoid the extra spacing in generated test > outputs in Windows. (Utilities.Java :: readColumn) > -------------------------------------------------------------------------------------------------------------------------- > > Key: HIVE-3320 > URL: https://issues.apache.org/jira/browse/HIVE-3320 > Project: Hive > Issue Type: Sub-task > Components: CLI, Tests, Windows > Reporter: Kanna Karanam > Assignee: Kanna Karanam > Labels: Windows > Fix For: 0.10.0 > > Attachments: bucket1.q.out.patch.txt, HIVE-3320.1.patch.txt > > > Existing functionality in Hive is looking for the “LF” character to extract > the lines from generated output before writing to the streaming object. > Whereas in Windows, the line endings are “CRLF” characters so it is leaving > the “CR” character before writing each line to the streaming object. This CR > is introducing the extra empty lines in the generated test output and causing > several test cases to fail on Windows. > Attached the generated output for one of the unit test failures with extra > space. (bucket1.q) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira