[jira] [Created] (HIVE-22598) Fix TestCompactor.testDisableCompactionDuringReplLoad flakyness

2019-12-07 Thread Peter Vary (Jira)
Peter Vary created HIVE-22598:
-

 Summary: Fix TestCompactor.testDisableCompactionDuringReplLoad 
flakyness
 Key: HIVE-22598
 URL: https://issues.apache.org/jira/browse/HIVE-22598
 Project: Hive
  Issue Type: Test
  Components: Tests
Reporter: Peter Vary
Assignee: Peter Vary


Have seen this failure several times:
{code}
org.junit.ComparisonFailure: expected: but was:
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
at 
org.apache.hadoop.hive.ql.txn.compactor.TestCompactor.testDisableCompactionDuringReplLoad(TestCompactor.java:1579)
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:47)
at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
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.ExternalResource$1.evaluate(ExternalResource.java:48)
at 
org.apache.hive.common.util.Retry$RetryingStatement.evaluate(Retry.java:61)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:379)
at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:340)
at 
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:125)
at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:413)
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (HIVE-22597) Include More Context in Database NoSuchObjectException

2019-12-07 Thread David Mollitor (Jira)
David Mollitor created HIVE-22597:
-

 Summary: Include More Context in Database NoSuchObjectException
 Key: HIVE-22597
 URL: https://issues.apache.org/jira/browse/HIVE-22597
 Project: Hive
  Issue Type: Improvement
Reporter: David Mollitor
Assignee: David Mollitor
 Attachments: HIVE-22597.1.patch

{code:none}
org.apache.hadoop.hive.metastore.api.NoSuchObjectException: default
at 
org.apache.hadoop.hive.metastore.ObjectStore.getDatabase(ObjectStore.java:717) 
~[hive-standalone-metastore-server-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT]
at sun.reflect.GeneratedMethodAccessor260.invoke(Unknown Source) ~[?:?]
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[?:1.8.0_102]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_102]
at 
org.apache.hadoop.hive.metastore.RawStoreProxy.invoke(RawStoreProxy.java:97) 
~[hive-standalone-metastore-server-4.0.0-SN
{code}

One can decipher that this exception is in regards to a database by looking at 
the stack trace, but it should be specified in the error message itself.  Also, 
there is no catalogue information provided, so it could be a bit ambiguous.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (HIVE-22596) RawStore used by Initiator is not thread-safe

2019-12-07 Thread Denys Kuzmenko (Jira)
Denys Kuzmenko created HIVE-22596:
-

 Summary: RawStore used by Initiator is not thread-safe
 Key: HIVE-22596
 URL: https://issues.apache.org/jira/browse/HIVE-22596
 Project: Hive
  Issue Type: Improvement
Reporter: Denys Kuzmenko


RawStore used by Initiator is not thread-safe.  To avoid synchronization, we 
can use ThreadLocal variables.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)