adoroszlai opened a new 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: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
