[ 
https://issues.apache.org/jira/browse/MAPREDUCE-6753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15880884#comment-15880884
 ] 

Haibo Chen commented on MAPREDUCE-6753:
---------------------------------------

[~kaisasak], thanks for the quick update! While looking at this description 
again, it does not seem clear to me what issue this jira is reporting.
Is the problem that the secret value should not be printed out? Or is it that 
the byte content is not printed out?  If it is the former,  printing is 
probably OK given that this is a test. If it is the latter, I think we should 
convert the byte array to String and print it out. 

> Variable in byte printed directly in mapreduce client
> -----------------------------------------------------
>
>                 Key: MAPREDUCE-6753
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6753
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 2.7.2
>            Reporter: Nemo Chen
>            Assignee: Kai Sasaki
>              Labels: easyfix, easytest
>         Attachments: MAPREDUCE-6753.01.patch, MAPREDUCE-6753.02.patch
>
>
> Similar to the fix for HBASE-623, in file:
> hadoop-rel-release-2.7.2/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapreduce/security/CredentialsTestJob.java
> in line 61, the system out print a byte variable secretValue.
> {code}
> System.out.println(secretValue);
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to