Eclipse plugins in hadoop on windows - hadoop

I'm new to the hadoop.I am trying to install hadoop on my windows machine with the help of following link i.e. http://blog.v-lad.org/archives/4#comment-43
I'm using eclipse IDE:3.3.1
javaJDK :1.6.0_24
Hadoop :0.21.0
Everything fine, eclipse IDE when i select the "new hadoop location" action is not perform.I didn't get the problem .Any one can help me

Have you added the eclipse-plugin to the installation directory of eclipse?
...\hadoop-0.21.0\mapred\contrib\eclipse-plugin\hadoop-0.21.0-eclipse-plugin.jar
to
...\eclipse\dropins
P.S. the eclipse-plugin of Hadoop :0.21.0 is not complete.
You can download the revised one at http://www.lifeba.org/wp-content/uploads/2012/03/hadoop-0.21.0-eclipse-plugin-3.6.rar
Although it's for eclipse 3.6 ,I suppose it's also compatible for eclipse 3.3.1
——————————————————————————————
Oh, I just noticed the time...years ago... sorry
I hope it be useful for those who encountered this problem recently.

Related

Sonarqube MaxPermSize error

Sonarqube software of department, demo and learning.
StartSonar.bat does not start.
Error Log below:
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=160m; support was removed in 8.0
I’m studied the error:
Jira task number:SONAR-5204 this jira status:closed and resolution:fixed will set.
MaxPermSize line in wrapper.conf was romeved.
wrapper.config and sonar.log files click.
Thanks for your help.
You are trying to run SonarQube with a JDK 8, which is not supported (yet). Please revert to a previous version (JDK 7 is perfectly suitable).
I also came across the same error; However, the problem was not about Java version. As I went and looked into the logs, it was found that I copied new version of FindBug library and there was a conflict as two FindBug library existed. Thus, it may be good idea to look into sonar.log file which could be found in sonar_install_directory/logs folder.

Hadoop 1.2.1 plugin for Eclipse Juno: I can't launch the application

I want to use the Hadoop Eclipse plugin to run the WordCount example.
I have the systems: Local: Windows 7, Eclipse Juno (4.2.2), hadoop-1.2.1 unpacked. Remote: Debian 7.1 with the same hadoop version installed and tested.
I followed the instructions found at: http://iredlof.com/part-4-compile-hadoop-v1-0-4-
eclipse-plugin-on-ubuntu-12-10/ and built the plugin on windows machine.
The hadoop is running, tested with hadoop-examples wordcount and with my freshly created WordCount.
What works with the plugin:
I can create a new MR project
I can add new MR location (remote in my case)
I can browse/upload/download/delete files from DFS,
What doesn't work:
I cannot run my code (using Run as ... Run to Hadoop). The console writes "ClassNotFoundException: WordCountReducer". The same error can be found in the hadoop job logs.
I exported the jar from my project, copied it on the remote machine and launched hadoop from command line. Everything worked as expected.
I also saw that when manually launching the project on the remote machine, hadoop creates a job.jar in user/.staging directory. When launching the project from Eclipse, this jar is missing.
My question is: How can I run my project from Eclipse plugin?
Thanks
Set the user from your job driver.
System.setProperty("HADOOP_USER_NAME", "YourUbuntuUserID");
It might work. Try and let me know.

Eclipse plugin error for Hadoop on Ubuntu

I installed Hadoop version 1.0.3 and its related eclipse plugin successfully. All the Hadoop functionalities and examples are working pretty well, but when I want to use its plugin on eclipse, it could not connect to hdfs and I get the error:
An internal error occurred during: "Connecting to DFS localhost".
org/apache/commons/configurati­on/Configuration.
could anybody help me how to solve this problem!
Thanks
You are facing this problem because the plugin is missing some necessary jars. In order to solve the problem you need to rebuild the plugin after including the necessary jars. I have seen this kind of questions a lot on SO, and they all point out to the same thing. Please see these links :
Eclipse Hadoop plugin issue(Call to localhost/127.0.0.1:50070 )Can any body give me the solution for this?
Hadoop eclipse mapreduce is not working?
Installing Hadoop's Eclipse Plugin
I did follow the following blog instructions to make Hadoop eclipse plugin 1.0.4 :
http://iredlof.com/part-4-compile-hadoop-v1-0-4-eclipse-plugin-on-ubuntu-12-10/
but it seems it has some missing parts like:
in MANIFEST.MF you should add:
/lib/commons-cli-1.2.jar
and in build-contrib.xml you should also add:
<property name="commons-cli.version" value="1.2"/>
I hope these are useful!
you must run hadoop with command line first!!
./[hadoop-path]/bin/start-all.sh

Hadoop Eclipse Plugin Erros in Ubuntu

I am trying to build some program on hadoop with ubuntu. I am able to successfully install and run hadoop on my machine in pseudo-distributed mode. But when I tried to use eclipse-plugin for making project,I am facing several issue. After putting parameters for connecting to the server in the eclipse plugin I am getting the following error:
1.Error: java.io.IOException:Unknown Protocol to jobTracker:org.apache.hadoop.hdfs.Protocol.ClientProtocol
I am using hadoop 0.20 version and eclipse plugin is also from the configuration directory. Any suggestion or reason why these errors are coming.And what can I do for build hadoop project on eclipse?
Go to "Edit hadoop location".
Switch Map/Reduce Master port with DFS master port.

How do I set where my grails plugins should be installed?

I saw the light and install the joda-time plugin for grails.
However, when I tried to commit my changes to source control I realised that grails had located the files in:
C:\Users\Steve\.grails\1.1.1\plugins
instead of somewhere under the project directory of:
f:\grails\projects\myproject
Yeah I'm using windows :-\
So now when someone pulls down my changes from source control they are missing all the joda-time plugin lovelyness and they are wanting to spank me :)
What should I be setting so that grails doesn't put anything under my user directory?
(It isn't installed as a global plugin - just as a project one - at least I think so, I ran "grails install-plugin joda-time" )
Many thanks in advance.
P.S. Currently listening to Plug In Baby by Muse....how coincidental :D
The plugin is listed in application.properties, so when someone gets your code Grails will install missing plugins the first time they run 'grails run-app' or other commands.
If you want to revert to 1.0.x behavior just create grails-app/conf/BuildConfig.groovy with the line
grails.project.plugins.dir='plugins'
and your plugins will be in with the rest of the project files.

Resources