hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Mitic (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-9579) Contrib ant test target not setting the java.library.path
Date Sat, 25 May 2013 03:49:20 GMT

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

Ivan Mitic commented on HADOOP-9579:
------------------------------------

Thanks Chuan and Chris for reviewing!

Bq. Specifically, I was running "ant -Dwindows=true -Dtestcase=TestGridmixSubmission test-contrib"
from the root of the branch-1-win repo. Ivan, is there something else that we need to do to
verify this, or does this look like a problem?
I just took a quick look and indeed there is another (slightly orthogonal) problem here. Basically
HADOOP_HOME is not set when contrib tests are run resulting in the above error. Looks like
we did not catch this problem earlier because we set HADOOP_HOME as part of our build environment
initialization. I went ahead and fixed this as part of this Jira since it’s also related
to contrib tests on Windows (v2 patch). Good catch Chris!

                
> Contrib ant test target not setting the java.library.path
> ---------------------------------------------------------
>
>                 Key: HADOOP-9579
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9579
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 1-win
>            Reporter: Ivan Mitic
>            Assignee: Ivan Mitic
>         Attachments: HADOOP-9579.branch-1-win.2.patch, HADOOP-9579.branch-1-win.patch
>
>
> build-contrib.xml does not set java.library.path causing tests to run without the hadoop
native library. This is a bigger problem on Windows as having the native library is required.

--
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

Mime
View raw message