[
https://issues.apache.org/jira/browse/HADOOP-9890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13745419#comment-13745419
]
Steve Loughran commented on HADOOP-9890:
----------------------------------------
The file
{{hadoop-common-project/hadoop-common/src/site/apt/SingleCluster.apt.vm}}
provides instructions for building a hadoop tarball in the hadoop-mapreduce
directory
The suggested operation {mvn clean install assembly:assembly}} halts on the
first failed test.
A build with {{mvn clean install assembly:assembly -DskipTests
-Dmaven.javadoc.skip}} fails as there's no assembly defined.
{code}
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12.234s
[INFO] Finished at: Tue Aug 20 21:52:47 BST 2013
[INFO] Final Memory: 26M/72M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-assembly-plugin:2.3:assembly (default-cli) on
project hadoop-mapreduce: Error reading assemblies: No assembly descriptors
found. -> [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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :hadoop-mapreduce
{code}
The instructions in CLIMiniCluster appear to be the valid ones.
Rather than cut and paste the CLIMiniCluster docs, pulling out the 'how to make
a tarball' instructions into a single .apt file should reduce maintenance costs
and ensure consistency
> single cluster setup docs don't work
> ------------------------------------
>
> Key: HADOOP-9890
> URL: https://issues.apache.org/jira/browse/HADOOP-9890
> Project: Hadoop Common
> Issue Type: Bug
> Components: documentation
> Affects Versions: 2.1.1-beta
> Reporter: Steve Loughran
> Priority: Minor
>
> The instructions in the SingleClusterSetup.md to build a tarball don't work
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira