hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-7733) NFS: readdir/readdirplus return null directory attribute on failure
Date Tue, 03 Feb 2015 23:07:37 GMT
Arpit Agarwal created HDFS-7733:
-----------------------------------

             Summary: NFS: readdir/readdirplus return null directory attribute on failure
                 Key: HDFS-7733
                 URL: https://issues.apache.org/jira/browse/HDFS-7733
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: nfs
    Affects Versions: 2.6.0
            Reporter: Arpit Agarwal


NFS readdir and readdirplus operations return a null directory attribute on some failure path.
This causes clients to get a 'Stale file handle' error which can only be fixed by unmounting
and remounting the share.

The issue can be reproduced by running 'ls' against a large directory which is being actively
modified, triggering the 'cookie mismatch' failure path.

{code}
        } else {
          LOG.error("cookieverf mismatch. request cookieverf: " + cookieVerf
              + " dir cookieverf: " + dirStatus.getModificationTime());
          return new READDIRPLUS3Response(Nfs3Status.NFS3ERR_BAD_COOKIE);
        }
{code}

Thanks to [~brandonli] for catching the issue.




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

Mime
View raw message