[ https://issues.apache.org/jira/browse/HIVE-4349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13645721#comment-13645721 ]
Xi Fang commented on HIVE-4349: ------------------------------- Thanks for your comments, Carl. We attached this patch, because unit tests currently fail on Windows and we are looking for a short term solution to help unblock Windows development. The root issue is that the current logic of adding all JARS individually to the CLASSPATH easily breaks on Windows. We have had several people run into this issue and it is a pain point. Could you tell us how near term is the fix to automatically build the CLASSPATH, as you pointed out that in the near future we are going to stop manually constructing the CLASSPATH? This failure is currently specific to unit tests. The limit 12 characters is just a rough estimation because different projects use different numbers of JARS. Tomorrow we could add more JARS to the CLASSPATH as the project grows and even an 11 character enlistment wouldn’t be good enough. Also for custom Hive deployments it is possible that we need to add other JARS to the CLASSPATH (such as SERDEs etc). The patch attached can make the Hive unit tests work well currently. Could you clarify a little bit more about your proposal? Is using lvy or Maven in the near future going to solve this problem automatically, or you want a more generic solution to this kind of problem (now or after Ivy is used to construct the CLASSPATH)? > 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 > Affects Versions: 0.11.0 > 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