Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-7105

Some fe tests fail when run standalone

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 2.12.0
    • Impala 2.13.0, Impala 3.1.0
    • Frontend
    • None
    • ghx-label-5

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            tlipcon Todd Lipcon
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment