Ivy-jar issue while installing white-elephant in hadoop cluster

154 views
Skip to first unread message

Raj kumar Nandy

unread,
May 2, 2013, 1:58:54 AM5/2/13
to linkedin-wh...@googlegroups.com
I am getting the following error while building white-elephant using ant in my 5 node hadoop cluster. I am installing it on the name-node only. will that suffice?

Error getting http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.2.0/ivy-2.2.0.jar to /home/my-path/white-elephant-master/server/lib/ivy

BUILD FAILED
java.net.UnknownHostException: repo2.maven.org
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:175)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
at java.net.Socket.connect(Socket.java:546)
at java.net.Socket.connect(Socket.java:495)


Please help.
white-elephanr-error.jpg

Matthew Hayes

unread,
May 2, 2013, 12:59:55 PM5/2/13
to linkedin-wh...@googlegroups.com
What happens when you try "ping repo2.maven.org"?  It seems like it couldn't reach the maven repo.

Raj kumar Nandy

unread,
May 6, 2013, 1:34:19 AM5/6/13
to linkedin-wh...@googlegroups.com
Hi Mathew,
               Thanks for your reply. It is showing "unknown host repo2.maven.org", although i have downloaded the jars manually and put those in the proper repo path. The demo is working now. But I have some confusions. I have a 5 node hadoop cluster(cdh4.1.2) installed by Cloudera Manager. I have installed white elephant in the namedode only. Now how to give my my cluster configs here in white-elephant. I want to see the user specific usage of the cluster for all jobs run in the cluster.

Arun

unread,
Jul 23, 2014, 12:07:29 PM7/23/14
to linkedin-wh...@googlegroups.com
Hi all,

I;m trying to do a POC using white elephant in our hadoop CDH4.5 test environment.
I have used my local-pc to build WAR file after downloading the code(Zip file) from GitHub but encountered with below error message.
Any pointers are really appreciated.

C:\Arun\white-elephant-master\server\build.xml:41: Execute failed: java.io.IOExc
eption: Cannot run program ".\setup.sh": CreateProcess error=193, %1 is not a va
lid Win32 application
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1047)
        at java.lang.Runtime.exec(Runtime.java:617)
        at org.apache.tools.ant.taskdefs.launcher.Java13CommandLauncher.exec(Jav
a13CommandLauncher.java:58)
        at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:428)
        at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:442)
        at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:628)
        at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:669)
        at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:495)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:435)
        at org.apache.tools.ant.Target.performTasks(Target.java:456)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
        at org.apache.tools.ant.Main.runBuild(Main.java:851)
        at org.apache.tools.ant.Main.startAnt(Main.java:235)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: java.io.IOException: CreateProcess error=193, %1 is not a valid Win32
 application
        at java.lang.ProcessImpl.create(Native Method)
        at java.lang.ProcessImpl.<init>(ProcessImpl.java:385)
        at java.lang.ProcessImpl.start(ProcessImpl.java:136)
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1028)
        ... 24 more

Total time: 0 seconds

-Arun

Matthew Hayes

unread,
Jul 23, 2014, 4:11:15 PM7/23/14
to Arun, linkedin-wh...@googlegroups.com
The setup.sh script only works in a unix-like environment (e.g. Linux, Mac).  This script is for convenience to help setup JRuby on the machine and install the required Ruby gems.  If you are using Windows, I would try installing JRuby manually, then install bundler with "gem install bundler", then run "bundle install" to install the gems.  JRuby works on Windows I believe, so I think it should be possible to get White Elephant running.

-Matt


--
You received this message because you are subscribed to the Google Groups "LinkedIn White Elephant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linkedin-white-el...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Arun

unread,
Jul 23, 2014, 5:12:29 PM7/23/14
to linkedin-wh...@googlegroups.com, toar...@gmail.com
Matt,

Thanks for quick reply.
Does this interface exposed by White elephant contains any extra capabilities like showing different pie,bar graphs with different controls like custom drop-down lists ?.
can we write the custom sql as per the needs to show in UI?.That would be great if someone using in real-time to share info on the deployment design.

we have both hadoop distributions Cloudera and Hortonworks.

-Arun
To unsubscribe from this group and stop receiving emails from it, send an email to linkedin-white-elephant+unsub...@googlegroups.com.

Matthew Hayes

unread,
Jul 23, 2014, 6:26:09 PM7/23/14
to Arun, linkedin-wh...@googlegroups.com
No it doesn't have this capability at this time.  I was playing around with pie charts in a separate tab that show usage by user awhile ago, but I haven't pushed this yet.  No custom SQL is supported either.  Since this works by log parsing in batch via Hadoop this wouldn't be good for real time analysis.  If you're interested in enhancing White Elephant I could provide you with some more information on the architecture.


To unsubscribe from this group and stop receiving emails from it, send an email to linkedin-white-el...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages