[
https://issues.apache.org/jira/browse/HDFS-6040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13918689#comment-13918689
]
Aaron T. Myers commented on HDFS-6040:
--------------------------------------
Instead of catching {{UnsupportedOperationException}} when creating the
{{DfsClientShmManager}}, I recommend just not creating it unless
{{NativeCodeLoader#isNativeCodeLoaded}} returns true. I think that's the more
common idiom used throughout the rest of the code base, e.g. in the JNI-based
groups mappings, the compression codecs, the NativeIO classes, etc.
> some ShortCircuitShm cleanups
> -----------------------------
>
> Key: HDFS-6040
> URL: https://issues.apache.org/jira/browse/HDFS-6040
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: hdfs-client
> Affects Versions: 2.4.0
> Reporter: Colin Patrick McCabe
> Assignee: Colin Patrick McCabe
> Attachments: HDFS-6040.001.patch, HDFS-6040.002.patch
>
>
> * clean up some extra imports in ShortCircuitShm
> * fix or suppress bogus findbugs warnings
> * throw an IOException rather than RuntimeException when the client asks the
> server for a bogus slot index.
> * fix an issue where DFSClients got an exception when libhadoop.so was not
> available
> * adjust some noisy INFO log messages downward
--
This message was sent by Atlassian JIRA
(v6.2#6252)