[
https://issues.apache.org/jira/browse/HDFS-5269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13784920#comment-13784920
]
Andrew Wang commented on HDFS-5269:
-----------------------------------
Hey Chris, thanks for the report. I folded in a fix for this in HDFS-5190 since
I was already poking around in {{CacheAdmin}}. I went with
{{DistributedFileSystem}} taking a {{PathBasedCacheDescriptor}}, which it then
unpacks it into a {{long}} to pass to the {{DFSClient}} API. {{CacheAdmin}}
then calls the {{DFSClient}} API directly. Let me know if this works for you (a
full review on HDFS-5190 would also be appreciated!).
> Attempting to remove a cache directive fails with NullPointerException.
> -----------------------------------------------------------------------
>
> Key: HDFS-5269
> URL: https://issues.apache.org/jira/browse/HDFS-5269
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: namenode, tools
> Affects Versions: HDFS-4949
> Reporter: Chris Nauroth
> Assignee: Chris Nauroth
>
> Any attempt to remove a cache directive via the "hdfs cacheadmin -removePath"
> command fails with {{NullPointerException}}.
--
This message was sent by Atlassian JIRA
(v6.1#6144)