Hi, all,
How did you solve this problem?
Now I meet the same problem even after I switched to JDK1.7 and installed npm.
I’m using “Intelij” in Windows 7, “npm“ version is 2.14.16, scala JDK version
is 2.10.4.
Thanks,
Daniel
[INFO] eagle-security-userprofile-common ................. SUCCESS [17.475s]
[INFO] eagle-webservice .................................. FAILURE [0.829s]
[INFO] eagle-security-hdfs-auditlog ...................... SKIPPED
[INFO] eagle-security-userprofile-detection .............. SKIPPED
[INFO] eagle-security-userprofile-training ............... SKIPPED
[INFO] eagle-security-hive ............................... SKIPPED
[INFO] eagle-security-hdfs-securitylog ................... SKIPPED
[INFO] eagle-security-hbase-securitylog .................. SKIPPED
[INFO] eagle-metric-collection ........................... SKIPPED
[INFO] eagle-external-parent ............................. SKIPPED
[INFO] eagle-log4jkafka .................................. SKIPPED
[INFO] eagle-topology-assembly ........................... SKIPPED
[INFO] eagle-assembly .................................... SKIPPED
[INFO] eagle-samples ..................................... SKIPPED
[INFO] eagle-persist-sample .............................. SKIPPED
[INFO] eagle-gc .......................................... SKIPPED
[INFO] eagle-hadoop-metric ............................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3:18.342s
[INFO] Finished at: Tue Jan 26 15:24:03 PST 2016
[INFO] Final Memory: 81M/1385M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.4.0:exec
(exec-ui-install) on project eagle-webservice: Command execution failed. Cannot
run program "bash" (in directory
"C:\Users\dataguise\DadanielZ\eagle\incubator-eagle\eagle-webservice"):
CreateProcess error=2, The system cannot find the file specified -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal
org.codehaus.mojo:exec-maven-plugin:1.4.0:exec (exec-ui-install) on project
eagle-webservice: Command execution failed.
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
at org.codehaus.classworlds.Launcher.main(Launcher.java:47)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
Caused by: org.apache.maven.plugin.MojoExecutionException: Command execution
failed.
From: Edward Zhang [mailto:[email protected]]
Sent: Wednesday, December 02, 2015 4:13 PM
To: [email protected]
Subject: Re: Build error due to Scala version...
I also met another issue after I deployed the latest build into sandbox.
The http://localhost:9099/eagle-service is redirected to
http://localhost:9099/eagle-service/ui and then it has HTTP 404 issue.
[Inline image 1]
Thanks
Edward
On Sun, Nov 29, 2015 at 11:57 PM, Don Bosco Durai
<[email protected]<mailto:[email protected]>> wrote:
I am using mac.
Bosco
On 11/29/15, 11:10 PM, "Chen, Hao"
<[email protected]<mailto:[email protected]>> wrote:
>Please install https://www.npmjs.com/ before compiling. And what’s your
>environment?
>
>Thanks,
>
>
>Hao
>
>On 11/30/15, 1:20 PM, "Zhang, Edward (GDI Hadoop)"
><[email protected]<mailto:[email protected]>> wrote:
>
>>Looks it is related to recent changes by Jilin on NPM support.
>>
>>Thanks
>>Edward
>>
>>On 11/29/15, 20:55, "Don Bosco Durai"
>><[email protected]<mailto:[email protected]>> wrote:
>>
>>>Thanks for the suggestion. With JDK 1.7, I went further, but stuck at
>>>other place:
>>>
>>>[INFO] eagle-security-userprofile-common .................. SUCCESS [
>>>11.817 s]
>>>[INFO] eagle-webservice ................................... FAILURE [
>>>0.267 s]
>>>[INFO] eagle-security-hdfs-auditlog ....................... SKIPPED
>>>[INFO] eagle-security-userprofile-detection ............... SKIPPED
>>>[INFO] eagle-security-userprofile-training ................ SKIPPED
>>>[INFO] eagle-security-hive ................................ SKIPPED
>>>[INFO] eagle-security-hdfs-securitylog .................... SKIPPED
>>>[INFO] eagle-security-hbase-securitylog ................... SKIPPED
>>>[INFO] eagle-external-parent .............................. SKIPPED
>>>[INFO] eagle-log4jkafka ................................... SKIPPED
>>>[INFO] eagle-topology-assembly ............................ SKIPPED
>>>[INFO] eagle-assembly ..................................... SKIPPED
>>>[INFO]
>>>------------------------------------------------------------------------
>>>[INFO] BUILD FAILURE
>>>[INFO]
>>>------------------------------------------------------------------------
>>>[INFO] Total time: 01:48 min
>>>[INFO] Finished at: 2015-11-29T20:43:40-08:00
>>>[INFO] Final Memory: 64M/619M
>>>[INFO]
>>>------------------------------------------------------------------------
>>>[ERROR] Failed to execute goal
>>>org.codehaus.mojo:exec-maven-plugin:1.4.0:exec (exec-ui-install) on
>>>project eagle-webservice: Command execution failed. Process exited with
>>>an error: 1 (Exit value: 1) -> [Help 1]
>>>[ERROR]
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>On 11/29/15, 6:59 PM, "Liangfei.Su"
>>><[email protected]<mailto:[email protected]>> wrote:
>>>
>>>>Saw this before, the solution is to use java 1.7, it builds ok when i
>>>>switch to JDK 1.7.
>>>>
>>>>
>>>>Thanks,
>>>>Ralph
>>>>
>>>>On Mon, Nov 30, 2015 at 3:08 AM, Don Bosco Durai
>>>><[email protected]<mailto:[email protected]>>
>>>>wrote:
>>>>
>>>>> I am getting a build error while building Apache Eagle. It seems to be
>>>>> because the Scala version. I have scala-2.11.5 installed on my
>>>>>machine. I
>>>>> can plan downgrading my Scala, but that would break my Kafka 0.9
>>>>>builds.
>>>>> Any suggestions?
>>>>>
>>>>> [INFO] --- maven-scala-plugin:2.15.0:compile (scala-compile-first) @
>>>>> eagle-stream-process-base ---
>>>>> [INFO] Checking for multiple versions of scala
>>>>> [WARNING] Expected all dependencies to require Scala version: 2.10.0
>>>>> [WARNING] org.apache.kafka:kafka_2.10:0.8.1.2.2.0.0-2041 requires
>>>>>scala
>>>>> version: 2.10.4
>>>>> [WARNING] Multiple versions of scala libraries detected!
>>>>> [INFO] includes = [**/*.java,**/*.scala,]
>>>>> [INFO] excludes = []
>>>>> [INFO]
>>>>>
>>>>>/Users/bdurai/git/incubator-eagle/eagle-core/eagle-data-process/eagle-st
>>>>>ream-process-base/src/main/java:-1:
>>>>> info: compiling
>>>>> [INFO]
>>>>>
>>>>>/Users/bdurai/git/incubator-eagle/eagle-core/eagle-data-process/eagle-st
>>>>>ream-process-base/src/main/scala:-1:
>>>>> info: compiling
>>>>> [INFO] Compiling 10 source files to
>>>>>
>>>>>/Users/bdurai/git/incubator-eagle/eagle-core/eagle-data-process/eagle-st
>>>>>ream-process-base/target/classes
>>>>> at 1448822136862
>>>>> [ERROR] error: error while loading CharSequence, class file
>>>>>
>>>>>'/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre/lib
>>>>>/rt.jar(java/lang/CharSequence.class)'
>>>>> is broken
>>>>> [INFO] (class java.lang.RuntimeException/bad constant pool tag 18 at
>>>>>byte
>>>>> 10)
>>>>> [ERROR] error: error while loading AnnotatedElement, class file
>>>>>
>>>>>'/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre/lib
>>>>>/rt.jar(java/lang/reflect/AnnotatedElement.class)'
>>>>> is broken
>>>>> [INFO] (class java.lang.RuntimeException/bad constant pool tag 18 at
>>>>>byte
>>>>> 76)
>>>>> [ERROR] two errors found
>>>>>
>>>>> Thanks
>>>>>
>>>>> Bosco
>>>>>
>>>>>
>>>>>
>>>
>>