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

Chris Nauroth commented on HADOOP-9579:
---------------------------------------

Chuan, my plan was to try running {{TestGridmixSubmission}} and check logs to 
see that {{NativeCodeLoader}} found the library.  Unfortunately, it failed with:

{quote}
13/05/24 10:41:00 ERROR util.Shell: Failed to detect a valid hadoop home directo
ry
java.io.IOException: HADOOP_HOME or hadoop.home.dir are not set.
{quote}

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

Reply via email to