You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "BELUGA BEHR (JIRA)" <ji...@apache.org> on 2015/12/22 23:40:46 UTC

[jira] [Created] (HDFS-9593) BlockTokenIdentifier Code Review

BELUGA BEHR created HDFS-9593:
---------------------------------

             Summary: BlockTokenIdentifier Code Review
                 Key: HDFS-9593
                 URL: https://issues.apache.org/jira/browse/HDFS-9593
             Project: Hadoop HDFS
          Issue Type: Improvement
            Reporter: BELUGA BEHR
            Priority: Trivial


Please find attached a code review of BlockTokenIdentifier.

The only real change is using an explicit StringBuilder instead of an implicit one so that the internal buffer may be set more appropriately.  The relatively small default buffer of 16 bytes would need to be expanded several times to fit the incoming string.



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