Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id BFF91200C2C for ; Fri, 3 Mar 2017 08:13:34 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id BECEC160B6D; Fri, 3 Mar 2017 07:13:34 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 11C00160B57 for ; Fri, 3 Mar 2017 08:13:33 +0100 (CET) Received: (qmail 75990 invoked by uid 500); 3 Mar 2017 07:13:33 -0000 Mailing-List: contact common-commits-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-commits@hadoop.apache.org Received: (qmail 75981 invoked by uid 99); 3 Mar 2017 07:13:33 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Mar 2017 07:13:33 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 17D05DFDEF; Fri, 3 Mar 2017 07:13:33 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: aajisaka@apache.org To: common-commits@hadoop.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: hadoop git commit: MAPREDUCE-6753. Variable in byte printed directly in mapreduce client. Contributed by Kai Sasaki. Date: Fri, 3 Mar 2017 07:13:33 +0000 (UTC) archived-at: Fri, 03 Mar 2017 07:13:34 -0000 Repository: hadoop Updated Branches: refs/heads/branch-2 e563cd869 -> e2fb9538f MAPREDUCE-6753. Variable in byte printed directly in mapreduce client. Contributed by Kai Sasaki. (cherry picked from commit 19a1fc6373f0dea56e5845f19990d469428489bc) Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/e2fb9538 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/e2fb9538 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/e2fb9538 Branch: refs/heads/branch-2 Commit: e2fb9538f0e2855d757bcbd586c37278824700ea Parents: e563cd8 Author: Akira Ajisaka Authored: Fri Mar 3 16:11:10 2017 +0900 Committer: Akira Ajisaka Committed: Fri Mar 3 16:13:26 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/e2fb9538/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