[ https://issues.apache.org/jira/browse/PHOENIX-1248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14299921#comment-14299921 ]
James Taylor edited comment on PHOENIX-1248 at 1/31/15 6:48 PM: ---------------------------------------------------------------- Thanks for the patch, [~gabriel.reid]. If we can remove the necessity of an additional config parameter, that would be good. However, the prefixing of _LOCAL_IDX_ to the table name is not exposed to the user. They only know the index table name (which is how it's named in the Phoenix metadata), and the physical table for the local indexes is created behind the scenes and is shared among all them. [~rajeshbabu] - any way to not have this config parameter? Worst case, I suppose we could have a config param that specifies that an index is a local index? was (Author: jamestaylor): Thanks for the patch, [~gabriel.reid]. If we can remove the necessity of an additional config parameter, that would be good. However, the prefixing of _LOCAL_IDX_ to the table name is not exposed to the user. They only know the index table name (which is how it's named in the Phoenix metadata), and the physical table for the index is shared among all local indexes. [~rajeshbabu] - any way to not have this config parameter? Worst case, I suppose we could have a config param that specifies that an index is a local index? > CsvBulkLoadTool is failing with IAE when local index specified for > --index-table parameter > ------------------------------------------------------------------------------------------ > > Key: PHOENIX-1248 > URL: https://issues.apache.org/jira/browse/PHOENIX-1248 > Project: Phoenix > Issue Type: Bug > Affects Versions: 4.1 > Reporter: rajeshbabu > Assignee: Rajeshbabu Chintaguntla > Fix For: 5.0.0, 4.3 > > Attachments: PHOENIX-1248.patch, PHOENIX-1248b.patch, p1248_0.log > > > {code} > 14/09/11 22:38:11 INFO mapreduce.HFileOutputFormat2: Writing partition > information to /tmp/partitions_81e2ee23-836c-4eae-b413-ac6bd6a96623 > 14/09/11 22:38:11 ERROR mapreduce.CsvBulkLoadTool: Import job on > table=TEST_IDX failed due to exception:java.lang.IllegalArgumentException: No > regions passed > 14/09/11 22:38:11 INFO client.HConnectionManager$HConnectionImplementation: > Closing zookeeper sessionid=0x148123145090287 > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)