I've also been experiencing this worning: "[WARNING] The requested profile
"hadoop-2.x" could not be activated because it does not exist." except with
version 2.6. This warning has not resulted in a build failure however, so i
don't think this is the source of the error you are seeing. It is odd
though, as both 2.4 and 2.6 are documented as supported hadoop versions:

Available profiles are

-Phadoop-0.23
-Phadoop-1
-Phadoop-2.2
-Phadoop-2.3
-Phadoop-2.4
-Phadoop-2.6
-Phadoop-2.7

source:
https://zeppelin.apache.org/docs/0.8.0/setup/basics/how_to_build.html

On Wed, Aug 29, 2018 at 9:22 AM, Sam Nicholson <sam...@ogt11.com> wrote:

> Or perhaps it's just the documentation...
>
>
>
> I'm building 0.8.0, as per instructions at https://zeppelin.apache.org/
> docs/0.8.0/setup/basics/how_to_build.html
>
> I'm building in Jenkins, so the git clone is more involved...
>
> git rev-parse refs/remotes/origin/refs/tags/v0.8.0
> ...
> Checking out Revision 603cc492f5e322c73915501e8cf65970d0c61870 
> (refs/tags/v0.8.0)
> ...
> git checkout -f 603cc492f5e322c73915501e8cf65970d0c61870
> ...
> ./dev/change_scala_version.sh 2.11
> ...
> mvn clean package -DskipTests -Pspark-2.0 -Phadoop-2.4 -Pyarn -Ppyspark 
> -Psparkr -Pr -Pscala-2.11
> ...
>
> OK, Lots and Lots of [WARNINGS]  Some are just that, and some seem 
> significant.
>
> But a whole time later, this:
>
>
> [WARNING] The requested profile "hadoop-2.4" could not be activated because 
> it does not exist.
> [WARNING] The requested profile "yarn" could not be activated because it does 
> not exist.
> [WARNING] The requested profile "pyspark" could not be activated because it 
> does not exist.
> [WARNING] The requested profile "sparkr" could not be activated because it 
> does not exist.
> [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec 
> (default) on project zeppelin-zrinterpreter_2.11: Command execution failed. 
> Process exited with an error: 1 (Exit value: 1) -> [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 :zeppelin-zrinterpreter_2.11
> Build step 'Execute shell' marked build as failure
> Started calculate disk usage of build
> Finished Calculation of disk usage of build in 0 seconds
> Started calculate disk usage of workspace
> Finished Calculation of disk usage of workspace in  7 second
> Finished: FAILURE
>
>
> I seem to recall something about hadoop versions,
> but can't recall from my copies of the mailing list.
>
> Hadoop 2.4 is very old, it appears.  I don't know if that triggered the 
> following error.
> I'm betting that the problem is the maven invocation, as  this is surely 
> working for others.
>
> Any ideas?
>
> Cheers!
>
> -sam
>
>

Reply via email to