[ https://issues.apache.org/jira/browse/HDDS-1322?focusedWorklogId=221070&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-221070 ]
ASF GitHub Bot logged work on HDDS-1322: ---------------------------------------- Author: ASF GitHub Bot Created on: 01/Apr/19 03:07 Start Date: 01/Apr/19 03:07 Worklog Time Spent: 10m Work Description: adoroszlai commented on pull request #671: HDDS-1322. Hugo errors when building Ozone URL: https://github.com/apache/hadoop/pull/671 ## What changes were proposed in this pull request? Maven build fails to create HDDS docs due to the following hugo error in `hadoop-hdds-docs`: ``` $ mvn -Phdds -pl :hadoop-hdds-docs clean compile ... [INFO] --- exec-maven-plugin:1.6.0:exec (default) @ hadoop-hdds-docs --- Error: unknown command "0.5.0-SNAPSHOT" for "hugo" Run 'hugo --help' for usage. ... [INFO] BUILD SUCCESS ``` `generate-site.sh` passes all arguments to `hugo`, which expects commands, not HDDS version number and target directory. I think these two parameters are unnecessary, hence the patch removes them. https://issues.apache.org/jira/browse/HDDS-1322 ## How was this patch tested? With the fix docs can be generated using Maven: ``` $ mvn -Phdds -pl :hadoop-hdds-docs clean compile ... [INFO] --- exec-maven-plugin:1.6.0:exec (default) @ hadoop-hdds-docs --- Building sites … ... | EN +------------------+----+ Pages | 27 Paginator pages | 0 Non-page files | 0 Static files | 18 Processed images | 0 Aliases | 0 Sitemaps | 1 Cleaned | 0 Total in 49 ms ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 221070) Time Spent: 10m Remaining Estimate: 0h > Hugo errors when building Ozone > ------------------------------- > > Key: HDDS-1322 > URL: https://issues.apache.org/jira/browse/HDDS-1322 > Project: Hadoop Distributed Data Store > Issue Type: Bug > Affects Versions: 0.4.0 > Reporter: Arpit Agarwal > Assignee: Doroszlai, Attila > Priority: Major > Labels: pull-request-available > Attachments: HDDS-1322.001.patch > > Time Spent: 10m > Remaining Estimate: 0h > > I see some odd hugo errors when building Ozone, even though I am not building > docs. > {code} > $ mvn -B -q clean compile install -DskipTests=true -Dmaven.javadoc.skip=true > -Dmaven.site.skip=true -DskipShade -Phdds > Error: unknown command "0.4.0-SNAPSHOT" for "hugo" > Run 'hugo --help' for usage. > .../hadoop-hdds/docs/target > Error: unknown command "0.4.0-SNAPSHOT" for "hugo" > Run 'hugo --help' for usage. > .../hadoop-hdds/docs/target > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org