You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Andras Bokor (JIRA)" <ji...@apache.org> on 2017/04/21 13:13:04 UTC

[jira] [Resolved] (HDFS-5567) CacheAdmin operations not supported with viewfs

     [ https://issues.apache.org/jira/browse/HDFS-5567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andras Bokor resolved HDFS-5567.
--------------------------------
          Resolution: Not A Bug
    Target Version/s:   (was: )

> 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-alpha1
>            Reporter: Stephen Chu
>            Assignee: Andras Bokor
>
> 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.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org