TaskStatus class 中 Hadoop 的 getProgress() 方法是什么?

What is Hadoop's getProgress() method in TaskStatus class?

class TaskStatus class 有一个方法 getProgress() 但我不确定这个方法实际上是什么 returns.

是花费的时间还是处理的输入数据?

我想知道到目前为止在源代码中处理了多少数据。我应该怎么办?我应该使用 getProgress() 吗?

这是来自 here

的 JavaDoc 注释

Get the current progress.

Returns: a number between 0.0 and 1.0 (inclusive) indicating the attempt's progress.

尝试在此处作为 mapreduce 作业。