[
https://issues.apache.org/jira/browse/HIVE-16993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16071179#comment-16071179
]
Hive QA commented on HIVE-16993:
--------------------------------
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12875344/HIVE-16993.5.patch
{color:red}ERROR:{color} -1 due to build exiting with an error
Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/5854/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/5854/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-5854/
Messages:
{noformat}
**** This message was trimmed, see log for full details ****
[loading
RegularFileObject[/data/hiveptest/working/apache-github-source-source/hcatalog/webhcat/svr/target/classes/org/apache/hive/hcatalog/templeton/ListDelegator$1.class]]
[loading
RegularFileObject[/data/hiveptest/working/apache-github-source-source/hcatalog/webhcat/svr/target/classes/org/apache/hive/hcatalog/templeton/HcatDelegator$1.class]]
[loading
RegularFileObject[/data/hiveptest/working/apache-github-source-source/hcatalog/webhcat/svr/target/classes/org/apache/hive/hcatalog/templeton/LauncherDelegator$2.class]]
[loading
RegularFileObject[/data/hiveptest/working/apache-github-source-source/hcatalog/webhcat/svr/target/classes/org/apache/hive/hcatalog/templeton/SecureProxySupport$3.class]]
[loading
RegularFileObject[/data/hiveptest/working/apache-github-source-source/hcatalog/webhcat/svr/target/classes/org/apache/hive/hcatalog/templeton/LauncherDelegator$1.class]]
[loading
RegularFileObject[/data/hiveptest/working/apache-github-source-source/hcatalog/webhcat/svr/target/classes/org/apache/hive/hcatalog/templeton/SecureProxySupport$1.class]]
[loading
RegularFileObject[/data/hiveptest/working/apache-github-source-source/hcatalog/webhcat/svr/target/classes/org/apache/hive/hcatalog/templeton/SecureProxySupport$2.class]]
[loading
RegularFileObject[/data/hiveptest/working/apache-github-source-source/hcatalog/webhcat/svr/target/classes/org/apache/hive/hcatalog/templeton/StatusDelegator$1.class]]
[loading
RegularFileObject[/data/hiveptest/working/apache-github-source-source/hcatalog/webhcat/svr/target/classes/org/apache/hive/hcatalog/templeton/tool/HDFSStorage$1.class]]
[loading
RegularFileObject[/data/hiveptest/working/apache-github-source-source/hcatalog/webhcat/svr/target/classes/org/apache/hive/hcatalog/templeton/tool/TempletonUtils$1.class]]
[loading
RegularFileObject[/data/hiveptest/working/apache-github-source-source/hcatalog/webhcat/svr/target/classes/org/apache/hive/hcatalog/templeton/tool/ZooKeeperStorage$1.class]]
[loading
RegularFileObject[/data/hiveptest/working/apache-github-source-source/hcatalog/webhcat/svr/target/classes/org/apache/hive/hcatalog/templeton/tool/TempletonControllerJob$1.class]]
[loading
RegularFileObject[/data/hiveptest/working/apache-github-source-source/hcatalog/webhcat/svr/target/classes/org/apache/hive/hcatalog/templeton/tool/TempletonControllerJob$1$1.class]]
[loading
RegularFileObject[/data/hiveptest/working/apache-github-source-source/hcatalog/webhcat/svr/target/classes/org/apache/hive/hcatalog/templeton/tool/LogRetriever$1.class]]
[done in 3235 ms]
+ [[ -d itests ]]
+ cd itests
+ mvn -B clean install -DskipTests -T 4 -q
-Dmaven.repo.local=/data/hiveptest/working/maven
[ERROR] COMPILATION ERROR :
[ERROR]
/data/hiveptest/working/apache-github-source-source/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java:[287,19]
no suitable constructor found for
Database(java.lang.String,java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
constructor org.apache.hadoop.hive.metastore.api.Database.Database() is not
applicable
(actual and formal argument lists differ in length)
constructor
org.apache.hadoop.hive.metastore.api.Database.Database(java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
is not applicable
(actual and formal argument lists differ in length)
constructor
org.apache.hadoop.hive.metastore.api.Database.Database(org.apache.hadoop.hive.metastore.api.Database)
is not applicable
(actual and formal argument lists differ in length)
[ERROR]
/data/hiveptest/working/apache-github-source-source/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java:[312,10]
no suitable constructor found for
Database(java.lang.String,java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
constructor org.apache.hadoop.hive.metastore.api.Database.Database() is not
applicable
(actual and formal argument lists differ in length)
constructor
org.apache.hadoop.hive.metastore.api.Database.Database(java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
is not applicable
(actual and formal argument lists differ in length)
constructor
org.apache.hadoop.hive.metastore.api.Database.Database(org.apache.hadoop.hive.metastore.api.Database)
is not applicable
(actual and formal argument lists differ in length)
[ERROR]
/data/hiveptest/working/apache-github-source-source/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java:[329,19]
no suitable constructor found for
Database(java.lang.String,java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
constructor org.apache.hadoop.hive.metastore.api.Database.Database() is not
applicable
(actual and formal argument lists differ in length)
constructor
org.apache.hadoop.hive.metastore.api.Database.Database(java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
is not applicable
(actual and formal argument lists differ in length)
constructor
org.apache.hadoop.hive.metastore.api.Database.Database(org.apache.hadoop.hive.metastore.api.Database)
is not applicable
(actual and formal argument lists differ in length)
[ERROR]
/data/hiveptest/working/apache-github-source-source/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java:[357,10]
no suitable constructor found for
Database(java.lang.String,java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
constructor org.apache.hadoop.hive.metastore.api.Database.Database() is not
applicable
(actual and formal argument lists differ in length)
constructor
org.apache.hadoop.hive.metastore.api.Database.Database(java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
is not applicable
(actual and formal argument lists differ in length)
constructor
org.apache.hadoop.hive.metastore.api.Database.Database(org.apache.hadoop.hive.metastore.api.Database)
is not applicable
(actual and formal argument lists differ in length)
[ERROR]
/data/hiveptest/working/apache-github-source-source/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java:[1281,19]
no suitable constructor found for
Database(java.lang.String,java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
constructor org.apache.hadoop.hive.metastore.api.Database.Database() is not
applicable
(actual and formal argument lists differ in length)
constructor
org.apache.hadoop.hive.metastore.api.Database.Database(java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
is not applicable
(actual and formal argument lists differ in length)
constructor
org.apache.hadoop.hive.metastore.api.Database.Database(org.apache.hadoop.hive.metastore.api.Database)
is not applicable
(actual and formal argument lists differ in length)
[ERROR]
/data/hiveptest/working/apache-github-source-source/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java:[1283,10]
no suitable constructor found for
Database(java.lang.String,java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
constructor org.apache.hadoop.hive.metastore.api.Database.Database() is not
applicable
(actual and formal argument lists differ in length)
constructor
org.apache.hadoop.hive.metastore.api.Database.Database(java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
is not applicable
(actual and formal argument lists differ in length)
constructor
org.apache.hadoop.hive.metastore.api.Database.Database(org.apache.hadoop.hive.metastore.api.Database)
is not applicable
(actual and formal argument lists differ in length)
[ERROR]
/data/hiveptest/working/apache-github-source-source/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java:[1285,10]
no suitable constructor found for
Database(java.lang.String,java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
constructor org.apache.hadoop.hive.metastore.api.Database.Database() is not
applicable
(actual and formal argument lists differ in length)
constructor
org.apache.hadoop.hive.metastore.api.Database.Database(java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
is not applicable
(actual and formal argument lists differ in length)
constructor
org.apache.hadoop.hive.metastore.api.Database.Database(org.apache.hadoop.hive.metastore.api.Database)
is not applicable
(actual and formal argument lists differ in length)
[ERROR]
/data/hiveptest/working/apache-github-source-source/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java:[1297,19]
no suitable constructor found for
Database(java.lang.String,java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
constructor org.apache.hadoop.hive.metastore.api.Database.Database() is not
applicable
(actual and formal argument lists differ in length)
constructor
org.apache.hadoop.hive.metastore.api.Database.Database(java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
is not applicable
(actual and formal argument lists differ in length)
constructor
org.apache.hadoop.hive.metastore.api.Database.Database(org.apache.hadoop.hive.metastore.api.Database)
is not applicable
(actual and formal argument lists differ in length)
[ERROR]
/data/hiveptest/working/apache-github-source-source/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java:[1299,10]
no suitable constructor found for
Database(java.lang.String,java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
constructor org.apache.hadoop.hive.metastore.api.Database.Database() is not
applicable
(actual and formal argument lists differ in length)
constructor
org.apache.hadoop.hive.metastore.api.Database.Database(java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
is not applicable
(actual and formal argument lists differ in length)
constructor
org.apache.hadoop.hive.metastore.api.Database.Database(org.apache.hadoop.hive.metastore.api.Database)
is not applicable
(actual and formal argument lists differ in length)
[ERROR]
/data/hiveptest/working/apache-github-source-source/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java:[1318,19]
no suitable constructor found for
Database(java.lang.String,java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
constructor org.apache.hadoop.hive.metastore.api.Database.Database() is not
applicable
(actual and formal argument lists differ in length)
constructor
org.apache.hadoop.hive.metastore.api.Database.Database(java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
is not applicable
(actual and formal argument lists differ in length)
constructor
org.apache.hadoop.hive.metastore.api.Database.Database(org.apache.hadoop.hive.metastore.api.Database)
is not applicable
(actual and formal argument lists differ in length)
[ERROR]
/data/hiveptest/working/apache-github-source-source/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java:[1320,10]
no suitable constructor found for
Database(java.lang.String,java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
constructor org.apache.hadoop.hive.metastore.api.Database.Database() is not
applicable
(actual and formal argument lists differ in length)
constructor
org.apache.hadoop.hive.metastore.api.Database.Database(java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
is not applicable
(actual and formal argument lists differ in length)
constructor
org.apache.hadoop.hive.metastore.api.Database.Database(org.apache.hadoop.hive.metastore.api.Database)
is not applicable
(actual and formal argument lists differ in length)
[ERROR]
/data/hiveptest/working/apache-github-source-source/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java:[1544,19]
no suitable constructor found for
Database(java.lang.String,java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
constructor org.apache.hadoop.hive.metastore.api.Database.Database() is not
applicable
(actual and formal argument lists differ in length)
constructor
org.apache.hadoop.hive.metastore.api.Database.Database(java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
is not applicable
(actual and formal argument lists differ in length)
constructor
org.apache.hadoop.hive.metastore.api.Database.Database(org.apache.hadoop.hive.metastore.api.Database)
is not applicable
(actual and formal argument lists differ in length)
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.6.1:testCompile
(default-testCompile) on project hive-hcatalog-it-unit: Compilation failure:
Compilation failure:
[ERROR]
/data/hiveptest/working/apache-github-source-source/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java:[287,19]
no suitable constructor found for
Database(java.lang.String,java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
[ERROR] constructor org.apache.hadoop.hive.metastore.api.Database.Database() is
not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] constructor
org.apache.hadoop.hive.metastore.api.Database.Database(java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] constructor
org.apache.hadoop.hive.metastore.api.Database.Database(org.apache.hadoop.hive.metastore.api.Database)
is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR]
/data/hiveptest/working/apache-github-source-source/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java:[312,10]
no suitable constructor found for
Database(java.lang.String,java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
[ERROR] constructor org.apache.hadoop.hive.metastore.api.Database.Database() is
not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] constructor
org.apache.hadoop.hive.metastore.api.Database.Database(java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] constructor
org.apache.hadoop.hive.metastore.api.Database.Database(org.apache.hadoop.hive.metastore.api.Database)
is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR]
/data/hiveptest/working/apache-github-source-source/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java:[329,19]
no suitable constructor found for
Database(java.lang.String,java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
[ERROR] constructor org.apache.hadoop.hive.metastore.api.Database.Database() is
not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] constructor
org.apache.hadoop.hive.metastore.api.Database.Database(java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] constructor
org.apache.hadoop.hive.metastore.api.Database.Database(org.apache.hadoop.hive.metastore.api.Database)
is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR]
/data/hiveptest/working/apache-github-source-source/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java:[357,10]
no suitable constructor found for
Database(java.lang.String,java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
[ERROR] constructor org.apache.hadoop.hive.metastore.api.Database.Database() is
not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] constructor
org.apache.hadoop.hive.metastore.api.Database.Database(java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] constructor
org.apache.hadoop.hive.metastore.api.Database.Database(org.apache.hadoop.hive.metastore.api.Database)
is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR]
/data/hiveptest/working/apache-github-source-source/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java:[1281,19]
no suitable constructor found for
Database(java.lang.String,java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
[ERROR] constructor org.apache.hadoop.hive.metastore.api.Database.Database() is
not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] constructor
org.apache.hadoop.hive.metastore.api.Database.Database(java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] constructor
org.apache.hadoop.hive.metastore.api.Database.Database(org.apache.hadoop.hive.metastore.api.Database)
is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR]
/data/hiveptest/working/apache-github-source-source/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java:[1283,10]
no suitable constructor found for
Database(java.lang.String,java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
[ERROR] constructor org.apache.hadoop.hive.metastore.api.Database.Database() is
not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] constructor
org.apache.hadoop.hive.metastore.api.Database.Database(java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] constructor
org.apache.hadoop.hive.metastore.api.Database.Database(org.apache.hadoop.hive.metastore.api.Database)
is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR]
/data/hiveptest/working/apache-github-source-source/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java:[1285,10]
no suitable constructor found for
Database(java.lang.String,java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
[ERROR] constructor org.apache.hadoop.hive.metastore.api.Database.Database() is
not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] constructor
org.apache.hadoop.hive.metastore.api.Database.Database(java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] constructor
org.apache.hadoop.hive.metastore.api.Database.Database(org.apache.hadoop.hive.metastore.api.Database)
is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR]
/data/hiveptest/working/apache-github-source-source/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java:[1297,19]
no suitable constructor found for
Database(java.lang.String,java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
[ERROR] constructor org.apache.hadoop.hive.metastore.api.Database.Database() is
not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] constructor
org.apache.hadoop.hive.metastore.api.Database.Database(java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] constructor
org.apache.hadoop.hive.metastore.api.Database.Database(org.apache.hadoop.hive.metastore.api.Database)
is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR]
/data/hiveptest/working/apache-github-source-source/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java:[1299,10]
no suitable constructor found for
Database(java.lang.String,java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
[ERROR] constructor org.apache.hadoop.hive.metastore.api.Database.Database() is
not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] constructor
org.apache.hadoop.hive.metastore.api.Database.Database(java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] constructor
org.apache.hadoop.hive.metastore.api.Database.Database(org.apache.hadoop.hive.metastore.api.Database)
is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR]
/data/hiveptest/working/apache-github-source-source/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java:[1318,19]
no suitable constructor found for
Database(java.lang.String,java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
[ERROR] constructor org.apache.hadoop.hive.metastore.api.Database.Database() is
not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] constructor
org.apache.hadoop.hive.metastore.api.Database.Database(java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] constructor
org.apache.hadoop.hive.metastore.api.Database.Database(org.apache.hadoop.hive.metastore.api.Database)
is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR]
/data/hiveptest/working/apache-github-source-source/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java:[1320,10]
no suitable constructor found for
Database(java.lang.String,java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
[ERROR] constructor org.apache.hadoop.hive.metastore.api.Database.Database() is
not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] constructor
org.apache.hadoop.hive.metastore.api.Database.Database(java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] constructor
org.apache.hadoop.hive.metastore.api.Database.Database(org.apache.hadoop.hive.metastore.api.Database)
is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR]
/data/hiveptest/working/apache-github-source-source/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java:[1544,19]
no suitable constructor found for
Database(java.lang.String,java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
[ERROR] constructor org.apache.hadoop.hive.metastore.api.Database.Database() is
not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] constructor
org.apache.hadoop.hive.metastore.api.Database.Database(java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] constructor
org.apache.hadoop.hive.metastore.api.Database.Database(org.apache.hadoop.hive.metastore.api.Database)
is not applicable
[ERROR] (actual and formal argument lists differ in length)
[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-it-unit
+ exit 1
'
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12875344 - PreCommit-HIVE-Build
> ThriftHiveMetastore.create_database can fail if the locationUri is not set
> --------------------------------------------------------------------------
>
> Key: HIVE-16993
> URL: https://issues.apache.org/jira/browse/HIVE-16993
> Project: Hive
> Issue Type: Bug
> Components: Metastore
> Reporter: Dan Burkert
> Assignee: Dan Burkert
> Attachments: HIVE-16993.0-master.patch, HIVE-16993.1-master.patch,
> HIVE-16993.2.patch, HIVE-16993.3.patch, HIVE-16993.4.patch, HIVE-16993.5.patch
>
>
> Calling
> [{{ThriftHiveMetastore.create_database}}|https://github.com/apache/hive/blob/3fa48346d509813977cd3c7622d581c0ccd51e99/metastore/if/hive_metastore.thrift#L1078]
> with a database with an unset {{locationUri}} field through the C++
> implementation fails with:
> {code}
> MetaException(message=java.lang.IllegalArgumentException: Can not create a
> Path from an empty string)
> {code}
> The
> [{{locationUri}}|https://github.com/apache/hive/blob/3fa48346d509813977cd3c7622d581c0ccd51e99/metastore/if/hive_metastore.thrift#L270]
> Thrift field is 'default requiredness (implicit)', and Thrift [does not
> specify|https://thrift.apache.org/docs/idl#default-requiredness-implicit]
> whether unset default requiredness fields are encoded. Empirically, the Java
> generated code [does not write the
> {{locationUri}}|https://github.com/apache/hive/blob/3fa48346d509813977cd3c7622d581c0ccd51e99/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Database.java#L938-L942]
> when the field is unset, while the C++ generated code
> [does|https://github.com/apache/hive/blob/3fa48346d509813977cd3c7622d581c0ccd51e99/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp#L3888-L3890].
> The MetaStore treats the field as optional, and [fills in a default
> value|https://github.com/apache/hive/blob/3fa48346d509813977cd3c7622d581c0ccd51e99/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java#L867-L871]
> if the field is unset.
> The end result is that when the C++ implementation sends a {{Database}}
> without the field set, it actually writes an empty string, and the MetaStore
> treats it as a set field (non-null), and then calls a {{Path}} API which
> rejects the empty string. The fix is simple: make the {{locationUri}} field
> optional in metastore.thrift.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)