You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Navis (JIRA)" <ji...@apache.org> on 2014/05/11 00:07:56 UTC

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

     [ https://issues.apache.org/jira/browse/HIVE-5150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Navis updated HIVE-5150:
------------------------

    Fix Version/s:     (was: 0.13.0)
                   0.14.0

> 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.12.0
>         Environment: Windows
>            Reporter: shanyu zhao
>            Assignee: shanyu zhao
>             Fix For: 0.14.0
>
>         Attachments: HIVE-5150.patch
>
>
> 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 was sent by Atlassian JIRA
(v6.2#6252)