[ https://issues.apache.org/jira/browse/HIVE-5079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13767219#comment-13767219 ]
Hari Sankar Sivarama Subramaniyan commented on HIVE-5079: --------------------------------------------------------- Hi Daniel It seems that we need to file a separate JIRA to complete this fix. There have been issues when there are other escape sequences as well like '\o' '\n' ..etc. Simplest way would be to convert every occurence of "\" with a space so that build works in atleast most of the cases. In the long run, there should be a python/OS independent version of saveVersion.sh to fix this issue. > Make Hive compile under Windows > ------------------------------- > > Key: HIVE-5079 > URL: https://issues.apache.org/jira/browse/HIVE-5079 > Project: Hive > Issue Type: Bug > Components: Build Infrastructure > Reporter: Daniel Dai > Assignee: Daniel Dai > Fix For: 0.13.0 > > Attachments: HIVE-5079-1.patch, HIVE-5079-2.patch > > > Hive compilation failed under Windows. Error message: > {code} > compile: > [echo] Project: common > [exec] D:\Program Files (x86)\GnuWin32\bin\xargs.exe: md5sum: No such > file > or directory > [exec] md5sum: > ../serde/src/java/org/apache/hadoop/hive/serde2/io/Timesta: > No such file or directory > [javac] Compiling 25 source files to > D:\Users\Administrator\hive\build\common\classes > [javac] > D:\Users\Administrator\hive\common\src\gen\org\apache\hive\common\package-info.java:4: > unclosed string literal > [javac] @HiveVersionAnnotation(version="0.12.0-SNAPSHOT", > revision="80eadd8fa2af5eeba61f921318ab8b2c19980ab3", branch="trunk > [javac] > ^ > [javac] > D:\Users\Administrator\hive\common\src\gen\org\apache\hive\common\package-info.java:5: > unclosed string literal > [javac] ", > [javac] ^ > [javac] > D:\Users\Administrator\hive\common\src\gen\org\apache\hive\common\package-info.java:6: > class, interface, or enum expected > [javac] user="Administrator > [javac] ^ > [javac] > D:\Users\Administrator\hive\common\src\gen\org\apache\hive\common\package-info.java:6: > unclosed string literal > [javac] user="Administrator > [javac] ^ > [javac] > D:\Users\Administrator\hive\common\src\gen\org\apache\hive\common\package-info.java:10: > unclosed string literal > [javac] ", > [javac] ^ > [javac] > D:\Users\Administrator\hive\common\src\gen\org\apache\hive\common\package-info.java:11: > unclosed string literal > [javac] > srcChecksum="aadceb95c37a1704aaf19501f46f6e84 > [javac] ^ > [javac] > D:\Users\Administrator\hive\common\src\gen\org\apache\hive\common\package-info.java:12: > unclosed string literal > [javac] ") > [javac] ^ > [javac] 7 errors > {code} -- 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