[ https://issues.apache.org/jira/browse/HIVE-4349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13630405#comment-13630405 ]
Xi Fang commented on HIVE-4349: ------------------------------- This is the current solution. 1) Before setting up the class path environment variable, find the list of JARs in the “test-classpath” and copy all of them to a <test jar> folder from various folders. This is done in a task "shortenclasspath". That means, all the required JARs will be in a single folder. 2) Include the “<test jar>*” in the class path to reduce the class path size. 3) Set the environment variable > Fix the Hive unit test failures when the Hive enlistment root path is longer > than ~12 characters > ------------------------------------------------------------------------------------------------ > > Key: HIVE-4349 > URL: https://issues.apache.org/jira/browse/HIVE-4349 > Project: Hive > Issue Type: Bug > Reporter: Xi Fang > Fix For: 0.11.0 > > Attachments: HIVE-4349.1.patch > > > If the Hive enlistment root path is longer than 12 chars then test classpath > “hadoop.testcp” is exceeding the 8K chars so we are unable to run most of the > Hive unit tests on Windows. -- 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