Dan Moraru created HDFS-13082: --------------------------------- Summary: cookieverf mismatch error over NFS gateway on Linux Key: HDFS-13082 URL: https://issues.apache.org/jira/browse/HDFS-13082 Project: Hadoop HDFS Issue Type: Bug Components: hdfs Affects Versions: 2.7.3 Reporter: Dan Moraru
Running 'ls' on some directories over an HDFS-NFS gateway sometimes fails to list the contents of those directories. Running 'ls' on those same directories mounted via FUSE works. The NFS gateway logs errors like the following: 2018-01-29 11:53:01,130 ERROR org.apache.hadoop.hdfs.nfs.nfs3.RpcProgramNfs3: cookieverf mismatch. request cookieverf: 1513390944415 dir cookieverf: 1516920857335 Reviewing hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/nfs3/RpcProgramNfs3.java suggested that these errors can be avoided by setting nfs.aix.compatibility.mode.enabled=true, and that is indeed the case. The documentation lists https://issues.apache.org/jira/browse/HDFS-6549 as a known issue, but also goes on to say that "regular, non-AIX clients should NOT enable AIX compatibility mode. The work-arounds implemented by AIX compatibility mode effectively disable safeguards to ensure that listing of directory contents via NFS returns consistent results, and that all data sent to the NFS server can be assured to have been committed." Server and client is this case are one and the same, running Scientific Linux 7.4. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org