You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Kai Sasaki (JIRA)" <ji...@apache.org> on 2017/03/06 15:17:33 UTC

[jira] [Updated] (MAPREDUCE-6855) Specify charset when create String in CredentialsTestJob

     [ https://issues.apache.org/jira/browse/MAPREDUCE-6855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kai Sasaki updated MAPREDUCE-6855:
----------------------------------
    Status: Patch Available  (was: Open)

> Specify charset when create String in CredentialsTestJob
> --------------------------------------------------------
>
>                 Key: MAPREDUCE-6855
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6855
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>            Reporter: Akira Ajisaka
>            Assignee: Kai Sasaki
>            Priority: Minor
>              Labels: newbie
>         Attachments: MAPREDUCE-6855.01.patch
>
>
> {code}
>       String secretValueStr = new String (secretValue);
> {code}
> should be
> {code}
>       String secretValueStr = new String(secretValue, StandardCharsets.UTF_8);
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org