[jira] [Created] (HIVE-25108) Do Not Log and Throw MetaExceptions

2021-05-12 Thread David Mollitor (Jira)
David Mollitor created HIVE-25108:
-

 Summary: Do Not Log and Throw MetaExceptions
 Key: HIVE-25108
 URL: https://issues.apache.org/jira/browse/HIVE-25108
 Project: Hive
  Issue Type: Improvement
Reporter: David Mollitor
Assignee: David Mollitor


"Log and throw" is a bad pattern and leads to logging the same error multiple 
times.

There is code in Hive that explicitly implements this behavior and should 
therefore be removed.



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


[jira] [Created] (HIVE-25107) Thread classpath logging should be optional

2021-05-12 Thread Jira
László Bodor created HIVE-25107:
---

 Summary: Thread classpath logging should be optional
 Key: HIVE-25107
 URL: https://issues.apache.org/jira/browse/HIVE-25107
 Project: Hive
  Issue Type: Improvement
Reporter: László Bodor






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


[jira] [Created] (HIVE-25106) Do not exclude avatica and protobuf for Iceberg

2021-05-12 Thread Marton Bod (Jira)
Marton Bod created HIVE-25106:
-

 Summary: Do not exclude avatica and protobuf for Iceberg
 Key: HIVE-25106
 URL: https://issues.apache.org/jira/browse/HIVE-25106
 Project: Hive
  Issue Type: Improvement
Reporter: Marton Bod
Assignee: Marton Bod


When running tests from the IDE, the current dependency exclusions in the 
hive-iceberg pom can result in:
{code:java}
Caused by: java.lang.ClassNotFoundException: 
com.google.protobuf.GeneratedMessageV3 at 
java.net.URLClassLoader.findClass(URLClassLoader.java:382) at 
java.lang.ClassLoader.loadClass(ClassLoader.java:418) at 
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352) at 
java.lang.ClassLoader.loadClass(ClassLoader.java:351) ... 62 more
 
{code}
and
{code:java}
 Caused by: java.lang.NoClassDefFoundError: Could not initialize class 
org.apache.calcite.avatica.ConnectionPropertiesImpl at 
org.apache.calcite.avatica.MetaImpl.(MetaImpl.java:72) at 
org.apache.calcite.jdbc.CalciteMetaImpl.(CalciteMetaImpl.java:85) at 
org.apache.calcite.jdbc.Driver.createMeta(Driver.java:169) at 
org.apache.calcite.avatica.AvaticaConnection.(AvaticaConnection.java:121){code}
{{}}
when running {{testCBOWithSelectedColumnsOverlapJoin}} and 
{{testCBOWithSelectedColumnsNonOverlapJoin}}



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