[
https://issues.apache.org/jira/browse/MAPREDUCE-1320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12845710#action_12845710
]
Kay Kay commented on MAPREDUCE-1320:
------------------------------------
org.apache.hadoop.security.TestMapredGroupMappingServiceRefresh.testGroupMappingRefresh
(from TestMapredGroupMappingServiceRefresh)
java.lang.IllegalArgumentException: port out of range:-1
at java.net.InetSocketAddress.<init>(InetSocketAddress.java:118)
at
org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:385)
at
org.apache.hadoop.hdfs.server.namenode.NameNode.activate(NameNode.java:323)
at
org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:310)
at
org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:430)
at
org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:418)
at
org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1333)
at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:278)
at
org.apache.hadoop.security.TestMapredGroupMappingServiceRefresh.setUp(TestMapredGroupMappingServiceRefresh.java:85)
Does not seem to do with this patch though.
> StringBuffer -> StringBuilder occurence
> ----------------------------------------
>
> Key: MAPREDUCE-1320
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-1320
> Project: Hadoop Map/Reduce
> Issue Type: Improvement
> Affects Versions: 0.22.0
> Reporter: Kay Kay
> Fix For: 0.22.0
>
> Attachments: MAPREDUCE-1320.patch, MAPREDUCE-1320.patch
>
>
> A good number of toString() implementations use StringBuffer when the
> reference clearly does not go out of scope of the method and no concurrency
> is needed. Patch contains replacing those occurences from StringBuffer to
> StringBuilder.
> Created against map/reduce project trunk .
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.