GitHub user CZWin32768 opened a pull request: https://github.com/apache/bigtop/pull/312
fix bug: spark/do-component-build The mvn command in the last line of spark/do-component-build uses "mvn", but here should be "./build/mvn". make-distribution.sh will only run "mvn clean package", so in order to get the Spark packages installed in the local Maven repository (or to run the tests), we need to run "mvn install" again. make-distribution.sh uses "./build/mvn" but in do-component-build "mvn" is used, which may be in wrong version. This may cause that "mvn install" build failure after "mvn clean package" build successfully. You can merge this pull request into a Git repository by running: $ git pull https://github.com/CZWin32768/bigtop master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/bigtop/pull/312.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #312 ---- commit 354ddfe71af6f3acafb5b19fcc674600d2642234 Author: Zewen Chi <czwin32...@sina.com> Date: 2017-12-01T06:18:29Z fix bug: the in the last line of spark/do-component-build uses mvn in PATH, which may be in wrong version. Here should be ./build/mvn ---- ---