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-9642) Hive metastore client retries don't happen consistently for all api calls
Date Thu, 26 Nov 2015 12:32:11 GMT

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

Hive QA commented on HIVE-9642:
-------------------------------



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

{color:red}ERROR:{color} -1 due to build exiting with an error

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

Messages:
{noformat}
**** This message was trimmed, see log for full details ****
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ hive-hbase-handler
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /data/hive-ptest/working/apache-github-source-source/hbase-handler/src/test/resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (setup-test-dirs) @ hive-hbase-handler ---
[INFO] Executing tasks

main:
    [mkdir] Created dir: /data/hive-ptest/working/apache-github-source-source/hbase-handler/target/tmp
    [mkdir] Created dir: /data/hive-ptest/working/apache-github-source-source/hbase-handler/target/warehouse
    [mkdir] Created dir: /data/hive-ptest/working/apache-github-source-source/hbase-handler/target/tmp/conf
     [copy] Copying 14 files to /data/hive-ptest/working/apache-github-source-source/hbase-handler/target/tmp/conf
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ hive-hbase-handler
---
[INFO] Compiling 17 source files to /data/hive-ptest/working/apache-github-source-source/hbase-handler/target/test-classes
[WARNING] /data/hive-ptest/working/apache-github-source-source/hbase-handler/src/test/org/apache/hadoop/hive/hbase/TestHBaseSerDe.java:
Some input files use or override a deprecated API.
[WARNING] /data/hive-ptest/working/apache-github-source-source/hbase-handler/src/test/org/apache/hadoop/hive/hbase/TestHBaseSerDe.java:
Recompile with -Xlint:deprecation for details.
[WARNING] /data/hive-ptest/working/apache-github-source-source/hbase-handler/src/test/org/apache/hadoop/hive/hbase/avro/Address.java:
Some input files use unchecked or unsafe operations.
[WARNING] /data/hive-ptest/working/apache-github-source-source/hbase-handler/src/test/org/apache/hadoop/hive/hbase/avro/Address.java:
Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.16:test (default-test) @ hive-hbase-handler ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-jar-plugin:2.2:jar (default-jar) @ hive-hbase-handler ---
[INFO] Building jar: /data/hive-ptest/working/apache-github-source-source/hbase-handler/target/hive-hbase-handler-2.0.0-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ hive-hbase-handler
---
[INFO] 
[INFO] --- maven-jar-plugin:2.2:test-jar (default) @ hive-hbase-handler ---
[INFO] Building jar: /data/hive-ptest/working/apache-github-source-source/hbase-handler/target/hive-hbase-handler-2.0.0-SNAPSHOT-tests.jar
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ hive-hbase-handler ---
[INFO] Installing /data/hive-ptest/working/apache-github-source-source/hbase-handler/target/hive-hbase-handler-2.0.0-SNAPSHOT.jar
to /data/hive-ptest/working/maven/org/apache/hive/hive-hbase-handler/2.0.0-SNAPSHOT/hive-hbase-handler-2.0.0-SNAPSHOT.jar
[INFO] Installing /data/hive-ptest/working/apache-github-source-source/hbase-handler/pom.xml
to /data/hive-ptest/working/maven/org/apache/hive/hive-hbase-handler/2.0.0-SNAPSHOT/hive-hbase-handler-2.0.0-SNAPSHOT.pom
[INFO] Installing /data/hive-ptest/working/apache-github-source-source/hbase-handler/target/hive-hbase-handler-2.0.0-SNAPSHOT-tests.jar
to /data/hive-ptest/working/maven/org/apache/hive/hive-hbase-handler/2.0.0-SNAPSHOT/hive-hbase-handler-2.0.0-SNAPSHOT-tests.jar
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Hive HCatalog 2.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ hive-hcatalog ---
[INFO] Deleting /data/hive-ptest/working/apache-github-source-source/hcatalog/target
[INFO] Deleting /data/hive-ptest/working/apache-github-source-source/hcatalog (includes =
[datanucleus.log, derby.log], excludes = [])
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-no-snapshots) @ hive-hcatalog ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ hive-hcatalog ---
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (define-classpath) @ hive-hcatalog ---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (setup-test-dirs) @ hive-hcatalog ---
[INFO] Executing tasks

