hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jl...@apache.org
Subject hadoop git commit: YARN-5206. RegistrySecurity includes id:pass in exception text if considered invalid. Contributed by Steve Loughran (cherry picked from commit 8c8a377cac10b086a7ff37ee366b79e6b04d2738)
Date Wed, 08 Jun 2016 14:14:14 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2.8 19e578870 -> fb31aaef6


YARN-5206. RegistrySecurity includes id:pass in exception text if considered invalid. Contributed
by Steve Loughran
(cherry picked from commit 8c8a377cac10b086a7ff37ee366b79e6b04d2738)


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

Branch: refs/heads/branch-2.8
Commit: fb31aaef63ae7760b28012ebd56a386badfb743d
Parents: 19e5788
Author: Jason Lowe <jlowe@apache.org>
Authored: Wed Jun 8 14:11:25 2016 +0000
Committer: Jason Lowe <jlowe@apache.org>
Committed: Wed Jun 8 14:13:48 2016 +0000

----------------------------------------------------------------------
 .../apache/hadoop/registry/client/impl/zk/RegistrySecurity.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/fb31aaef/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-registry/src/main/java/org/apache/hadoop/registry/client/impl/zk/RegistrySecurity.java
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-registry/src/main/java/org/apache/hadoop/registry/client/impl/zk/RegistrySecurity.java
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-registry/src/main/java/org/apache/hadoop/registry/client/impl/zk/RegistrySecurity.java
index fc61460..49673fc 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-registry/src/main/java/org/apache/hadoop/registry/client/impl/zk/RegistrySecurity.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-registry/src/main/java/org/apache/hadoop/registry/client/impl/zk/RegistrySecurity.java
@@ -443,7 +443,7 @@ public class RegistrySecurity extends AbstractService {
    */
   public String digest(String idPasswordPair) throws IOException {
     if (StringUtils.isEmpty(idPasswordPair) || !isValid(idPasswordPair)) {
-      throw new IOException("Invalid id:password: " + idPasswordPair);
+      throw new IOException("Invalid id:password");
     }
     try {
       return DigestAuthenticationProvider.generateDigest(idPasswordPair);


---------------------------------------------------------------------
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