You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "ramkrishna.s.vasudevan (JIRA)" <ji...@apache.org> on 2014/10/04 19:26:34 UTC

[jira] [Commented] (PHOENIX-1318) Tables with Put coprocessor cannot use HRegion.mutateRowsWithLocks()

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

ramkrishna.s.vasudevan commented on PHOENIX-1318:
-------------------------------------------------

Yes. True even I faced this problem when I tried using HTable.mutateRow(RowMutations) on the SYSTEM.STATS table.
Hence I finally settled down with
{code}
            if (mutations.size() > 0) {
                statisticsTable.batch(mutations, res);
            }
{code}

> Tables with Put coprocessor cannot use HRegion.mutateRowsWithLocks()
> --------------------------------------------------------------------
>
>                 Key: PHOENIX-1318
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1318
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 3.1, 4.1
>            Reporter: James Taylor
>
> Ran into this originally with the SYSTEM.CATALOG table, and we hacked around it by not putting the Put coprocessors on it (which means it can't have mutable indexes). Ran into it again now with the SYSTEM.STATS table (FYI, [~ramkrishna]). If you remember why, [~jesse_yates] would you mind adding a comment here? We should get to the bottom of the issue and get a fix in if possible (maybe requires an HBase change?).



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