main:
    [mkdir] Created dir: /data/hive-ptest/working/apache-github-source-source/hcatalog/target/tmp
    [mkdir] Created dir: /data/hive-ptest/working/apache-github-source-source/hcatalog/target/warehouse
    [mkdir] Created dir: /data/hive-ptest/working/apache-github-source-source/hcatalog/target/tmp/conf
     [copy] Copying 14 files to /data/hive-ptest/working/apache-github-source-source/hcatalog/target/tmp/conf
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ hive-hcatalog ---
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ hive-hcatalog ---
[INFO] Installing /data/hive-ptest/working/apache-github-source-source/hcatalog/pom.xml to
/data/hive-ptest/working/maven/org/apache/hive/hcatalog/hive-hcatalog/2.0.0-SNAPSHOT/hive-hcatalog-2.0.0-SNAPSHOT.pom
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Hive HCatalog Core 2.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ hive-hcatalog-core ---
[INFO] Deleting /data/hive-ptest/working/apache-github-source-source/hcatalog/core/target
[INFO] Deleting /data/hive-ptest/working/apache-github-source-source/hcatalog/core (includes
= [datanucleus.log, derby.log], excludes = [])
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-no-snapshots) @ hive-hcatalog-core
---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ hive-hcatalog-core ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ hive-hcatalog-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /data/hive-ptest/working/apache-github-source-source/hcatalog/core/src/main/resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (define-classpath) @ hive-hcatalog-core ---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ hive-hcatalog-core ---
[INFO] Compiling 79 source files to /data/hive-ptest/working/apache-github-source-source/hcatalog/core/target/classes
[WARNING] /data/hive-ptest/working/apache-github-source-source/hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/InternalUtil.java:
Some input files use or override a deprecated API.
[WARNING] /data/hive-ptest/working/apache-github-source-source/hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/InternalUtil.java:
Recompile with -Xlint:deprecation for details.
[WARNING] /data/hive-ptest/working/apache-github-source-source/hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/HCatBaseInputFormat.java:
Some input files use unchecked or unsafe operations.
[WARNING] /data/hive-ptest/working/apache-github-source-source/hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/HCatBaseInputFormat.java:
Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ hive-hcatalog-core
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /data/hive-ptest/working/apache-github-source-source/hcatalog/core/src/test/resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (setup-test-dirs) @ hive-hcatalog-core ---
[INFO] Executing tasks

