[ 
https://issues.apache.org/jira/browse/HIVE-3172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13404898#comment-13404898
 ] 

Hudson commented on HIVE-3172:
------------------------------

Integrated in Hive-trunk-h0.21 #1522 (See 
[https://builds.apache.org/job/Hive-trunk-h0.21/1522/])
    HIVE-3172 : Remove the duplicate JAR entries from the (“test.classpath”) to 
avoid command line exceeding char limit on windows (Kanna Karanam via Ashutosh 
Chauhan) (Revision 1356035)

     Result = FAILURE
hashutosh : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1356035
Files : 
* /hive/trunk/ant/src/org/apache/hadoop/hive/ant/DistinctElementsClassPath.java
* /hive/trunk/build-common.xml
* /hive/trunk/jdbc/build.xml
* /hive/trunk/odbc/build.xml
* /hive/trunk/shims/build.xml

                
> Remove the duplicate JAR entries from the (“test.classpath”) to avoid command 
> line exceeding char limit on windows 
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-3172
>                 URL: https://issues.apache.org/jira/browse/HIVE-3172
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Tests, Windows
>    Affects Versions: 0.10.0
>         Environment: Windows
>            Reporter: Kanna Karanam
>            Assignee: Kanna Karanam
>              Labels: Windows
>             Fix For: 0.10.0
>
>         Attachments: HIVE-3172.1.patch.txt, HIVE-3172.2.patch.txt, 
> HIVE-3172.3.patch.txt
>
>
> The maximum length of the DOS command string is 8191 characters (in Windows 
> latest versions http://support.microsoft.com/kb/830473). Following entries in 
> the “build-common.xml” are adding lot of duplicate JAR entries to the 
> “test.classpath” and it exceeds the max character limit on windows very 
> easily. 
> <!-- Include build/dist/lib on the classpath before Ivy and exclude hive jars 
> from Ivy to make sure we get the local changes when we test Hive -->
>     <fileset dir="${build.dir.hive}/dist/lib" includes="*.jar" 
> erroronmissingdir="false" 
> excludes="**/hive_contrib*.jar,**/hive-contrib*.jar,**/lib*.jar"/>
>     <fileset dir="${hive.root}/build/ivy/lib/test" includes="*.jar" 
> erroronmissingdir="false" excludes="**/hive_*.jar,**/hive-*.jar"/>
>     <fileset dir="${hive.root}/build/ivy/lib/default" includes="*.jar" 
> erroronmissingdir="false" excludes="**/hive_*.jar,**/hive-*.jar" />
>     <fileset dir="${hive.root}/testlibs" includes="*.jar"/>
> Proposed solution (workaround)–
> 1)Include all JARs from dist\lib excluding 
> "**/hive_contrib*.jar,**/hive-contrib*.jar,**/lib*.jar"
> 2)Select the specific jars (missing jars) from test/other folders, (that 
> includes Hadoop-*.jar files)
> Thanks

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to