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

Akira AJISAKA commented on MAPREDUCE-6243:
------------------------------------------

Thanks [~iwasakims] for the patch. Here are two comments:
{code}
+      InputStream is = new 
ByteArrayInputStream(xmlString.getBytes(Charsets.UTF_8));
{code}
# Would you render a line within 80 characters?
# I prefer {{java.nio.Charset.forName("UTF-8")}} to 
{{org.google.common.base.Charsets.UTF-8}} because the latter needs an extra 
dependency. However, the latter is already used in hadoop source code, so this 
comment is trivial. (Eventually, you can use either of them.)

> Fix findbugs warnings in hadoop-rumen
> -------------------------------------
>
>                 Key: MAPREDUCE-6243
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6243
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: tools/rumen
>    Affects Versions: 2.6.0
>            Reporter: Akira AJISAKA
>            Assignee: Masatake Iwasaki
>            Priority: Minor
>              Labels: newbie
>         Attachments: MAPREDUCE-6243.001.patch, findbugs.xml
>
>
> There are 7 findbugs warnings in hadoop-rumen modules.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to