main:
    [mkdir] Created dir: /data/hive-ptest/working/apache-github-source-source/hcatalog/core/target/tmp
    [mkdir] Created dir: /data/hive-ptest/working/apache-github-source-source/hcatalog/core/target/warehouse
    [mkdir] Created dir: /data/hive-ptest/working/apache-github-source-source/hcatalog/core/target/tmp/conf
     [copy] Copying 14 files to /data/hive-ptest/working/apache-github-source-source/hcatalog/core/target/tmp/conf
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ hive-hcatalog-core
---
[INFO] Compiling 38 source files to /data/hive-ptest/working/apache-github-source-source/hcatalog/core/target/test-classes
[INFO] -------------------------------------------------------------
[WARNING] COMPILATION WARNING : 
[INFO] -------------------------------------------------------------
[WARNING] /data/hive-ptest/working/apache-github-source-source/hcatalog/core/src/test/java/org/apache/hive/hcatalog/mapreduce/TestHCatPartitioned.java:
Some input files use or override a deprecated API.
[WARNING] /data/hive-ptest/working/apache-github-source-source/hcatalog/core/src/test/java/org/apache/hive/hcatalog/mapreduce/TestHCatPartitioned.java:
Recompile with -Xlint:deprecation for details.
[INFO] 2 warnings 
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /data/hive-ptest/working/apache-github-source-source/hcatalog/core/src/test/java/org/apache/hive/hcatalog/cli/TestSemanticAnalysis.java:[131,46]
unreported exception org.apache.thrift.TException; must be caught or declared to be thrown
[ERROR] /data/hive-ptest/working/apache-github-source-source/hcatalog/core/src/test/java/org/apache/hive/hcatalog/cli/TestSemanticAnalysis.java:[144,38]
unreported exception org.apache.thrift.TException; must be caught or declared to be thrown
[ERROR] /data/hive-ptest/working/apache-github-source-source/hcatalog/core/src/test/java/org/apache/hive/hcatalog/cli/TestSemanticAnalysis.java:[146,38]
unreported exception org.apache.thrift.TException; must be caught or declared to be thrown
[ERROR] /data/hive-ptest/working/apache-github-source-source/hcatalog/core/src/test/java/org/apache/hive/hcatalog/cli/TestSemanticAnalysis.java:[148,38]
unreported exception org.apache.thrift.TException; must be caught or declared to be thrown
[ERROR] /data/hive-ptest/working/apache-github-source-source/hcatalog/core/src/test/java/org/apache/hive/hcatalog/cli/TestSemanticAnalysis.java:[152,39]
unreported exception org.apache.thrift.TException; must be caught or declared to be thrown
[ERROR] /data/hive-ptest/working/apache-github-source-source/hcatalog/core/src/test/java/org/apache/hive/hcatalog/cli/TestSemanticAnalysis.java:[153,39]
unreported exception org.apache.thrift.TException; must be caught or declared to be thrown
[INFO] 6 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Hive .............................................. SUCCESS [14.810s]
[INFO] Hive Shims Common ................................. SUCCESS [18.358s]
[INFO] Hive Shims 0.23 ................................... SUCCESS [11.942s]
[INFO] Hive Shims Scheduler .............................. SUCCESS [4.271s]
[INFO] Hive Shims ........................................ SUCCESS [2.484s]
[INFO] Hive Storage API .................................. SUCCESS [5.108s]
[INFO] Hive Common ....................................... SUCCESS [24.439s]
[INFO] Hive Serde ........................................ SUCCESS [18.764s]
[INFO] Hive Metastore .................................... SUCCESS [1:00.384s]
[INFO] Hive Ant Utilities ................................ SUCCESS [2.468s]
[INFO] Hive Llap Client .................................. SUCCESS [9.531s]
[INFO] Spark Remote Client ............................... SUCCESS [20.343s]
[INFO] Hive Query Language ............................... SUCCESS [2:35.261s]
[INFO] Hive Service ...................................... SUCCESS [10.560s]
[INFO] Hive Accumulo Handler ............................. SUCCESS [5.938s]
[INFO] Hive JDBC ......................................... SUCCESS [16.256s]
[INFO] Hive Beeline ...................................... SUCCESS [3.694s]
[INFO] Hive CLI .......................................... SUCCESS [2.291s]
[INFO] Hive Contrib ...................................... SUCCESS [2.188s]
[INFO] Hive HBase Handler ................................ SUCCESS [6.143s]
[INFO] Hive HCatalog ..................................... SUCCESS [0.768s]
[INFO] Hive HCatalog Core ................................ FAILURE [8.749s]
[INFO] Hive HCatalog Pig Adapter ......................... SKIPPED
[INFO] Hive HCatalog Server Extensions ................... SKIPPED
[INFO] Hive HCatalog Webhcat Java Client ................. SKIPPED
[INFO] Hive HCatalog Webhcat ............................. SKIPPED
[INFO] Hive HCatalog Streaming ........................... SKIPPED
[INFO] Hive HPL/SQL ...................................... SKIPPED
[INFO] Hive HWI .......................................... SKIPPED
[INFO] Hive ODBC ......................................... SKIPPED
[INFO] Hive Llap Server .................................. SKIPPED
[INFO] Hive Shims Aggregator ............................. SKIPPED
[INFO] Hive TestUtils .................................... SKIPPED
[INFO] Hive Packaging .................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6:48.409s
[INFO] Finished at: Thu Nov 26 07:31:24 EST 2015
[INFO] Final Memory: 212M/1137M
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "hadoop-2" could not be activated because it does not exist.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile
(default-testCompile) on project hive-hcatalog-core: Compilation failure: Compilation failure:
[ERROR] /data/hive-ptest/working/apache-github-source-source/hcatalog/core/src/test/java/org/apache/hive/hcatalog/cli/TestSemanticAnalysis.java:[131,46]
unreported exception org.apache.thrift.TException; must be caught or declared to be thrown
[ERROR] /data/hive-ptest/working/apache-github-source-source/hcatalog/core/src/test/java/org/apache/hive/hcatalog/cli/TestSemanticAnalysis.java:[144,38]
unreported exception org.apache.thrift.TException; must be caught or declared to be thrown
[ERROR] /data/hive-ptest/working/apache-github-source-source/hcatalog/core/src/test/java/org/apache/hive/hcatalog/cli/TestSemanticAnalysis.java:[146,38]
unreported exception org.apache.thrift.TException; must be caught or declared to be thrown
[ERROR] /data/hive-ptest/working/apache-github-source-source/hcatalog/core/src/test/java/org/apache/hive/hcatalog/cli/TestSemanticAnalysis.java:[148,38]
unreported exception org.apache.thrift.TException; must be caught or declared to be thrown
[ERROR] /data/hive-ptest/working/apache-github-source-source/hcatalog/core/src/test/java/org/apache/hive/hcatalog/cli/TestSemanticAnalysis.java:[152,39]
unreported exception org.apache.thrift.TException; must be caught or declared to be thrown
[ERROR] /data/hive-ptest/working/apache-github-source-source/hcatalog/core/src/test/java/org/apache/hive/hcatalog/cli/TestSemanticAnalysis.java:[153,39]
unreported exception org.apache.thrift.TException; must be caught or declared to be thrown
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following
articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :hive-hcatalog-core
+ exit 1
'
{noformat}

This message is automatically generated.

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

> Hive metastore client retries don't happen consistently for all api calls
> -------------------------------------------------------------------------
>
>                 Key: HIVE-9642
>                 URL: https://issues.apache.org/jira/browse/HIVE-9642
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 1.0.0
>            Reporter: Xiaobing Zhou
>            Assignee: Daniel Dai
>         Attachments: HIVE-9642.1.patch, HIVE-9642.2.patch, HIVE-9642.3.patch, HIVE-9642.4.patch
>
>
> When org.apache.thrift.transport.TTransportException is thrown for issues like socket
timeout, the retry via RetryingMetaStoreClient happens only in certain cases.
> Retry happens for the getDatabase call in but not for getAllDatabases().
> The reason is RetryingMetaStoreClient checks for TTransportException being the cause
for InvocationTargetException. But in case of some calls such as getAllDatabases in HiveMetastoreClient,
all exceptions get wrapped in a MetaException. We should remove this unnecessary wrapping
of exceptions for certain functions in HMC.



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

Mime
View raw message