HADOOP-6622. Token should not print the password in toString.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1156855 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Eli Collins 2011-08-11 22:57:51 +00:00
parent fdd81b2224
commit 7153d50108
2 changed files with 2 additions and 2 deletions

View File

@ -486,6 +486,8 @@ Trunk (unreleased changes)
HADOOP-7357. hadoop.io.compress.TestCodec#main() should exit with
non-zero exit code if test failed. (Philip Zeyliger via eli)
HADOOP-6622. Token should not print the password in toString. (eli)
Release 0.22.0 - Unreleased
INCOMPATIBLE CHANGES

View File

@ -238,8 +238,6 @@ public class Token<T extends TokenIdentifier> implements Writable {
StringBuilder buffer = new StringBuilder();
buffer.append("Ident: ");
addBinaryBuffer(buffer, identifier);
buffer.append(", Pass: ");
addBinaryBuffer(buffer, password);
buffer.append(", Kind: ");
buffer.append(kind.toString());
buffer.append(", Service: ");