phoenix-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <>
Subject [jira] [Commented] (PHOENIX-3710) Cannot use lowername data table name with indextool
Date Wed, 13 Feb 2019 19:03:00 GMT


Josh Elser commented on PHOENIX-3710:

{quote} * Once the commons-cli version gets bumped up to 1.3, the double double quoting workaround
stops working.{quote}
Appears that this was broken in CLI-185 and reported as broken in CLI-254, but remains unfixed
in all the latest release.

On the bright side, it seems like using {{-name='"value"'}} keeps the quotation marks present.

> Cannot use lowername data table name with indextool
> ---------------------------------------------------
>                 Key: PHOENIX-3710
>                 URL:
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.8.0
>            Reporter: Matthew Shipton
>            Assignee: Sergey Soldatov
>            Priority: Minor
>         Attachments: PHOENIX-3710.patch,, test.sql
> {code}
> hbase org.apache.phoenix.mapreduce.index.IndexTool --data-table \"my_lowcase_table\"
--index-table INDEX_TABLE --output-path /tmp/some_path
> {code}
> results in:
> {code}
> java.lang.IllegalArgumentException:  INDEX_TABLE is not an index table for MY_LOWCASE_TABLE
> {code}
> This is despite the data table being explictly lowercased.
> Appears to be referring to the lowcase table, not the uppercase version.
> Workaround exists by changing the tablename, but this is not always feasible.

This message was sent by Atlassian JIRA

View raw message