You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Gabriel Reid (JIRA)" <ji...@apache.org> on 2014/03/16 08:21:16 UTC

[jira] [Resolved] (PHOENIX-436) Is "batchSize" option at PhoenixHBaseStorage working as designed in PIG script

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

Gabriel Reid resolved PHOENIX-436.
----------------------------------

    Resolution: Fixed

Bulk resolve of closed issues imported from GitHub. This status was reached by first re-opening all closed imported issues and then resolving them in bulk.

> Is "batchSize" option at PhoenixHBaseStorage working as designed in PIG script
> ------------------------------------------------------------------------------
>
>                 Key: PHOENIX-436
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-436
>             Project: Phoenix
>          Issue Type: Task
>            Reporter: abraxas73
>
> I am using PhoenixHBaseStorage in my Pig script.
> After several experiment, I found out that records which has smaller number than "batchSize" value is ignored and they cannot be stored.
> For example) I have 8759 records to be stored, I set the batchSize option value to 1000. Then, below script just store 8000 records to HBase.
> STORE ACCOUNT_LOGINOUT_HB INTO 'hbase://ACCOUNT_LOGINOUT' using com.salesforce.phoenix.pig.PhoenixHBaseStorage('how-bmzookeeper01','-batchSize 1000');
> Is this behavior as desgned?
> So, I have to set batchSize option value to "1", to store all of my records.



--
This message was sent by Atlassian JIRA
(v6.2#6252)