You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Chinmay Kulkarni (Jira)" <ji...@apache.org> on 2019/10/16 23:53:00 UTC

[jira] [Updated] (PHOENIX-5531) IndexUpgradeTool crashes for tables without any indexes + Sleep problems

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

Chinmay Kulkarni updated PHOENIX-5531:
--------------------------------------
    Fix Version/s:     (was: 4.15.0)
                   5.1.1
                   4.15.1

> IndexUpgradeTool crashes for tables without any indexes + Sleep problems
> ------------------------------------------------------------------------
>
>                 Key: PHOENIX-5531
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5531
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.15.0, 4.14.3
>            Reporter: Priyank Porwal
>            Priority: Minor
>             Fix For: 4.15.1, 4.14.3, 5.1.1
>
>
> INFO: No indexes to rebuild for table <TableWithoutIndexes>
> Exception in thread "main" java.lang.NullPointerException
>     at org.apache.phoenix.mapreduce.index.IndexUpgradeTool.rebuildIndexes(IndexUpgradeTool.java:480)
>     at org.apache.phoenix.mapreduce.index.IndexUpgradeTool.rebuildIndexes(IndexUpgradeTool.java:419)
>     at org.apache.phoenix.mapreduce.index.IndexUpgradeTool.executeTool(IndexUpgradeTool.java:346)
>     at org.apache.phoenix.mapreduce.index.IndexUpgradeTool.executeTool(IndexUpgradeTool.java:312)
>     at org.apache.phoenix.mapreduce.index.IndexUpgradeTool.run(IndexUpgradeTool.java:175)
>     at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
>     at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
>     at org.apache.phoenix.mapreduce.index.IndexUpgradeTool.main(IndexUpgradeTool.java:673)
>  
> Also, the tool sleeps for expiry of cached table info's on clients can even when run in dry-mode. Besides, the sleep seems to be at the wrong point - before any changes to table/index metadata. The sleep needs to be after the metadata changes are done.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)