【发布时间】:2019-11-05 06:40:28
【问题描述】:
尝试处理挂载的 HDFS NFS 网关中的文件时出现“输入/输出错误”。尽管在 Ambari 中有 set dfs.namenode.accesstime.precision=3600000。例如,做类似...
$ hdfs dfs -cat /hdfs/path/to/some/tsv/file | sed -e "s/$NULL_WITH_TAB/$TAB/g" | hadoop fs -put -f - /hdfs/path/to/some/tsv/file
$ echo -e "Lines containing null (expect zero): $(grep -c "\tnull\t" /nfs/hdfs/path/to/some/tsv/file)"
当尝试从 tsv 中删除空值时,然后根据 NFS 位置检查该 tsv 中的空值会引发错误,但我在许多其他地方看到它(再次,已经有 dfs.namenode.accesstime.precision=3600000 )。任何人有任何想法为什么会发生这种情况或调试建议?谁能解释一下这种情况下的“访问时间”到底是什么?
【问题讨论】: