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

AnalyzeDDLTest.TestCreateTableLikeFileOrc failed

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Epic Color:
      ghx-label-7

      Description

      Parallel-all-tests:
      In ubuntu-16.04-from-scratch, org.apache.impala.analysis.AnalyzeDDLTest.TestCreateTableLikeFileOrc
      failed with
      Error during analysis:
      org.apache.impala.common.AnalysisException: Cannot infer schema, path does not exist: hdfs://localhost:20500/test-warehouse/managed/complextypestbl_orc_def/base_0000001/bucket_00000_0
      sql:
      create table if not exists newtbl_DNE like orc '/test-warehouse/managed/complextypestbl_orc_def/base_0000001/bucket_00000_0'

      Stacktrace
      java.lang.AssertionError:
      Error during analysis:
      org.apache.impala.common.AnalysisException: Cannot infer schema, path does not exist: hdfs://localhost:20500/test-warehouse/managed/complextypestbl_orc_def/base_0000001/bucket_00000_0
      sql:
      create table if not exists newtbl_DNE like orc '/test-warehouse/managed/complextypestbl_orc_def/base_0000001/bucket_00000_0'
      at org.junit.Assert.fail(Assert.java:88)
      at org.apache.impala.common.FrontendFixture.analyzeStmt(FrontendFixture.java:397)
      at org.apache.impala.common.FrontendTestBase.AnalyzesOk(FrontendTestBase.java:246)
      at org.apache.impala.common.FrontendTestBase.AnalyzesOk(FrontendTestBase.java:186)
      at org.apache.impala.analysis.AnalyzeDDLTest.TestCreateTableLikeFileOrc(AnalyzeDDLTest.java:2027)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
      at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
      at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
      at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
      at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
      at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
      at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:272)
      at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236)
      at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
      at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
      at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
      at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ychena Yongzhi Chen
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: