[ https://issues.apache.org/jira/browse/HIVE-11450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14654187#comment-14654187 ]
Hive QA commented on HIVE-11450: -------------------------------- {color:red}Overall{color}: -1 no tests executed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12748609/HIVE-11450.2.patch Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/4822/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/4822/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-4822/ Messages: {noformat} **** This message was trimmed, see log for full details **** [WARNING] commons-beanutils-core-1.8.0.jar, commons-beanutils-1.7.0.jar define 82 overlappping classes: [WARNING] - org.apache.commons.beanutils.Converter [WARNING] - org.apache.commons.beanutils.WrapDynaBean [WARNING] - org.apache.commons.beanutils.converters.IntegerConverter [WARNING] - org.apache.commons.beanutils.locale.LocaleBeanUtilsBean [WARNING] - org.apache.commons.beanutils.locale.converters.DoubleLocaleConverter [WARNING] - org.apache.commons.beanutils.locale.converters.DecimalLocaleConverter [WARNING] - org.apache.commons.beanutils.converters.ShortConverter [WARNING] - org.apache.commons.beanutils.converters.StringArrayConverter [WARNING] - org.apache.commons.beanutils.locale.LocaleConvertUtilsBean [WARNING] - org.apache.commons.beanutils.LazyDynaClass [WARNING] - 72 more... [WARNING] geronimo-jta_1.1_spec-1.1.1.jar, jta-1.1.jar define 18 overlappping classes: [WARNING] - javax.transaction.RollbackException [WARNING] - javax.transaction.HeuristicMixedException [WARNING] - javax.transaction.InvalidTransactionException [WARNING] - javax.transaction.xa.XAException [WARNING] - javax.transaction.Synchronization [WARNING] - javax.transaction.HeuristicRollbackException [WARNING] - javax.transaction.HeuristicCommitException [WARNING] - javax.transaction.xa.XAResource [WARNING] - javax.transaction.TransactionSynchronizationRegistry [WARNING] - javax.transaction.TransactionRolledbackException [WARNING] - 8 more... [WARNING] jsp-2.1-6.1.14.jar, jasper-runtime-5.5.12.jar define 43 overlappping classes: [WARNING] - org.apache.jasper.runtime.ProtectedFunctionMapper$2 [WARNING] - org.apache.jasper.runtime.PageContextImpl$3 [WARNING] - org.apache.jasper.runtime.JspFactoryImpl$PrivilegedGetPageContext [WARNING] - org.apache.jasper.runtime.PageContextImpl$4 [WARNING] - org.apache.jasper.runtime.JspFactoryImpl [WARNING] - org.apache.jasper.runtime.ProtectedFunctionMapper$1 [WARNING] - org.apache.jasper.JasperException [WARNING] - org.apache.jasper.runtime.PerThreadTagHandlerPool$PerThreadData [WARNING] - org.apache.jasper.util.FastDateFormat [WARNING] - org.apache.jasper.runtime.PageContextImpl$8 [WARNING] - 33 more... [WARNING] jsp-2.1-6.1.14.jar, jasper-compiler-5.5.12.jar define 143 overlappping classes: [WARNING] - org.apache.jasper.compiler.TagLibraryInfoImpl [WARNING] - org.apache.jasper.xmlparser.SymbolTable [WARNING] - org.apache.jasper.compiler.Generator$FragmentHelperClass$Fragment [WARNING] - org.apache.jasper.compiler.Generator$1TagHandlerPoolVisitor [WARNING] - org.apache.jasper.compiler.ScriptingVariabler [WARNING] - org.apache.jasper.compiler.SmapStratum$LineInfo [WARNING] - org.apache.jasper.compiler.Node$AttributeGenerator [WARNING] - org.apache.jasper.compiler.Node [WARNING] - org.apache.jasper.compiler.Node$JspAttribute [WARNING] - org.apache.jasper.compiler.tagplugin.TagPlugin [WARNING] - 133 more... [WARNING] commons-collections-3.2.1.jar, commons-beanutils-core-1.8.0.jar, commons-beanutils-1.7.0.jar define 10 overlappping classes: [WARNING] - org.apache.commons.collections.FastHashMap$EntrySet [WARNING] - org.apache.commons.collections.ArrayStack [WARNING] - org.apache.commons.collections.FastHashMap$1 [WARNING] - org.apache.commons.collections.FastHashMap$KeySet [WARNING] - org.apache.commons.collections.FastHashMap$CollectionView [WARNING] - org.apache.commons.collections.BufferUnderflowException [WARNING] - org.apache.commons.collections.Buffer [WARNING] - org.apache.commons.collections.FastHashMap$CollectionView$CollectionViewIterator [WARNING] - org.apache.commons.collections.FastHashMap$Values [WARNING] - org.apache.commons.collections.FastHashMap [WARNING] jsp-2.1-6.1.14.jar, jasper-compiler-5.5.12.jar, jasper-runtime-5.5.12.jar define 1 overlappping classes: [WARNING] - org.apache.jasper.compiler.Localizer [WARNING] jline-2.12.jar, leveldbjni-all-1.8.jar define 4 overlappping classes: [WARNING] - org.fusesource.hawtjni.runtime.JNIEnv [WARNING] - org.fusesource.hawtjni.runtime.PointerMath [WARNING] - org.fusesource.hawtjni.runtime.Library [WARNING] - org.fusesource.hawtjni.runtime.Callback [WARNING] maven-shade-plugin has detected that some .class files [WARNING] are present in two or more JARs. When this happens, only [WARNING] one single version of the class is copied in the uberjar. [WARNING] Usually this is not harmful and you can skeep these [WARNING] warnings, otherwise try to manually exclude artifacts [WARNING] based on mvn dependency:tree -Ddetail=true and the above [WARNING] output [WARNING] See http://docs.codehaus.org/display/MAVENUSER/Shade+Plugin [INFO] Attaching shaded artifact. [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ hive-jdbc --- [INFO] Installing /data/hive-ptest/working/apache-github-source-source/jdbc/target/hive-jdbc-2.0.0-SNAPSHOT.jar to /home/hiveptest/.m2/repository/org/apache/hive/hive-jdbc/2.0.0-SNAPSHOT/hive-jdbc-2.0.0-SNAPSHOT.jar [INFO] Installing /data/hive-ptest/working/apache-github-source-source/jdbc/pom.xml to /home/hiveptest/.m2/repository/org/apache/hive/hive-jdbc/2.0.0-SNAPSHOT/hive-jdbc-2.0.0-SNAPSHOT.pom [INFO] Installing /data/hive-ptest/working/apache-github-source-source/jdbc/target/hive-jdbc-2.0.0-SNAPSHOT-standalone.jar to /home/hiveptest/.m2/repository/org/apache/hive/hive-jdbc/2.0.0-SNAPSHOT/hive-jdbc-2.0.0-SNAPSHOT-standalone.jar [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Hive Beeline 2.0.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ hive-beeline --- [INFO] Deleting /data/hive-ptest/working/apache-github-source-source/beeline/target [INFO] Deleting /data/hive-ptest/working/apache-github-source-source/beeline (includes = [datanucleus.log, derby.log], excludes = []) [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-no-snapshots) @ hive-beeline --- [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ hive-beeline --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ hive-beeline --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 3 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-antrun-plugin:1.7:run (define-classpath) @ hive-beeline --- [INFO] Executing tasks main: [INFO] Executed tasks [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ hive-beeline --- [INFO] Compiling 34 source files to /data/hive-ptest/working/apache-github-source-source/beeline/target/classes [INFO] ------------------------------------------------------------- [WARNING] COMPILATION WARNING : [INFO] ------------------------------------------------------------- [WARNING] /data/hive-ptest/working/apache-github-source-source/beeline/src/java/org/apache/hive/beeline/SunSignalHandler.java:[28,16] sun.misc.Signal is internal proprietary API and may be removed in a future release [WARNING] /data/hive-ptest/working/apache-github-source-source/beeline/src/java/org/apache/hive/beeline/SunSignalHandler.java:[29,16] sun.misc.SignalHandler is internal proprietary API and may be removed in a future release [WARNING] /data/hive-ptest/working/apache-github-source-source/beeline/src/java/org/apache/hive/beeline/SunSignalHandler.java:[31,64] sun.misc.SignalHandler is internal proprietary API and may be removed in a future release [WARNING] /data/hive-ptest/working/apache-github-source-source/beeline/src/java/org/apache/hive/beeline/SunSignalHandler.java:[37,24] sun.misc.Signal is internal proprietary API and may be removed in a future release [WARNING] /data/hive-ptest/working/apache-github-source-source/beeline/src/java/org/apache/hive/beeline/SunSignalHandler.java:[37,5] sun.misc.Signal is internal proprietary API and may be removed in a future release [WARNING] /data/hive-ptest/working/apache-github-source-source/beeline/src/java/org/apache/hive/beeline/SunSignalHandler.java:[44,23] sun.misc.Signal is internal proprietary API and may be removed in a future release [WARNING] /data/hive-ptest/working/apache-github-source-source/beeline/src/java/org/apache/hive/beeline/Commands.java: /data/hive-ptest/working/apache-github-source-source/beeline/src/java/org/apache/hive/beeline/Commands.java uses or overrides a deprecated API. [WARNING] /data/hive-ptest/working/apache-github-source-source/beeline/src/java/org/apache/hive/beeline/Commands.java: Recompile with -Xlint:deprecation for details. [WARNING] /data/hive-ptest/working/apache-github-source-source/beeline/src/java/org/apache/hive/beeline/BeeLine.java: Some input files use unchecked or unsafe operations. [WARNING] /data/hive-ptest/working/apache-github-source-source/beeline/src/java/org/apache/hive/beeline/BeeLine.java: Recompile with -Xlint:unchecked for details. [INFO] 10 warnings [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /data/hive-ptest/working/apache-github-source-source/beeline/src/java/org/apache/hive/beeline/BeeLine.java:[879,11] cannot find symbol symbol: variable hist location: class org.apache.hive.beeline.BeeLine [ERROR] /data/hive-ptest/working/apache-github-source-source/beeline/src/java/org/apache/hive/beeline/BeeLine.java:[882,84] cannot find symbol symbol: variable hist location: class org.apache.hive.beeline.BeeLine [ERROR] /data/hive-ptest/working/apache-github-source-source/beeline/src/java/org/apache/hive/beeline/BeeLine.java:[885,42] cannot find symbol symbol: variable hist location: class org.apache.hive.beeline.BeeLine [INFO] 3 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Hive .............................................. SUCCESS [15.412s] [INFO] Hive Shims Common ................................. SUCCESS [12.465s] [INFO] Hive Shims 0.20S .................................. SUCCESS [3.452s] [INFO] Hive Shims 0.23 ................................... SUCCESS [10.384s] [INFO] Hive Shims Scheduler .............................. SUCCESS [1.985s] [INFO] Hive Shims ........................................ SUCCESS [2.417s] [INFO] Hive Storage API .................................. SUCCESS [3.188s] [INFO] Hive Common ....................................... SUCCESS [17.868s] [INFO] Hive Serde ........................................ SUCCESS [16.366s] [INFO] Hive Metastore .................................... SUCCESS [38.483s] [INFO] Hive Ant Utilities ................................ SUCCESS [2.238s] [INFO] Spark Remote Client ............................... SUCCESS [18.349s] [INFO] Hive Query Language ............................... SUCCESS [2:43.113s] [INFO] Hive Service ...................................... SUCCESS [11.743s] [INFO] Hive Accumulo Handler ............................. SUCCESS [6.889s] [INFO] Hive JDBC ......................................... SUCCESS [17.845s] [INFO] Hive Beeline ...................................... FAILURE [2.071s] [INFO] Hive CLI .......................................... SKIPPED [INFO] Hive Contrib ...................................... SKIPPED [INFO] Hive HBase Handler ................................ SKIPPED [INFO] Hive HCatalog ..................................... SKIPPED [INFO] Hive HCatalog Core ................................ SKIPPED [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 Shims Aggregator ............................. SKIPPED [INFO] Hive TestUtils .................................... SKIPPED [INFO] Hive Packaging .................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 5:47.588s [INFO] Finished at: Tue Aug 04 15:15:49 EDT 2015 [INFO] Final Memory: 183M/689M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project hive-beeline: Compilation failure: Compilation failure: [ERROR] /data/hive-ptest/working/apache-github-source-source/beeline/src/java/org/apache/hive/beeline/BeeLine.java:[879,11] cannot find symbol [ERROR] symbol: variable hist [ERROR] location: class org.apache.hive.beeline.BeeLine [ERROR] /data/hive-ptest/working/apache-github-source-source/beeline/src/java/org/apache/hive/beeline/BeeLine.java:[882,84] cannot find symbol [ERROR] symbol: variable hist [ERROR] location: class org.apache.hive.beeline.BeeLine [ERROR] /data/hive-ptest/working/apache-github-source-source/beeline/src/java/org/apache/hive/beeline/BeeLine.java:[885,42] cannot find symbol [ERROR] symbol: variable hist [ERROR] location: class org.apache.hive.beeline.BeeLine [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-beeline + exit 1 ' {noformat} This message is automatically generated. ATTACHMENT ID: 12748609 - PreCommit-HIVE-TRUNK-Build > Resources are not cleaned up properly at multiple places > -------------------------------------------------------- > > Key: HIVE-11450 > URL: https://issues.apache.org/jira/browse/HIVE-11450 > Project: Hive > Issue Type: Bug > Components: JDBC > Reporter: Nezih Yigitbasi > Assignee: Nezih Yigitbasi > Attachments: HIVE-11450.2.patch, HIVE-11450.patch > > > I noticed that various resources aren't properly cleaned up in various > classes. To be specific, > * Some streams aren't properly cleaned up in > {{beeline/src/java/org/apache/hive/beeline/BeeLine.java}} and > {{beeline/src/java/org/apache/hive/beeline/BeeLineOpts.java}} > * {{Statement}}, {{ResultSet}}, and {{Connection}} aren't properly cleaned up > in {{beeline/src/java/org/apache/hive/beeline/HiveSchemaTool.java}} > * {{Statement}} and {{ResultSet}} aren't properly cleaned up in > {{jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java}} -- This message was sent by Atlassian JIRA (v6.3.4#6332)