hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aengin...@apache.org
Subject [44/50] [abbrv] hadoop git commit: MAPREDUCE-6753. Variable in byte printed directly in mapreduce client. Contributed by Kai Sasaki.
Date Fri, 03 Mar 2017 22:05:36 GMT
MAPREDUCE-6753. Variable in byte printed directly in mapreduce client. Contributed by Kai Sasaki.


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

Branch: refs/heads/HDFS-7240
Commit: 19a1fc6373f0dea56e5845f19990d469428489bc
Parents: 3749152
Author: Akira Ajisaka <aajisaka@apache.org>
Authored: Fri Mar 3 16:11:10 2017 +0900
Committer: Akira Ajisaka <aajisaka@apache.org>
Committed: Fri Mar 3 16:11:10 2017 +0900

----------------------------------------------------------------------
 .../org/apache/hadoop/mapreduce/security/CredentialsTestJob.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/19a1fc63/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapreduce/security/CredentialsTestJob.java
----------------------------------------------------------------------
diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapreduce/security/CredentialsTestJob.java
b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapreduce/security/CredentialsTestJob.java
index 2141080..e66fb2f 100644
--- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapreduce/security/CredentialsTestJob.java
+++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapreduce/security/CredentialsTestJob.java
@@ -58,7 +58,6 @@ public class CredentialsTestJob extends Configured implements Tool {
       String secretName = "alias"+i;
       // get token storage and a key
       byte[] secretValue =  ts.getSecretKey(new Text(secretName));
-      System.out.println(secretValue);
 
       if (secretValue == null){
         throw new RuntimeException("The key "+ secretName + " is not available. "); 
@@ -66,6 +65,7 @@ public class CredentialsTestJob extends Configured implements Tool {
       }
 
       String secretValueStr = new String (secretValue);
+      System.out.println(secretValueStr);
 
       if  ( !("password"+i).equals(secretValueStr)){
         throw new RuntimeException("The key "+ secretName +


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