You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by zh...@apache.org on 2017/04/25 01:31:15 UTC
ranger git commit: RANGER-1539-Improve,
modify print log display method name
Repository: ranger
Updated Branches:
refs/heads/master 8751791d8 -> c41f19e47
RANGER-1539-Improve, modify print log display method name
Signed-off-by: zhangqiang2 <zh...@zte.com.cn>
Project: http://git-wip-us.apache.org/repos/asf/ranger/repo
Commit: http://git-wip-us.apache.org/repos/asf/ranger/commit/c41f19e4
Tree: http://git-wip-us.apache.org/repos/asf/ranger/tree/c41f19e4
Diff: http://git-wip-us.apache.org/repos/asf/ranger/diff/c41f19e4
Branch: refs/heads/master
Commit: c41f19e47d4e35520eae15b181a4d05baed5ad48
Parents: 8751791
Author: zhangqiang2 <zh...@zte.com.cn>
Authored: Mon Apr 24 11:19:54 2017 +0800
Committer: zhangqiang2 <zh...@zte.com.cn>
Committed: Mon Apr 24 21:30:18 2017 -0400
----------------------------------------------------------------------
.../org/apache/ranger/services/hdfs/client/HdfsClient.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ranger/blob/c41f19e4/hdfs-agent/src/main/java/org/apache/ranger/services/hdfs/client/HdfsClient.java
----------------------------------------------------------------------
diff --git a/hdfs-agent/src/main/java/org/apache/ranger/services/hdfs/client/HdfsClient.java b/hdfs-agent/src/main/java/org/apache/ranger/services/hdfs/client/HdfsClient.java
index cd5c013..cab1b52 100644
--- a/hdfs-agent/src/main/java/org/apache/ranger/services/hdfs/client/HdfsClient.java
+++ b/hdfs-agent/src/main/java/org/apache/ranger/services/hdfs/client/HdfsClient.java
@@ -201,7 +201,7 @@ public class HdfsClient extends BaseClient {
public static Map<String, Object> connectionTest(String serviceName,
Map<String, String> configs) throws Exception {
- LOG.info("===> HdfsClient.testConnection()" );
+ LOG.info("===> HdfsClient.connectionTest()" );
Map<String, Object> responseData = new HashMap<String, Object>();
boolean connectivityStatus = false;
@@ -220,7 +220,7 @@ public class HdfsClient extends BaseClient {
try {
testResult = connectionObj.listFiles("/", null,null);
} catch (HadoopException e) {
- LOG.error("<== HdfsClient.testConnection() error " + e.getMessage(),e );
+ LOG.error("<== HdfsClient.connectionTest() error " + e.getMessage(),e );
throw e;
}
@@ -244,7 +244,7 @@ public class HdfsClient extends BaseClient {
generateResponseDataMap(connectivityStatus, testconnMsg, additionalMsg,
null, null, responseData);
}
- LOG.info("<== HdfsClient.testConnection(): Status " + testconnMsg );
+ LOG.info("<== HdfsClient.connectionTest(): Status " + testconnMsg );
return responseData;
}