You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "ravi (JIRA)" <ji...@apache.org> on 2015/08/10 03:33:46 UTC

[jira] [Commented] (PHOENIX-2103) Pig tests aren't dropping tables as expected between test runs

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

ravi commented on PHOENIX-2103:
-------------------------------

[~jamestaylor] 
   It looks like the MetadataCache on the phoenix connection isn't pruned after each test.  From the test attached, we can observe that column definition isn't matching when we retrieve them from the PhoenixRuntime.  Any pointers on how to solve it ? 




> Pig tests aren't dropping tables as expected between test runs
> --------------------------------------------------------------
>
>                 Key: PHOENIX-2103
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2103
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: James Taylor
>            Assignee: maghamravikiran
>         Attachments: PHOENIX-2013-tests.patch, PHOENIX-2013-v1.patch, PhoenixHBaseLoadIT.java
>
>
> Looks like PhoenixHBaseLoaderIT isn't derived from any of our base test classes (hence it would not drop tables between classes). It should be derived from BaseHBaseManagedTimeIT in which case it would call the @After cleanUpAfterTest() method to drop tables.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)