You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Arina Ielchiieva (Jira)" <ji...@apache.org> on 2019/11/13 22:09:00 UTC

[jira] [Commented] (DRILL-6904) Update maven-javadoc-plugin to 3.0.1 version

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

Arina Ielchiieva commented on DRILL-6904:
-----------------------------------------

[~volodymyr] please check if we can update before 1.17.

> Update maven-javadoc-plugin to 3.0.1 version
> --------------------------------------------
>
>                 Key: DRILL-6904
>                 URL: https://issues.apache.org/jira/browse/DRILL-6904
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Tools, Build &amp; Test
>    Affects Versions: 1.14.0
>            Reporter: Vitalii Diravka
>            Assignee: Vova Vysotskyi
>            Priority: Major
>             Fix For: Future
>
>
> Currently Drill [{{maven-javadoc-plugin}}|https://maven.apache.org/plugins/maven-javadoc-plugin/javadoc-mojo.html] version is {{2.10.3}} ({{2.10.4}} when DRILL-6900 to be merged).
>  But apache-21.pom parent POM file has the latest 3.0.1 version of this plugin.
>  Drill can't use it, since it causes failures in the process of running {{maven-release-plugin}}.
>  {{release:prepare}} stage fails with the following error:
> {code:java}
> [INFO] [ERROR] /home/vitalii/src/release/drill/target/checkout/contrib/storage-hive/core/src/main/java/org/apache/drill/exec/expr/fn/impl/hive/AbstractDrillPrimitiveObjectInspector.java:[26,47] error: cannot find symbol
> [INFO]   symbol:   class PrimitiveTypeInfo
> [INFO]   location: class AbstractDrillPrimitiveObjectInspector
> [INFO] [INFO] 100 errors 
> [INFO] [INFO] -------------------------------------------------------------
> [INFO] [INFO] ------------------------------------------------------------------------
> [INFO] [INFO] Reactor Summary for Apache Drill Root POM 1.15.0:
> [INFO] [INFO] 
> [INFO] [INFO] Apache Drill Root POM .............................. SUCCESS [ 37.579 s]
> [INFO] [INFO] tools/Parent Pom ................................... SUCCESS [  6.360 s]
> [INFO] [INFO] tools/freemarker codegen tooling ................... SUCCESS [ 26.726 s]
> [INFO] [INFO] Drill Protocol ..................................... SUCCESS [ 41.030 s]
> [INFO] [INFO] Common (Logical Plan, Base expressions) ............ SUCCESS [ 27.754 s]
> [INFO] [INFO] Logical Plan, Base expressions ..................... SUCCESS [ 29.154 s]
> [INFO] [INFO] exec/Parent Pom .................................... SUCCESS [  6.252 s]
> [INFO] [INFO] exec/memory/Parent Pom ............................. SUCCESS [  6.074 s]
> [INFO] [INFO] exec/memory/base ................................... SUCCESS [ 24.909 s]
> [INFO] [INFO] exec/rpc ........................................... SUCCESS [ 24.191 s]
> [INFO] [INFO] exec/Vectors ....................................... SUCCESS [01:50 min]
> [INFO] [INFO] contrib/Parent Pom ................................. SUCCESS [  6.173 s]
> [INFO] [INFO] contrib/data/Parent Pom ............................ SUCCESS [  6.058 s]
> [INFO] [INFO] contrib/data/tpch-sample-data ...................... SUCCESS [ 19.704 s]
> [INFO] [INFO] exec/Java Execution Engine ......................... SUCCESS [01:57 min]
> [INFO] [INFO] exec/JDBC Driver using dependencies ................ SUCCESS [ 32.619 s]
> [INFO] [INFO] JDBC JAR with all dependencies ..................... FAILURE [01:16 min]
> [INFO] [INFO] Drill-on-YARN ...................................... SKIPPED
> [INFO] [INFO] contrib/kudu-storage-plugin ........................ SKIPPED
> [INFO] [INFO] contrib/opentsdb-storage-plugin .................... SKIPPED
> [INFO] [INFO] contrib/mongo-storage-plugin ....................... SKIPPED
> [INFO] [INFO] contrib/hbase-storage-plugin ....................... SKIPPED
> [INFO] [INFO] contrib/jdbc-storage-plugin ........................ SKIPPED
> [INFO] [INFO] contrib/hive-storage-plugin/Parent Pom ............. SKIPPED
> [INFO] [INFO] contrib/hive-storage-plugin/hive-exec-shaded ....... SKIPPED
> [INFO] [INFO] contrib/mapr-format-plugin ......................... SKIPPED
> [INFO] [INFO] contrib/hive-storage-plugin/core ................... SKIPPED
> [INFO] [INFO] contrib/kafka-storage-plugin ....................... SKIPPED
> [INFO] [INFO] contrib/drill-udfs ................................. SKIPPED
> [INFO] [INFO] Packaging and Distribution Assembly ................ SKIPPED
> [INFO] [INFO] ------------------------------------------------------------------------
> [INFO] [INFO] BUILD FAILURE
> [INFO] [INFO] ------------------------------------------------------------------------
> [INFO] [INFO] Total time:  09:58 min
> [INFO] [INFO] Finished at: 2018-12-12T19:18:08+02:00
> [INFO] [INFO] ------------------------------------------------------------------------
> [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project drill-storage-hive-core: Compilation failure: Compilation failure: 
> [INFO] [ERROR] /home/vitalii/src/release/drill/target/checkout/contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/HiveMetadataProvider.java:[32,36] error: package org.apache.hadoop.hive.common does not exist
> [INFO] [ERROR] /home/vitalii/src/release/drill/target/checkout/contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/HiveMetadataProvider.java:[33,34] error: package org.apache.hadoop.hive.conf does not exist
> [INFO] [ERROR] /home/vitalii/src/release/drill/target/checkout/contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/HiveScan.java:[43,34] error: package org.apache.hadoop.hive.conf does not exist
> [INFO] [ERROR] /home/vitalii/src/release/drill/target/checkout/contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/DrillHiveMetaStoreClient.java:[40,62] error: package org.apache.hadoop.hive.ql.security.authorization.plugin does not exist
> [INFO] [ERROR] /home/vitalii/src/release/drill/target/checkout/contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/DrillHiveMetaStoreClient.java:[41,35] error: package org.apache.hadoop.hive.shims does not exist
> [INFO] [ERROR] /home/vitalii/src/release/drill/target/checkout/contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/HiveScan.java:[139,9] error: cannot find symbol
> ...
> [INFO] [ERROR] /home/vitalii/src/release/drill/target/checkout/contrib/storage-hive/core/src/main/java/org/apache/drill/exec/expr/fn/impl/hive/AbstractDrillPrimitiveObjectInspector.java:[26,47] error: cannot find symbol
> [INFO]   symbol:   class PrimitiveTypeInfo
> [INFO]   location: class AbstractDrillPrimitiveObjectInspector
> [INFO] [INFO] 100 errors 
> [INFO] [INFO] -------------------------------------------------------------
> [INFO] [INFO] ------------------------------------------------------------------------
> [INFO] [INFO] Reactor Summary for Apache Drill Root POM 1.15.0:
> [INFO] [INFO] 
> [INFO] [INFO] Apache Drill Root POM .............................. SUCCESS [ 37.579 s]
> [INFO] [INFO] tools/Parent Pom ................................... SUCCESS [  6.360 s]
> [INFO] [INFO] tools/freemarker codegen tooling ................... SUCCESS [ 26.726 s]
> [INFO] [INFO] Drill Protocol ..................................... SUCCESS [ 41.030 s]
> [INFO] [INFO] Common (Logical Plan, Base expressions) ............ SUCCESS [ 27.754 s]
> [INFO] [INFO] Logical Plan, Base expressions ..................... SUCCESS [ 29.154 s]
> [INFO] [INFO] exec/Parent Pom .................................... SUCCESS [  6.252 s]
> [INFO] [INFO] exec/memory/Parent Pom ............................. SUCCESS [  6.074 s]
> [INFO] [INFO] exec/memory/base ................................... SUCCESS [ 24.909 s]
> [INFO] [INFO] exec/rpc ........................................... SUCCESS [ 24.191 s]
> [INFO] [INFO] exec/Vectors ....................................... SUCCESS [01:50 min]
> [INFO] [INFO] contrib/Parent Pom ................................. SUCCESS [  6.173 s]
> [INFO] [INFO] contrib/data/Parent Pom ............................ SUCCESS [  6.058 s]
> [INFO] [INFO] contrib/data/tpch-sample-data ...................... SUCCESS [ 19.704 s]
> [INFO] [INFO] exec/Java Execution Engine ......................... SUCCESS [01:57 min]
> [INFO] [INFO] exec/JDBC Driver using dependencies ................ SUCCESS [ 32.619 s]
> [INFO] [INFO] JDBC JAR with all dependencies ..................... FAILURE [01:16 min]
> [INFO] [INFO] Drill-on-YARN ...................................... SKIPPED
> [INFO] [INFO] contrib/kudu-storage-plugin ........................ SKIPPED
> [INFO] [INFO] contrib/opentsdb-storage-plugin .................... SKIPPED
> [INFO] [INFO] contrib/mongo-storage-plugin ....................... SKIPPED
> [INFO] [INFO] contrib/hbase-storage-plugin ....................... SKIPPED
> [INFO] [INFO] contrib/jdbc-storage-plugin ........................ SKIPPED
> [INFO] [INFO] contrib/hive-storage-plugin/Parent Pom ............. SKIPPED
> [INFO] [INFO] contrib/hive-storage-plugin/hive-exec-shaded ....... SKIPPED
> [INFO] [INFO] contrib/mapr-format-plugin ......................... SKIPPED
> [INFO] [INFO] contrib/hive-storage-plugin/core ................... SKIPPED
> [INFO] [INFO] contrib/kafka-storage-plugin ....................... SKIPPED
> [INFO] [INFO] contrib/drill-udfs ................................. SKIPPED
> [INFO] [INFO] Packaging and Distribution Assembly ................ SKIPPED
> [INFO] [INFO] ------------------------------------------------------------------------
> [INFO] [INFO] BUILD FAILURE
> [INFO] [INFO] ------------------------------------------------------------------------
> [INFO] [INFO] Total time:  09:58 min
> [INFO] [INFO] Finished at: 2018-12-12T19:18:08+02:00
> [INFO] [INFO] ------------------------------------------------------------------------
> [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project drill-storage-hive-core: Compilation failure: Compilation failure: 
> [INFO] [ERROR] /home/vitalii/src/release/drill/target/checkout/contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/HiveMetadataProvider.java:[32,36] error: package org.apache.hadoop.hive.common does not exist
> [INFO] [ERROR] /home/vitalii/src/release/drill/target/checkout/contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/HiveMetadataProvider.java:[33,34] error: package org.apache.hadoop.hive.conf does not exist
> [INFO] [ERROR] /home/vitalii/src/release/drill/target/checkout/contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/HiveScan.java:[43,34] error: package org.apache.hadoop.hive.conf does not exist
> [INFO] [ERROR] /home/vitalii/src/release/drill/target/checkout/contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/DrillHiveMetaStoreClient.java:[40,62] error: package org.apache.hadoop.hive.ql.security.authorization.plugin does not exist
> [INFO] [ERROR] /home/vitalii/src/release/drill/target/checkout/contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/DrillHiveMetaStoreClient.java:[41,35] error: package org.apache.hadoop.hive.shims does not exist
> [INFO] [ERROR] /home/vitalii/src/release/drill/target/checkout/contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/HiveScan.java:[139,9] error: cannot find symbol
> {code}
> It is necessary to solve it in order to update {{maven-javadoc-plugin}}. It can be done along with a ticket for formatting current Drill project javadocs in order to use Java8 doclint DRILL-4547.
>  The usual {{mvn clean install}} build can be successful with {{maven-javadoc-plugin:3.0.1}} by using {{<doclint>none</doclint>}} instead of {{<additionalparam>-Xdoclint:none</additionalparam>}} maven property.
> Note: the possible workaround to disable javadoc for the release:perform and prepare stage:
> {code}
> mvn release:perform -Darguments="-Dmaven.javadoc.skip=true"
> {code}
>  but it is better to fix the problem. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)