hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rakesh R (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-8332) DistributedFileSystem listCacheDirectives() and listCachePools() API calls should check filesystem closed
Date Wed, 06 May 2015 06:57:00 GMT
Rakesh R created HDFS-8332:
------------------------------

             Summary: DistributedFileSystem listCacheDirectives() and listCachePools() API
calls should check filesystem closed
                 Key: HDFS-8332
                 URL: https://issues.apache.org/jira/browse/HDFS-8332
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Rakesh R
            Assignee: Rakesh R


I could see {{listCacheDirectives()}} and {{listCachePools()}} APIs can be called even after
the filesystem close. Instead these calls should do {{checkOpen}} and throws:
{code}
java.io.IOException: Filesystem closed
	at org.apache.hadoop.hdfs.DFSClient.checkOpen(DFSClient.java:464)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message