hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anoop Sam John (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-16139) Use CellUtil instead of KeyValueUtil in Import.java
Date Wed, 29 Jun 2016 05:01:45 GMT

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

Anoop Sam John commented on HBASE-16139:
----------------------------------------

{code}
+  import org.apache.hadoop.hbase.HConstants;
+  import org.apache.hadoop.hbase.KeyValue;
{code}
Seem unused imports. Pls remove.
Otherwise +1


> Use CellUtil instead of KeyValueUtil in Import.java
> ---------------------------------------------------
>
>                 Key: HBASE-16139
>                 URL: https://issues.apache.org/jira/browse/HBASE-16139
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: NIDHI GAMBHIR
>            Assignee: NIDHI GAMBHIR
>            Priority: Minor
>         Attachments: HBASE-16139.patch
>
>
> Currently in Import.java, map function uses KeyValueUtil.createFirstOnRow. This method
calls createByteArray which causes a lot of copying. Instead use CellUtil's createFirstOnRow
method.



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

Mime
View raw message