[
https://issues.apache.org/jira/browse/HIVE-24148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aasha Medhi updated HIVE-24148:
-------------------------------
Description:
TestHiveStrictManagedMigration.testExternalMove checks for the table location
after migration.
This commit
https://github.com/apache/hive/commit/17ac1d9f230b8d663c09c22016753012a9b91edf
changes the table location.
So its failing with the following error
{code:java}
java.lang.AssertionError: Unexpected external warehouse directory structure in
/Users/amedhi/Documents/workspaces/workspaceHive/apache/hive/ql/target/tmp/org.apache.hadoop.hive.ql.util.TestHiveStrictManagedMigration-1599816373748/newExternal
expected:<[/extwhnone, /custdb.db, /custdb.db/custextwhwh/p=p1, /manwhwh,
/custdb.db/custmanwhwh/p=p2, /custdb.db/custextwhwh/p=p2, /manwhwh/p=p2,
/custdb.db/custmanwhwh/p=p1, /manwhnone, /manwhwh/p=p1, /extwhout, /manwhout,
/manwhmixed/p=p2, /extwhmixed/p=p2, /custdb.db/custmanwhwh, /extwhwh,
/extwhwh/p=p1, /extwhmixed, /custdb.db/custextwhwh, /extwhwh/p=p2,
/manwhmixed]> but was:<[/custdb.db]>
{code}
All pull requests are failing with the same error. Even on master this test is
failing.
This was not caught in your pull request because ptests didn't trigger after a
rebase. The commit just before your commit has add the
TestHiveStrictManagedMigration back.
was:
{code:java}
java.lang.AssertionError: Unexpected external warehouse directory structure in
/home/jenkins/agent/workspace/hive-precommit_PR-1477/ql/target/tmp/org.apache.hadoop.hive.ql.util.TestHiveStrictManagedMigration-1599778867955/newExternal
expected:<[/extwhnone, /custdb.db, /custdb.db/custextwhwh/p=p1, /manwhwh,
/custdb.db/custmanwhwh/p=p2, /custdb.db/custextwhwh/p=p2, /manwhwh/p=p2,
/custdb.db/custmanwhwh/p=p1, /manwhnone, /manwhwh/p=p1, /extwhout, /manwhout,
/manwhmixed/p=p2, /extwhmixed/p=p2, /custdb.db/custmanwhwh, /extwhwh,
/extwhwh/p=p1, /extwhmixed, /custdb.db/custextwhwh, /extwhwh/p=p2,
/manwhmixed]> but was:<[/custdb.db]> at
org.junit.Assert.fail(Assert.java:89) at
org.junit.Assert.failNotEquals(Assert.java:835) at
org.junit.Assert.assertEquals(Assert.java:120) at
org.apache.hadoop.hive.ql.util.TestHiveStrictManagedMigration.assertExternalTableLocations(TestHiveStrictManagedMigration.java:268)
at
org.apache.hadoop.hive.ql.util.TestHiveStrictManagedMigration.testExternalMove(TestHiveStrictManagedMigration.java:128)
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:59)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
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.rules.TestWatcher$1.evaluate(TestWatcher.java:61) at
org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at
org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at
org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at
org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at
org.junit.runners.ParentRunner.run(ParentRunner.java:413) at
org.junit.runner.JUnitCore.run(JUnitCore.java:137) at
org.junit.runner.JUnitCore.run(JUnitCore.java:115) at
org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:43)
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
at
java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at
java.util.Iterator.forEachRemaining(Iterator.java:116) at
java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) at
java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
at
java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485)
at
org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:82)
at
org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:73)
at
org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:248)
at
org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$5(DefaultLauncher.java:211)
at
org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:226)
at
org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:199)
at
org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:132)
at
org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154)
at
org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:123)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377)
at
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) at
org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451)
{code}
> TestHiveStrictManagedMigration.testExternalMove failing for all new PR.
> -----------------------------------------------------------------------
>
> Key: HIVE-24148
> URL: https://issues.apache.org/jira/browse/HIVE-24148
> Project: Hive
> Issue Type: Bug
> Reporter: Pravin Sinha
> Assignee: Naveen Gangam
> Priority: Major
>
> TestHiveStrictManagedMigration.testExternalMove checks for the table location
> after migration.
> This commit
> https://github.com/apache/hive/commit/17ac1d9f230b8d663c09c22016753012a9b91edf
> changes the table location.
> So its failing with the following error
> {code:java}
> java.lang.AssertionError: Unexpected external warehouse directory structure
> in
> /Users/amedhi/Documents/workspaces/workspaceHive/apache/hive/ql/target/tmp/org.apache.hadoop.hive.ql.util.TestHiveStrictManagedMigration-1599816373748/newExternal
> expected:<[/extwhnone, /custdb.db, /custdb.db/custextwhwh/p=p1, /manwhwh,
> /custdb.db/custmanwhwh/p=p2, /custdb.db/custextwhwh/p=p2, /manwhwh/p=p2,
> /custdb.db/custmanwhwh/p=p1, /manwhnone, /manwhwh/p=p1, /extwhout, /manwhout,
> /manwhmixed/p=p2, /extwhmixed/p=p2, /custdb.db/custmanwhwh, /extwhwh,
> /extwhwh/p=p1, /extwhmixed, /custdb.db/custextwhwh, /extwhwh/p=p2,
> /manwhmixed]> but was:<[/custdb.db]>
> {code}
>
> All pull requests are failing with the same error. Even on master this test
> is failing.
> This was not caught in your pull request because ptests didn't trigger after
> a rebase. The commit just before your commit has add the
> TestHiveStrictManagedMigration back.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)