You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2018/06/05 15:16:00 UTC
[jira] [Updated] (HADOOP-11285) FileUtil operations don't check for
native lib loaded on windows
[ https://issues.apache.org/jira/browse/HADOOP-11285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Loughran updated HADOOP-11285:
------------------------------------
Issue Type: Sub-task (was: Bug)
Parent: HADOOP-15461
> FileUtil operations don't check for native lib loaded on windows
> ----------------------------------------------------------------
>
> Key: HADOOP-11285
> URL: https://issues.apache.org/jira/browse/HADOOP-11285
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: util
> Affects Versions: 2.6.0
> Environment: windows
> Reporter: Steve Loughran
> Priority: Major
>
> On windows {{FileUtil.canRead()}} and the like requires the native APIs (at least until a migration to java 7 APIs). The methods do not, however, call {{NativeIO.isAvailable()}} to verify the native libs are there. As a result, the calls fail with less useful stack traces.
> if Java 7 allows all of these calls to be replaced, then this is a non-issue
> If not, I propose some {{verifyAvailableOnWindows()}} method which triggers an exception; one which includes some hints about the problem —perhaps a URL to a wiki page on the topic
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org