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

stack updated HADOOP-2495:
--------------------------

    Attachment: perf.patch

Commit message:

M  src/contrib/hbase/src/test/org/apache/hadoop/hbase/io/TestTextSequence.java
    TextSequence no longer serializes.  Remove test for serialization.
M  src/contrib/hbase/src/java/org/apache/hadoop/hbase/HStoreKey.java
    Wrap the text byte buffer once in a ByteBuffer rather than per character 
get.
M  src/contrib/hbase/src/java/org/apache/hadoop/hbase/io/BatchOperation.java
    Put this class on a diet. Its readField is responsible for most of the
    object creation when running the sequentialWrite experiment from PE.
    Removed the Operation enum; nice but not really needed.
M  src/contrib/hbase/src/java/org/apache/hadoop/hbase/io/BatchUpdate.java
    If put has a null value, throw exception (null value means DELETE).
M  src/contrib/hbase/src/java/org/apache/hadoop/hbase/io/TextSequence.java
    Make it so it no longer serializes.  I can't think of a good reason why
    you'd want to serialize a TextSequence; if its happening, TS is being
    misused.
M  src/contrib/hbase/src/java/org/apache/hadoop/hbase/HRegion.java
    Call op.isPut instead of the removed op.getOp.

> [hbase] minor performance improvements: Slim-down BatchOperation
> ----------------------------------------------------------------
>
>                 Key: HADOOP-2495
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2495
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: contrib/hbase
>            Reporter: stack
>            Priority: Minor
>             Fix For: 0.16.0
>
>         Attachments: perf.patch
>
>
> A couple of little improvements slimming down the hot 
> BatchOperation.readFields method that is responsible for most object 
> creations during a bulk update.  Also, make a ByteBuffer once searching 
> column family rather than one per character get.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to