phoenix-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-5247) DROP TABLE and DROP VIEW commands fail to drop second or higher level child views
Date Thu, 18 Apr 2019 06:48:00 GMT

    [ https://issues.apache.org/jira/browse/PHOENIX-5247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16820771#comment-16820771
] 

Hadoop QA commented on PHOENIX-5247:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12966321/PHOENIX-5247.4.14-HBase-1.2.001.patch
  against master branch at commit b431a4e733e35977ee3445c4c9f70d37c48cbdef.
  ATTACHMENT ID: 12966321

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:red}-1 tests included{color}.  The patch doesn't appear to include any new or modified
tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    {color:red}-1 patch{color}.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/PreCommit-PHOENIX-Build/2514//console

This message is automatically generated.

> DROP TABLE and DROP VIEW commands fail to drop second or higher level child views
> ---------------------------------------------------------------------------------
>
>                 Key: PHOENIX-5247
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5247
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.14.2
>            Reporter: Kadir OZDEMIR
>            Assignee: Kadir OZDEMIR
>            Priority: Major
>             Fix For: 4.14.2
>
>         Attachments: PHOENIX-5247.4.14-HBase-1.2.001.patch, PHOENIX-5247.4.14.1-HBase-1.2.001.patch
>
>
> We have seen large number of orphan views in our production environments. The method
(doDropTable) that is used to drop tables and views drops only the first level child views
of tables. This seems to be the main root cause for orphan views. doDropTable() is recursive
only when the table type is TABLE or SYSTEM. The table type for views is VIEW. The findChildViews
method returns the first level child views. So, doDropTable ignores dropping views of views
(i.e., second or higher level views).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message