Re: Compile error

2019-08-29 Thread xiufeng liu
>>>>> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) >>>>> at >>>>> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) >>>>> at org.apache.maven.DefaultMa

Re: Compile error

2019-08-29 Thread xiufeng liu
>>>>>>> [WARNING] The requested profile "hadoop-2.7" could not be activated >>>>>>> because it does not exist. >>>>>>> [ERROR] Failed to execute goal >>>>>>> org.

Re: Compile error

2019-08-29 Thread xiufeng liu
>>> 1(Exit value: 1) >>>>>> at >>>>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) >>>>>> at >>>>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) &g

Re: Compile error

2019-08-29 Thread xiufeng liu
gt;>> at >>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>>> at java.lang.reflect.Method.invoke(Method.java:498) >>>> at >>>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launch

Re: Compile error

2019-08-29 Thread Xun Liu
more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException > <http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException> > [ERROR] &g

Re: Compile error

2019-08-29 Thread Jeff Zhang
auncher.Launcher.main(Launcher.java:356) >>> Caused by: org.apache.maven.plugin.MojoExecutionException: wrap: >>> org.apache.commons.exec.ExecuteException: Process exited with an error: >>> 1(Exit value: 1) >>> at >>> org_scala_tools_maven.ScalaMojoSupport

Re: Compile error

2019-08-29 Thread xiufeng liu
ecuteInternal(DefaultExecutor.java:346) >> at >> org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:149) >> at >> org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:136) >> at >> org_scala_tools_maven_executions.JavaMainCaller

Re: Compile error

2019-08-29 Thread xiufeng liu
ur build command ? And do you use root to build it ? > > xiufeng liu 于2019年8月29日周四 下午2:55写道: > >> Dear Jeff, >> >> Thanks a lot! >> I have excluded the beam module, but I got another compile error. Could >> you help to take a look? Thanks >> >> /af

Re: Compile error

2019-08-29 Thread Jeff Zhang
What is your build command ? And do you use root to build it ? xiufeng liu 于2019年8月29日周四 下午2:55写道: > Dear Jeff, > > Thanks a lot! > I have excluded the beam module, but I got another compile error. Could > you help to take a look? Thanks > > /afancy > >

Re: Compile error

2019-08-29 Thread xiufeng liu
Dear Jeff, Thanks a lot! I have excluded the beam module, but I got another compile error. Could you help to take a look? Thanks /afancy - [WARNING] The requested profile "hadoop-2.6" could not be activated because it does not exist. [ERROR] Failed to ex

Re: Compile error

2019-08-28 Thread Jeff Zhang
The problem is that there's no beam-runners-flink 2.0.0 for scala 2.10 https://mvnrepository.com/artifact/org.apache.beam/beam-runners-flink There's several approach for it . 1. exclude beam module when building. Add -pl !beam 2. Use -Pscala-2.10 -Pspark-1.6 3. Upgrade beam version to 2.5.0

Compile error

2019-08-28 Thread afancy
Dear all, I use the following command to compile the source code on Ubuntu 16.04, but got the following error. Could you help? thanks mvn -e clean package -DskipTests -Pspark-2.3 -Phadoop-2.6 -Pr -Pscala-2.11 -Pr / afancy [INFO]