Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.0-alpha1
-
None
Description
Some tests are unable to load the native DLL on Windows. The culprit appears to be an incorrect PATH configuration for the native-win profile in hadoop-project/pom.xml.
<profile> <id>native-win</id> <activation> <os> <family>Windows</family> </os> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <environmentVariables> <!-- Specify where to look for the native DLL on Windows --> <PATH>${env.PATH};${basedir}\..\..\hadoop-common-project\hadoop-common\target\bin;</PATH> </environmentVariables> </configuration> </plugin> </plugins> </build> </profile>
This is evaluated independently by each project and the relative path is not always correct.
Attachments
Attachments
Issue Links
- is part of
-
HADOOP-8562 Enhancements to support Hadoop on Windows Server and Windows Azure environments
- Closed
- relates to
-
HADOOP-9056 Build native library on Windows
- Resolved
- requires
-
HADOOP-9232 JniBasedUnixGroupsMappingWithFallback fails on Windows with UnsatisfiedLinkError
- Resolved