You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by jh...@apache.org on 2017/03/06 18:18:22 UTC
[02/21] hadoop git commit: MAPREDUCE-6753. Variable in byte printed
directly in mapreduce client. Contributed by Kai Sasaki.
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/YARN-5734
Commit: 19a1fc6373f0dea56e5845f19990d469428489bc
Parents: 3749152
Author: Akira Ajisaka <aa...@apache.org>
Authored: Fri Mar 3 16:11:10 2017 +0900
Committer: Akira Ajisaka <aa...@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