Sunday, March 23, 2014

Hadoop Installation (type RPM )

Hi Folks,

Today we are going for RPM installation of hadoop. It is also pretty easy as my last hadoop installtion was ,  So lets try it out.

Requirement
  • Java JDK (download from here)
  • hadoop-0.20.204.0-1.i386.rpm  (Download from here)
Installation

1. Installation of Java and set Java Home on /etc/profile by export JAVA_HOME=/usr
sudo ./jdk-6u26-linux-x64-rpm.bin.sh
2. Hadoop RPM installation
sudo rpm -i hadoop-0.20.204.0-1.i386.rpm
3. Setting up Single Node cluster
sudo /usr/sbin/hadoop-setup-single-node.sh 
You will get many question while setting we up hadoop , like creation of directories and some configuration related, you need to give answer in y.

 For MultiNode Setup You Need to run below commands

3- Setting up Multinode Cluster
sudo /usr/sbin/hadoop-setup-conf.sh \
  --namenode-host=hdfs://${namenode}:9000/ \
  --jobtracker-host=${jobtracker}:9001 \
  --conf-dir=/etc/hadoop \
  --hdfs-dir=/var/lib/hadoop/hdfs \
  --namenode-dir=/var/lib/hadoop/hdfs/namenode \
  --mapred-dir=/var/lib/hadoop/mapred \
 --mapreduce-user=mapred \
  --datanode-dir=/var/lib/hadoop/hdfs/data \
  --log-dir=/var/log/hadoop \
  --auto
 Where $namenode and $jobtracker are the Hostname of respective Nodes where you want to run the services, you have to fire this command on everyNode.

4. Now after installation you have to format the namenode
sudo /usr/sbin/hadoop-setup-hdfs.sh
5.  For Starting services you can do as below
  • For single Node
for service in /etc/init.d/hadoop-* ;do sudo  $service  start ; done
  •  For Multinode
    • on Master Node
    sudo  /etc/init.d/hadoop-namenode start
    sudo  /etc/init.d/hadoop-jobtracker start 
    sudo  /etc/init.d/hadoop-secondarynamenode start 
    • on Slave Node
sudo  /etc/init.d/hadoop-datanode start
sudo  /etc/init.d/hadoop-tasktracker start 
6. You can Create a User Account for you self on HDFS by below command
sudo /usr/sbin/hadoop-create-user.sh -u $USER

Now You can run the word count program as given in previous post. Please try it out and let me know if faced any issue in this.

Thanks

