You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "shanyu zhao (JIRA)" <ji...@apache.org> on 2013/08/26 20:49:53 UTC

[jira] [Created] (HIVE-5150) UnsatisfiedLinkError when running hive unit tests on Windows

shanyu zhao created HIVE-5150:
---------------------------------

             Summary: UnsatisfiedLinkError when running hive unit tests on Windows
                 Key: HIVE-5150
                 URL: https://issues.apache.org/jira/browse/HIVE-5150
             Project: Hive
          Issue Type: Bug
          Components: Testing Infrastructure
    Affects Versions: 0.11.0
         Environment: Windows
            Reporter: shanyu zhao


When running any hive unit tests against hadoop 2.0, it will fail with error like this:

[junit] Exception in thread "main" java.lang.UnsatisfiedLinkError: org.apache.hadoop.io.nativeio.NativeIO$Windows.access0(Ljava/lang/String;I)Z
    [junit] 	at org.apache.hadoop.io.nativeio.NativeIO$Windows.access0(Native Method)
    [junit] 	at org.apache.hadoop.io.nativeio.NativeIO$Windows.access(NativeIO.java:423)
    [junit] 	at org.apache.hadoop.fs.FileUtil.canRead(FileUtil.java:933)
    [junit] 	at org.apache.hadoop.util.DiskChecker.checkAccessByFileMethods(DiskChecker.java:177)
    [junit] 	at org.apache.hadoop.util.DiskChecker.checkDirAccess(DiskChecker.java:164)


This is due to the test process failed to find hadoop.dll. This is related to YARN-729.

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