ranger-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject [2/2] ranger git commit: RANGER-1418:In yarn plugin, there are some wrong logs.
Date Mon, 06 Mar 2017 10:07:18 GMT
RANGER-1418:In yarn plugin, there are some wrong logs.

Signed-off-by: Colm O hEigeartaigh <coheigea@apache.org>


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

Branch: refs/heads/master
Commit: e2f8b6be57f76661c76737f866dbb36d0392e63a
Parents: 362a548
Author: zhangqiang2 <zhangqiang2@zte.com.cn>
Authored: Fri Mar 3 03:27:07 2017 -0500
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Mon Mar 6 10:07:10 2017 +0000

----------------------------------------------------------------------
 .../java/org/apache/ranger/services/yarn/client/YarnClient.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ranger/blob/e2f8b6be/plugin-yarn/src/main/java/org/apache/ranger/services/yarn/client/YarnClient.java
----------------------------------------------------------------------
diff --git a/plugin-yarn/src/main/java/org/apache/ranger/services/yarn/client/YarnClient.java
b/plugin-yarn/src/main/java/org/apache/ranger/services/yarn/client/YarnClient.java
index e8ad7b9..7dbfa6d 100644
--- a/plugin-yarn/src/main/java/org/apache/ranger/services/yarn/client/YarnClient.java
+++ b/plugin-yarn/src/main/java/org/apache/ranger/services/yarn/client/YarnClient.java
@@ -69,7 +69,7 @@ public class YarnClient extends BaseClient {
 			LOG.error("No value found for configuration 'yarn.url'. YARN resource lookup will fail");
 		}
 		if (this.userName == null || this.userName.isEmpty()) {
-			LOG.error("No value found for configuration 'usename'. YARN resource lookup will fail");
+			LOG.error("No value found for configuration 'username'. YARN resource lookup will fail");
 		}
 		if (this.password == null || this.password.isEmpty()) {
 			LOG.error("No value found for configuration 'password'. YARN resource lookup will fail");


Mime
View raw message