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-12916) Cleanup metastore to put unnecessary parameters in EnvironmentContext
Date Mon, 25 Jan 2016 04:43:39 GMT

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

Hive QA commented on HIVE-12916:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12784085/HIVE-12916.01.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/6729/testReport
Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/6729/console
Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-6729/

Messages:
{noformat}
**** This message was trimmed, see log for full details ****
[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 16 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
[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] 
[INFO] --- maven-surefire-plugin:2.16:test (default-test) @ hive-hcatalog-core ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-jar-plugin:2.2:jar (default-jar) @ hive-hcatalog-core ---
[INFO] Building jar: /data/hive-ptest/working/apache-github-source-source/hcatalog/core/target/hive-hcatalog-core-2.1.0-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ hive-hcatalog-core
---
[INFO] 
[INFO] --- maven-jar-plugin:2.2:test-jar (default) @ hive-hcatalog-core ---
[INFO] Building jar: /data/hive-ptest/working/apache-github-source-source/hcatalog/core/target/hive-hcatalog-core-2.1.0-SNAPSHOT-tests.jar
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ hive-hcatalog-core ---
[INFO] Installing /data/hive-ptest/working/apache-github-source-source/hcatalog/core/target/hive-hcatalog-core-2.1.0-SNAPSHOT.jar
to /data/hive-ptest/working/maven/org/apache/hive/hcatalog/hive-hcatalog-core/2.1.0-SNAPSHOT/hive-hcatalog-core-2.1.0-SNAPSHOT.jar
[INFO] Installing /data/hive-ptest/working/apache-github-source-source/hcatalog/core/pom.xml
to /data/hive-ptest/working/maven/org/apache/hive/hcatalog/hive-hcatalog-core/2.1.0-SNAPSHOT/hive-hcatalog-core-2.1.0-SNAPSHOT.pom
[INFO] Installing /data/hive-ptest/working/apache-github-source-source/hcatalog/core/target/hive-hcatalog-core-2.1.0-SNAPSHOT-tests.jar
to /data/hive-ptest/working/maven/org/apache/hive/hcatalog/hive-hcatalog-core/2.1.0-SNAPSHOT/hive-hcatalog-core-2.1.0-SNAPSHOT-tests.jar
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Hive HCatalog Pig Adapter 2.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ hive-hcatalog-pig-adapter ---
[INFO] Deleting /data/hive-ptest/working/apache-github-source-source/hcatalog/hcatalog-pig-adapter/target
[INFO] Deleting /data/hive-ptest/working/apache-github-source-source/hcatalog/hcatalog-pig-adapter
(includes = [datanucleus.log, derby.log], excludes = [])
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-no-snapshots) @ hive-hcatalog-pig-adapter
---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ hive-hcatalog-pig-adapter
---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ hive-hcatalog-pig-adapter
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /data/hive-ptest/working/apache-github-source-source/hcatalog/hcatalog-pig-adapter/src/main/resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (define-classpath) @ hive-hcatalog-pig-adapter ---
[INFO] Executing tasks

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

