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 "Sean Busbey (JIRA)" <ji...@apache.org> on 2015/05/15 10:19:01 UTC

[jira] [Reopened] (HDFS-8332) DFS client API calls should check filesystem closed

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

Sean Busbey reopened HDFS-8332:
-------------------------------

According to git-bisect, this is the commit that started failing the following tests in hadoop-hdfs-httpfs on trunk:

* TestHttpFSFWithSWebhdfsFileSystem
* TestHttpFSWithHttpFSFileSystem
* TestHttpFSFWithWebhdfsFileSystem

{code}
$ git bisect start trunk b46c2bb51ae524e6640756620f70e5925cda7592
Bisecting: 272 revisions left to test after this (roughly 8 steps)
[baf8bc6c488de170d2caf76d9fa4c99faaa8f1a6] HDFS-4448. Allow HA NN to start in secure mode with wildcard address configured (atm via asuresh)
$ git bisect run mvn -Dtest=TestHttpFSF*,TestHttpFSWithHttpFSFileSystem clean package
...SNIP...
e16f4b7f70b8675760cf5aaa471dfe29d48041e6 is the first bad commit
commit e16f4b7f70b8675760cf5aaa471dfe29d48041e6
Author: Uma Maheswara Rao G <um...@apache.org>
Date:   Fri May 8 12:26:47 2015 +0530

    HDFS-8332. DFS client API calls should check filesystem closed. Contributed by Rakesh R.

:040000 040000 db7a6b4555c1bd18e8fe0a97a6689f7cf9ce15ec f9e0818f6198fbc0ac94b2d82bef7f065a90cc03 M      hadoop-hdfs-project
bisect run success
{code}

> DFS client 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
>             Fix For: 2.8.0
>
>         Attachments: HDFS-8332-000.patch, HDFS-8332-001.patch, HDFS-8332-002-Branch-2.patch, HDFS-8332-002.patch, HDFS-8332.001.branch-2.patch
>
>
> 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)