Hadoop报告错误的文件大小

时间:2016-02-29 20:59:51

标签: file hadoop hdfs

Hadoop似乎报告了仍在进行中的文件的错误文件大小(即存在打开的文件句柄):

$ hadoop fs -ls /spark_event_log/application_1455759060111_0228.inprogress
16/02/29 20:56:06 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
-rwxrwx---   2 user supergroup        235 2016-02-29 20:24 /spark_event_log/application_1455759060111_0228.inprogress
$ hadoop fs -cp /spark_event_log/application_1455759060111_0228.inprogress /spark_event_log/test.inprogress
16/02/29 20:57:47 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
$ hadoop fs -ls /spark_event_log/test.inprogress
16/02/29 20:58:38 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
-rw-r--r--   2 user supergroup       6809 2016-02-29 20:39 /spark_event_log/test.inprogress

这里发生了什么?

0 个答案:

没有答案