hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From junping...@apache.org
Subject hadoop git commit: HADOOP-14958. Fix source-level compatibility after HADOOP-11252. Contributed by Junping Du.
Date Wed, 18 Oct 2017 22:11:34 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2.8 4ea3ae36c -> 4935334b0


HADOOP-14958. Fix source-level compatibility after HADOOP-11252. Contributed by Junping Du.

(cherry picked from commit b016f08f67830ed3ca741bc6a10c3f5164781be5)
(cherry picked from commit 9433f9eb09af0ca61f01a2eb42ff3ffe31a94d5f)
(cherry picked from commit e7e2b8158d9aaf314698784d44f4dd9313df3b50)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/4935334b
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/4935334b
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/4935334b

Branch: refs/heads/branch-2.8
Commit: 4935334b0f0f04f2be5987ef124d1812a4dc844a
Parents: 4ea3ae3
Author: Junping Du <junping_du@apache.org>
Authored: Wed Oct 18 15:06:30 2017 -0700
Committer: Junping Du <junping_du@apache.org>
Committed: Wed Oct 18 15:11:21 2017 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/ipc/Client.java             | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/4935334b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Client.java
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Client.java
b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Client.java
index 2ae77a2..79a43fd 100644
--- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Client.java
+++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Client.java
@@ -213,7 +213,8 @@ public class Client implements AutoCloseable {
    * @param conf Configuration
    * @param pingInterval the ping interval
    */
-  static final void setPingInterval(Configuration conf, int pingInterval) {
+  public static final void setPingInterval(Configuration conf,
+      int pingInterval) {
     conf.setInt(CommonConfigurationKeys.IPC_PING_INTERVAL_KEY, pingInterval);
   }
 
@@ -224,7 +225,7 @@ public class Client implements AutoCloseable {
    * @param conf Configuration
    * @return the ping interval
    */
-  static final int getPingInterval(Configuration conf) {
+  public static final int getPingInterval(Configuration conf) {
     return conf.getInt(CommonConfigurationKeys.IPC_PING_INTERVAL_KEY,
         CommonConfigurationKeys.IPC_PING_INTERVAL_DEFAULT);
   }


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message