46 comments:

  1. Hey Vikas,

    Its very simple and short :)

    ReplyDelete
  2. Acing in measurable examination instruments, for example, SAS and SPSS, and so on gives various openings for work in a thriving activity showcase.data science course in pune

    ReplyDelete
  3. I feel very grateful that I read this. It is very helpful and very informative and I really learned a lot from it.
    data science course

    ReplyDelete
  4. Well, the most on top staying topic is Data Analytics. Data Analytics is one of the most promising technique in the growing world. I would like to add Data Analytics training to the preference list. Out of all, Data analytics course in Mumbai is making a huge difference all across the country. Thank you so much for showing your work and thank you so much for this wonderful article.

    ReplyDelete


  5. It should be noted that whilst ordering papers for sale at paper writing service, you can get unkind attitude. In case you feel that the bureau is trying to cheat you, don't buy term paper from it.
    360digitmg big data analytics course malaysia

    ReplyDelete
  6. I’ve been searching for some decent stuff on the subject and haven't had any luck up until this point, You just got a new biggest fan!..

    big data analytics training in malaysia

    ReplyDelete
  7. I’ve been searching for some decent stuff on the subject and haven't had any luck up until this point, You just got a new biggest fan!..

    big data analytics training in malaysia

    ReplyDelete

  8. Writing with style and getting good compliments on the article is quite hard, to be honest.But you've done it so calmly and with so cool feeling and you've nailed the job. This article is possessed with style and I am giving good compliment. Best!
    360digitmg courses for big data analytics

    ReplyDelete
  9. What a really awesome post this is. Truly, one of the best posts I've ever witnessed to see in my whole life. Wow, just keep it up.
    360 digitmg course on big data analytics

    ReplyDelete
  10. Such a very useful Blog. Very interesting to read this article. I have learn some new information.thanks for sharing. Click here for data science course in pune with placements

    ReplyDelete
  11. Excellent Blog! I would like to thank for the efforts you have made in writing this post. I am hoping the same best work from you in the future as well. I wanted to thank you for this websites! Thanks for sharing. Great websites!
    data analytics course mumbai
    data science course in mumbai

    ReplyDelete
  12. Here comes the Expert Market Reach offers Digital Marketing Couse in Vizag at a low price.
    Expert Market Reach gives live projects and paid Internships for offline and online Students.
    so people Who are intersted just visit Digital Marketing Course in Vizg

    ReplyDelete
  13. Here comes the Expert Market Reach offers Digital Marketing Couse in Vizag at a low price.
    Expert Market Reach gives live projects and paid Internships for offline and online Students.
    so people Who are intersted just visit Digital Marketing Course in Vizg

    ReplyDelete
  14. Here Comes the Bhoomatha Real Estate company to sell the plots for people at people's medium budget. we have Vizag, Vijayawada, Vizianagaram.plots nearby cities .we provide all things for customers to live happily.So people who are interested to buy lands in Vizag just visitReal Estate In Vizag

    ReplyDelete
  15. One stop solution for getting dedicated and transparent Digital Marketing services and
    We take care of your brands entire digital presence.
    The digital marketing services we provide includes SEO, SEM, SMM, online reputation
    management, local SEO, content marketing, e-mail marketing, conversion rate
    optimization, website development, pay per click etc. We will definitely promote your
    brand, product and services at highest position with consistency in order to generate
    more revenue for your business.Digital Marketing
    Services

    ReplyDelete
  16. Awesome blog. I enjoyed reading your articles. This is truly a great read for me. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work!
    data science course
    360DigiTMG

    ReplyDelete
  17. Excellent Blog! I would like to thank for the efforts you have made in writing this post. I am hoping the same best work from you in the future as well. I wanted to thank you for this websites! Thanks for sharing. Great websites!

    business analytics course

    data analytics courses in mumbai

    data science interview questions

    data science course in mumbai

    ReplyDelete
  18. I think it could be more general if you get a football sports activity
    https://360digitmg6.blogspot.com/2020/03/all-you-need-for-data-science.html

    ReplyDelete
  19. I would recommend my profile is important to me, I invite you to discuss this topic...
    https://dev.to/tejaswinipolam1/applications-of-data-science-in-real-time-world-1pb

    ReplyDelete
  20. Well we actually prefer to visit this website, several helpful info we will get here.
    data scientist training and placement

    ReplyDelete

  21. This is a really very nice post you shared, i like the post, thanks for sharing..

    Data Science Training

    ReplyDelete
  22. I am overwhelmed by your post with such a nice topic. Usually I visit your blogs and get updated through the information you include but today’s blog would be the most appreciable. Well done!
    data scientist training in hyderabad

    ReplyDelete

  23. I feel a lot more people need to read this, very good info! .
    data scientist training and placement



    ReplyDelete
  24. En iyi bahis siteleri deneme bonusu veren siteler
    En iyi bonus siteleri deneme bonusu
    En iyi bonus deneme bonusu
    En iyi casino siteleri bahis siteleri

    ReplyDelete
  25. Thanks for posting the best information and the blog is very gooddata science institutes in hyderabad.

    ReplyDelete
  26. Great tips and very easy to understand. This will definitely be very useful for me when I get a chance to start my blog.
    cyber security training malaysia

    ReplyDelete
  27. This article is packed with valuable insights! It’s well-organized and full of useful advice, making it an excellent resource for anyone interested in the topic. I’m sure many others will find it just as helpful. Thanks for sharing.
    Data Analytics Courses in Delhi

    ReplyDelete
  28. Great job on breaking down the Hadoop installation process with RPM! Your clear instructions will definitely help many beginners get started with big data. Keep sharing your insights; they make a real difference!
    Data Science Courses in Singapore






    ReplyDelete
  29. You article on this topic is magnificent vikas sir. I hope you have covered more articlees like this or planning to cover. we are here to appreciate and read masterpieces you have created in your field of expertise.
    Data science courses in Ghana

    ReplyDelete
  30. Great article about big data board. The step by step guide is very helpful. It was easy to follow. Gained much knowledge about the topic. Thank you for sharing such an informative post.
    Data science courses in Kochi

    ReplyDelete
  31. Big Data Board offers valuable insights into Hadoop installation, particularly with the RPM type. The blog is well-structured and provides clear, step-by-step instructions, making it accessible for both beginners and experienced users. A fantastic resource for anyone looking to dive into Big Data!
    data analytics courses in dubai

    ReplyDelete
  32. This article provides a clear and straightforward guide to installing Hadoop using RPM, which is incredibly helpful for those looking to set up a Hadoop environment quickly. The step-by-step instructions are easy to follow, from installing Java to configuring both single-node and multi-node clusters.
    Data science courses in Mysore

    ReplyDelete
  33. The post on Big Data Board about Hadoop installation using RPM is quite helpful! It offers clear, step-by-step instructions for setting up Hadoop, making it accessible for users at different skill levels. The tips on configuration and troubleshooting are particularly useful for ensuring a smooth installation process. Thanks for sharing such valuable information!

    Data science courses in Bangalore.

    ReplyDelete