How to run example codes of Hadoop Definitive Guide book?

0 votes

I am following the Hadoop: The Definitive Guide book for learning Hadoop. Till now, I don't have any Java IDE for this. Do I need to install any Java IDE? I have tried making JAR file of the code and running it with Hadoop command as stated in the book but for some reason, I am not able to run it. Also, I cannot find any help from the O'Reilly's website.

Please, show me how to compile simple code like this.

Mar 21, 2018 in Big Data Hadoop by coldcode
• 2,020 points
144 views

1 answer to this question.

0 votes

You will find multiple git repositories where you will find people who have executed the code of Hadoop Definitive Guide. Some of the links are:

https://github.com/tomwhite/hadoop-book
https://github.com/girish/hadoop-book-1
 

answered Mar 21, 2018 by Shubham
• 13,300 points

Related Questions In Big Data Hadoop

0 votes
0 answers

How to run Hadoop in Docker containers?

I want to incorporate Hadoop in Docker ...READ MORE

Mar 16, 2018 in Big Data Hadoop by nitinrawat895
• 10,710 points
92 views
0 votes
7 answers

How to run a jar file in hadoop?

I used this command to run my ...READ MORE

answered Dec 10, 2018 in Big Data Hadoop by Dasinto
5,946 views
0 votes
1 answer

How to uninstall all versions of hadoop completely from the system?

Do a: sudo dpkg -l | grep hadoop to ...READ MORE

answered Oct 29, 2018 in Big Data Hadoop by Frankie
• 9,810 points
721 views
0 votes
1 answer

Hadoop Hive: How to skip the first line of csv while loading in hive table?

You can try this: CREATE TABLE temp ...READ MORE

answered Nov 8, 2018 in Big Data Hadoop by Omkar
• 67,660 points
1,123 views
0 votes
1 answer

Hadoop hdfs: How to count number of lines?

You can count the number of lines ...READ MORE

answered Nov 19, 2018 in Big Data Hadoop by Omkar
• 67,660 points
105 views
0 votes
1 answer

How to check the size of a file in Hadoop HDFS?

You can use the  hadoop fs -ls command to ...READ MORE

answered Nov 21, 2018 in Big Data Hadoop by Omkar
• 67,660 points
1,034 views
0 votes
1 answer

How to get absolute path of files in a directory in Hadoop?

You can use HDFS API like the ...READ MORE

answered Dec 4, 2018 in Big Data Hadoop by Frankie
• 9,810 points
638 views
0 votes
1 answer

How to change the replication factor of specific directory in Hadoop?

Yes, you can change the replication factor ...READ MORE

answered May 10, 2018 in Big Data Hadoop by Shubham
• 13,300 points
760 views
0 votes
1 answer

How to install and configure a multi-node Hadoop cluster?

I would recommend you to install Cent ...READ MORE

answered Mar 21, 2018 in Big Data Hadoop by Shubham
• 13,300 points
691 views