phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chinmay Kulkarni (Jira)" <j...@apache.org>
Subject [jira] [Closed] (PHOENIX-5531) IndexUpgradeTool crashes for tables without any indexes + Sleep problems
Date Sat, 21 Dec 2019 00:55:07 GMT

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

Chinmay Kulkarni closed PHOENIX-5531.
-------------------------------------

Bulk closing Jiras for the 4.15.0 release.

> 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)

Mime
View raw message