main:
    [mkdir] Created dir: /data/hive-ptest/working/apache-github-source-source/hcatalog/hcatalog-pig-adapter/target/tmp
    [mkdir] Created dir: /data/hive-ptest/working/apache-github-source-source/hcatalog/hcatalog-pig-adapter/target/warehouse
    [mkdir] Created dir: /data/hive-ptest/working/apache-github-source-source/hcatalog/hcatalog-pig-adapter/target/tmp/conf
     [copy] Copying 16 files to /data/hive-ptest/working/apache-github-source-source/hcatalog/hcatalog-pig-adapter/target/tmp/conf
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ hive-hcatalog-pig-adapter
---
[INFO] Compiling 13 source files to /data/hive-ptest/working/apache-github-source-source/hcatalog/hcatalog-pig-adapter/target/test-classes
[WARNING] /data/hive-ptest/working/apache-github-source-source/hcatalog/hcatalog-pig-adapter/src/test/java/org/apache/hive/hcatalog/pig/TestPigHCatUtil.java:
Some input files use or override a deprecated API.
[WARNING] /data/hive-ptest/working/apache-github-source-source/hcatalog/hcatalog-pig-adapter/src/test/java/org/apache/hive/hcatalog/pig/TestPigHCatUtil.java:
Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.16:test (default-test) @ hive-hcatalog-pig-adapter ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-jar-plugin:2.2:jar (default-jar) @ hive-hcatalog-pig-adapter ---
[INFO] Building jar: /data/hive-ptest/working/apache-github-source-source/hcatalog/hcatalog-pig-adapter/target/hive-hcatalog-pig-adapter-2.1.0-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ hive-hcatalog-pig-adapter
---
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ hive-hcatalog-pig-adapter
---
[INFO] Installing /data/hive-ptest/working/apache-github-source-source/hcatalog/hcatalog-pig-adapter/target/hive-hcatalog-pig-adapter-2.1.0-SNAPSHOT.jar
to /data/hive-ptest/working/maven/org/apache/hive/hcatalog/hive-hcatalog-pig-adapter/2.1.0-SNAPSHOT/hive-hcatalog-pig-adapter-2.1.0-SNAPSHOT.jar
[INFO] Installing /data/hive-ptest/working/apache-github-source-source/hcatalog/hcatalog-pig-adapter/pom.xml
to /data/hive-ptest/working/maven/org/apache/hive/hcatalog/hive-hcatalog-pig-adapter/2.1.0-SNAPSHOT/hive-hcatalog-pig-adapter-2.1.0-SNAPSHOT.pom
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Hive HCatalog Server Extensions 2.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ hive-hcatalog-server-extensions
---
[INFO] Deleting /data/hive-ptest/working/apache-github-source-source/hcatalog/server-extensions/target
[INFO] Deleting /data/hive-ptest/working/apache-github-source-source/hcatalog/server-extensions
(includes = [datanucleus.log, derby.log], excludes = [])
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-no-snapshots) @ hive-hcatalog-server-extensions
---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ hive-hcatalog-server-extensions
---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ hive-hcatalog-server-extensions
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /data/hive-ptest/working/apache-github-source-source/hcatalog/server-extensions/src/main/resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (define-classpath) @ hive-hcatalog-server-extensions
---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ hive-hcatalog-server-extensions
---
[INFO] Compiling 26 source files to /data/hive-ptest/working/apache-github-source-source/hcatalog/server-extensions/target/classes
[INFO] -------------------------------------------------------------
[WARNING] COMPILATION WARNING : 
[INFO] -------------------------------------------------------------
[WARNING] /data/hive-ptest/working/apache-github-source-source/hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/messaging/MessageFactory.java:
/data/hive-ptest/working/apache-github-source-source/hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/messaging/MessageFactory.java
uses unchecked or unsafe operations.
[WARNING] /data/hive-ptest/working/apache-github-source-source/hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/messaging/MessageFactory.java:
Recompile with -Xlint:unchecked for details.
[INFO] 2 warnings 
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /data/hive-ptest/working/apache-github-source-source/hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/listener/NotificationListener.java:[218,16]
cannot find symbol
  symbol:   method alter_table(java.lang.String,java.lang.String,org.apache.hadoop.hive.metastore.api.Table)
  location: variable handler of type org.apache.hadoop.hive.metastore.HiveMetaStore.HMSHandler
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Hive .............................................. SUCCESS [13.127s]
[INFO] Hive Shims Common ................................. SUCCESS [19.378s]
[INFO] Hive Shims 0.23 ................................... SUCCESS [13.079s]
[INFO] Hive Shims Scheduler .............................. SUCCESS [3.446s]
[INFO] Hive Shims ........................................ SUCCESS [2.457s]
[INFO] Hive Storage API .................................. SUCCESS [7.018s]
[INFO] Hive ORC .......................................... SUCCESS [16.800s]
[INFO] Hive Common ....................................... SUCCESS [26.039s]
[INFO] Hive Serde ........................................ SUCCESS [16.201s]
[INFO] Hive Metastore .................................... SUCCESS [49.420s]
[INFO] Hive Ant Utilities ................................ SUCCESS [1.835s]
[INFO] Hive Llap Client .................................. SUCCESS [12.305s]
[INFO] Hive Service RPC .................................. SUCCESS [12.330s]
[INFO] Spark Remote Client ............................... SUCCESS [18.239s]
[INFO] Hive Query Language ............................... SUCCESS [2:12.821s]
[INFO] Hive Service ...................................... SUCCESS [7.140s]
[INFO] Hive Accumulo Handler ............................. SUCCESS [7.061s]
[INFO] Hive JDBC ......................................... SUCCESS [16.366s]
[INFO] Hive Beeline ...................................... SUCCESS [2.745s]
[INFO] Hive CLI .......................................... SUCCESS [2.593s]
[INFO] Hive Contrib ...................................... SUCCESS [1.932s]
[INFO] Hive HBase Handler ................................ SUCCESS [6.597s]
[INFO] Hive HCatalog ..................................... SUCCESS [0.908s]
[INFO] Hive HCatalog Core ................................ SUCCESS [4.192s]
[INFO] Hive HCatalog Pig Adapter ......................... SUCCESS [3.222s]
[INFO] Hive HCatalog Server Extensions ................... FAILURE [2.226s]
[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:43.063s
[INFO] Finished at: Sun Jan 24 23:43:06 EST 2016
[INFO] Final Memory: 214M/976M
[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:compile
(default-compile) on project hive-hcatalog-server-extensions: Compilation failure
[ERROR] /data/hive-ptest/working/apache-github-source-source/hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/listener/NotificationListener.java:[218,16]
cannot find symbol
[ERROR] symbol:   method alter_table(java.lang.String,java.lang.String,org.apache.hadoop.hive.metastore.api.Table)
[ERROR] location: variable handler of type org.apache.hadoop.hive.metastore.HiveMetaStore.HMSHandler
[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-server-extensions
+ exit 1
'
{noformat}

This message is automatically generated.

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

> Cleanup metastore to put unnecessary parameters in EnvironmentContext
> ---------------------------------------------------------------------
>
>                 Key: HIVE-12916
>                 URL: https://issues.apache.org/jira/browse/HIVE-12916
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Pengcheng Xiong
>            Assignee: Pengcheng Xiong
>         Attachments: HIVE-12916.01.patch
>
>
> for example, void alter_table(1:string dbname, 2:string tbl_name, 3:Table new_tbl) and
void alter_table_with_environment_context(1:string dbname, 2:string tbl_name, 3:Table new_tbl,
4:EnvironmentContext environment_context), we plan to keep only the latter one.



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

Mime
View raw message