hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Patrick McCabe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-5567) CacheAdmin operations not supported with viewfs
Date Wed, 27 Nov 2013 01:18:35 GMT

    [ https://issues.apache.org/jira/browse/HDFS-5567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13833304#comment-13833304
] 

Colin Patrick McCabe commented on HDFS-5567:
--------------------------------------------

I think we need a {{\-ns}} option, like we have for the haadmin commands.

> CacheAdmin operations not supported with viewfs
> -----------------------------------------------
>
>                 Key: HDFS-5567
>                 URL: https://issues.apache.org/jira/browse/HDFS-5567
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: caching
>    Affects Versions: 3.0.0
>            Reporter: Stephen Chu
>
> On a federated cluster with viewfs configured, we'll run into the following error when
using CacheAdmin commands:
> {code}
> bash-4.1$ hdfs cacheadmin -listPools
> Exception in thread "main" java.lang.IllegalArgumentException: FileSystem viewfs://cluster3/
is not an HDFS file system
> 	at org.apache.hadoop.hdfs.tools.CacheAdmin.getDFS(CacheAdmin.java:96)
> 	at org.apache.hadoop.hdfs.tools.CacheAdmin.access$100(CacheAdmin.java:50)
> 	at org.apache.hadoop.hdfs.tools.CacheAdmin$ListCachePoolsCommand.run(CacheAdmin.java:748)
> 	at org.apache.hadoop.hdfs.tools.CacheAdmin.run(CacheAdmin.java:84)
> 	at org.apache.hadoop.hdfs.tools.CacheAdmin.main(CacheAdmin.java:89)
> bash-4.1$
> {code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message