You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/06/06 03:21:00 UTC

[jira] [Commented] (IMPALA-7105) Some fe tests fail when run standalone

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

ASF subversion and git services commented on IMPALA-7105:
---------------------------------------------------------

Commit 88fe1283f1499ad3ebc73a40189b2fe4b5e4a093 in impala's branch refs/heads/master from [~tlipcon]
[ https://git-wip-us.apache.org/repos/asf?p=impala.git;h=88fe128 ]

IMPALA-7105. Ensure fe tests pass when running standalone

CatalogTest and HdfsStorageDescriptorTest would fail when run
individually because they relied on various initialization that only
occurs when FeSupport is loaded. These tests weren't explicitly loading
FeSupport, but instead relying on earlier tests in 'mvn test' to do so.

Tested that, with this change, I'm able to run these tests in Eclipse
and they pass. I also tested 'mvn test -DreuseForks=false' and verified
that all tests now pass in this mode.

Change-Id: I85286ba44f03526b487212a8ddadf71a9f427555
Reviewed-on: http://gerrit.cloudera.org:8080/10570
Reviewed-by: Vuk Ercegovac <ve...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>


> Some fe tests fail when run standalone
> --------------------------------------
>
>                 Key: IMPALA-7105
>                 URL: https://issues.apache.org/jira/browse/IMPALA-7105
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Frontend
>    Affects Versions: Impala 2.12.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Major
>
> CatalogTest and HdfsStorageDescriptor test fail when they are run standalone (eg from Eclipse or using mvn test -Dtest=...). The failure occurs because they depend on initialization that happens during JniCatalog and/or JniFrontend initialization, and those are only initialized if FeSupport has been initialized.
> When all of the tests are run via 'mvn test', this is not a problem since they run in the same JVM and it happens that some earlier test cases caused the initialization to occur. Setting the surefire configuration to 'reuseForks=false' also reproduces the issue.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org