You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Lars Hofhansl (Jira)" <ji...@apache.org> on 2019/12/08 22:04: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 ]
Lars Hofhansl updated PHOENIX-5531:
-----------------------------------
Fix Version/s: (was: 4.15.1)
4.15.0
> 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
> Assignee: Swaroopa Kadam
> Priority: Minor
> Fix For: 4.15.0, 4.14.3, 5.1.1
>
> Attachments: PHOENIX-5531.4.14-HBase-1.3.patch, PHOENIX-5531.4.x-HBase-1.3.patch, PHOENIX-5531.patch
>
> Time Spent: 3.5h
> Remaining Estimate: 0h
>
> 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)