[ 
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)

Reply via email to