hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wei-Chiu Chuang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-13952) Update hadoop.version in the trunk, which is causing compilation failure
Date Tue, 02 Oct 2018 19:13:00 GMT

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

Wei-Chiu Chuang commented on HDFS-13952:
----------------------------------------

I'm not sure why , but I had to also add the following in order to compile:
{code}
diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml
index cd38376..4c2c267 100644
--- a/hadoop-project/pom.xml
+++ b/hadoop-project/pom.xml
@@ -1656,7 +1656,9 @@
           <artifactId>maven-javadoc-plugin</artifactId>
           <version>${maven-javadoc-plugin.version}</version>
           <configuration>
-            <additionalOptions>-Xmaxwarns 10000</additionalOptions>
+            <additionalOptions>
+              <additionalOption>-Xmaxwarns 10000</additionalOption>
+            </additionalOptions>
           </configuration>
         </plugin>
         <plugin>
{code}

Otherwise it gives me this error:
{quote}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.1:jar (module-javadocs)
on project hadoop-project: Unable to parse configuration of mojo org.apache.maven.plugins:maven-javadoc-plugin:3.0.1:jar
for parameter additionalOptions: Cannot assign configuration entry 'additionalOptions' with
value '-Xmaxwarns 10000' of type java.lang.String to property of type java.lang.String[] ->
[Help 1]
{quote}

> Update hadoop.version in the trunk, which is causing compilation failure
> ------------------------------------------------------------------------
>
>                 Key: HDFS-13952
>                 URL: https://issues.apache.org/jira/browse/HDFS-13952
>             Project: Hadoop HDFS
>          Issue Type: Task
>            Reporter: Bharat Viswanadham
>            Assignee: Bharat Viswanadham
>            Priority: Blocker
>         Attachments: HDFS-13952.00.patch
>
>
> <hadoop.version>3.2.0-SNAPSHOT</hadoop.version> to
> <hadoop.version>3.3.0-SNAPSHOT</hadoop.version>
>  
> On trunk compilation failure:
> [WARNING] Rule 0: org.apache.maven.plugins.enforcer.RequireProperty failed with message:
> The hadoop.version property should be set and should be 3.3.0-SNAPSHOT.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message