diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RequestController.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RequestController.java index 7e9c9685ff3..46e730ec4bc 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RequestController.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RequestController.java @@ -95,7 +95,7 @@ public interface RequestController { /** * @return The number of running task. */ - long getNumberOfTsksInProgress(); + long getNumberOfTasksInProgress(); /** * Waits for the running tasks to complete. diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/SimpleRequestController.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/SimpleRequestController.java index 473f264d0f7..6343af6cfa0 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/SimpleRequestController.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/SimpleRequestController.java @@ -246,7 +246,7 @@ class SimpleRequestController implements RequestController { } @Override - public long getNumberOfTsksInProgress() { + public long getNumberOfTasksInProgress() { return tasksInProgress.get(); }