You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Alan Gates (JIRA)" <ji...@apache.org> on 2014/03/28 00:45:20 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13950151#comment-13950151 ]
Alan Gates commented on HIVE-5150:
----------------------------------
Patch no longer applies.
> 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.13.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)