Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
MapReduce >> mail # user >> Hadoop 2.x with Eclipse


+
Karim Awara 2013-10-06, 11:41
Copy link to this message
-
RE: Hadoop 2.x with Eclipse
Karim,

I am not an experienced Hadoop programmer, but what I found was that building and debugging Hadoop under Eclipse was very difficult, and I was never to make it work correctly.  I suggest using the well documented command-line Maven build, installing Hadoop from that build, and running it normally.  Once you have that working, run your namemode or datanode daemon so as to wait for a remote debugger attach before starting.  You should also get comfortable with log4j, the logging framework used by Hadoop, as those log files are often your best friend when trying to debug a collection of services.

john

From: Karim Awara [mailto:[EMAIL PROTECTED]]
Sent: Sunday, October 06, 2013 5:41 AM
To: user
Subject: Hadoop 2.x with Eclipse

Hi,
I followed the instructions on how to import hadoop files to Eclipse (I am using hadoop 2.1 beta).
Currently on my machine, I have hadoop 2.1 installed.. and its source code is imported on Eclipse. What I can't grasp is   how to proceed from there?
I want to modify HDFS code (blockplacement strategy).. Now building hdfs project via generates errors to me (unresolved types in hadoop common).  and if i built successfully, how to test my modified code?

--
Best Regards,
Karim Ahmed Awara

________________________________
This message and its contents, including attachments are intended solely for the original recipient. If you are not the intended recipient or have received this message in error, please notify me immediately and delete this message from your computer system. Any unauthorized use or distribution is prohibited. Please consider the environment before printing this email.
+
Ted Yu 2013-10-06, 14:40
+
Karim Awara 2013-11-04, 04:22
+
Karim Awara 2013-11-04, 05:09
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB