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

Chris Nauroth commented on HDFS-9459:
-------------------------------------

There are multiple problems:
# The Ant XML for calling {{ctest}} in the native-win profile is invalid, 
because there are nested {{<target>}} declarations.  This causes the {{mvn 
test}} to fail.
# On Windows, the native bits are built into target/native.  The working 
directory for the {{ctest}} call was just target, so it couldn't find the test 
configuration file and actually run the tests.
# The environment settings appear to be copy-pasted from the *nix native 
profile, setting {{LD_LIBRARY_PATH}}.  Instead, we need to set {{HADOOP_HOME}} 
to find winutils.exe and {{PATH}} to find hadoop.dll.


> hadoop-hdfs-native-client fails test build on Windows after transition to 
> ctest.
> --------------------------------------------------------------------------------
>
>                 Key: HDFS-9459
>                 URL: https://issues.apache.org/jira/browse/HDFS-9459
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: build, test
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>            Priority: Blocker
>
> HDFS-9369 transitioned to usage of {{ctest}} for running the HDFS native 
> tests.  This broke the {{mvn test}} build on Windows.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to