[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to