hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-13387) Beeline fails silently from missing dependency
Date Fri, 01 Apr 2016 23:02:25 GMT

    [ https://issues.apache.org/jira/browse/HIVE-13387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15222494#comment-15222494
] 

Hive QA commented on HIVE-13387:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12796114/HIVE-13387.01.patch

{color:red}ERROR:{color} -1 due to no test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 23 failed/errored test(s), 9907 tests executed
*Failed tests:*
{noformat}
TestSparkCliDriver-groupby_map_ppr_multi_distinct.q-groupby10.q-timestamp_comparison.q-and-12-more
- did not produce a TEST-*.xml file
TestSparkCliDriver-parallel_join0.q-union_remove_9.q-smb_mapjoin_21.q-and-12-more - did not
produce a TEST-*.xml file
TestSparkCliDriver-ppd_join4.q-join9.q-ppd_join3.q-and-12-more - did not produce a TEST-*.xml
file
TestSparkCliDriver-timestamp_lazy.q-date_udf.q-auto_join4.q-and-12-more - did not produce
a TEST-*.xml file
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_ivyDownload
org.apache.hadoop.hive.cli.TestMiniSparkOnYarnCliDriver.testCliDriver_index_bitmap3
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.org.apache.hadoop.hive.cli.TestMiniTezCliDriver
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_auto_sortmerge_join_5
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_cbo_simple_select
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_create_merge_compressed
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_load_dyn_part3
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_mapreduce2
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_schema_evol_orc_acid_mapwork_table
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_union5
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_union6
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_update_orig_table
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_update_where_non_partitioned
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_vector_inner_join
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_vector_leftsemi_mapjoin
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_vector_struct_in
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_vectorization_13
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_vectorized_nested_mapjoin
org.apache.hive.jdbc.TestMultiSessionsHS2WithLocalClusterSpark.testSparkQuery
{noformat}

Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/7433/testReport
Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/7433/console
Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-7433/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 23 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12796114 - PreCommit-HIVE-TRUNK-Build

> Beeline fails silently from missing dependency
> ----------------------------------------------
>
>                 Key: HIVE-13387
>                 URL: https://issues.apache.org/jira/browse/HIVE-13387
>             Project: Hive
>          Issue Type: Task
>            Reporter: Reuben Kuhnert
>            Assignee: Reuben Kuhnert
>            Priority: Minor
>         Attachments: HIVE-13387.01.patch
>
>
> Beeline fails to connect because {{HiveSqlException}} dependency is not on classpath:
> {code}
> java.lang.reflect.InvocationTargetException
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at org.apache.hive.beeline.ReflectiveCommandHandler.execute(ReflectiveCommandHandler.java:52)
> 	at org.apache.hive.beeline.BeeLine.execCommandWithPrefix(BeeLine.java:1077)
> 	at org.apache.hive.beeline.BeeLine.dispatch(BeeLine.java:1116)
> 	at org.apache.hive.beeline.BeeLine.initArgs(BeeLine.java:762)
> 	at org.apache.hive.beeline.BeeLine.begin(BeeLine.java:841)
> 	at org.apache.hive.beeline.BeeLine.mainWithInputRedirection(BeeLine.java:493)
> 	at org.apache.hive.beeline.BeeLine.main(BeeLine.java:476)
> Caused by: java.lang.NoClassDefFoundError: org/apache/hive/service/cli/HiveSQLException
> 	at org.apache.hive.jdbc.HiveConnection.<init>(HiveConnection.java:131)
> 	at org.apache.hive.jdbc.HiveDriver.connect(HiveDriver.java:107)
> 	at java.sql.DriverManager.getConnection(DriverManager.java:571)
> 	at java.sql.DriverManager.getConnection(DriverManager.java:187)
> 	at org.apache.hive.beeline.DatabaseConnection.connect(DatabaseConnection.java:141)
> 	at org.apache.hive.beeline.DatabaseConnection.getConnection(DatabaseConnection.java:205)
> 	at org.apache.hive.beeline.Commands.connect(Commands.java:1393)
> 	at org.apache.hive.beeline.Commands.connect(Commands.java:1314)
> 	... 11 more
> Caused by: java.lang.ClassNotFoundException: org.apache.hive.service.cli.HiveSQLException
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> 	... 19 more
> {code}
> This happens when trying to run beeline as a standalone java application:
> {code}
> sircodesalot@excalibur:~/Dev/Cloudera/hive/beeline$ mvn exec:java -Dexec.args='-u jdbc:hive2://localhost:10000
sircodesalot' -Dexec.mainClass="org.apache.hive.beeline.BeeLine"
> [INFO] Scanning for projects...
> [INFO]                                                                         
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Hive Beeline 2.1.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- exec-maven-plugin:1.4.0:java (default-cli) @ hive-beeline ---
> Connecting to jdbc:hive2://localhost:10000
> ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging
only errors to the console.
> org/apache/hive/service/cli/HiveSQLException
> Beeline version ??? by Apache Hive
> // HERE: This will never connect because of ClassNotFoundException. 
> 0: jdbc:hive2://localhost:10000 (closed)>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message