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

53 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. 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
  31. 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
  32. 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
  33. Data science is undeniably one of the most in-demand fields, and it’s fantastic to see such an array of courses available in Iraq. Whether you're interested in data analysis, machine learning, or AI, these programs can help you build the skills necessary for success. Explore the best courses here and take the next step in your career!

    ReplyDelete
  34. Thank you for this detailed guide on installing Hadoop using RPM! Your clear instructions make the installation process much easier to follow and will be a great resource for anyone setting up Hadoop clusters.
    Data science course in Lucknow

    ReplyDelete
  35. Thank you for the great explanation on using IntentTestRule in Android testing! The clarity in your step-by-step guide makes it much easier to understand and apply in real-world projects. This is a valuable resource for Android developers looking to improve their testing skills. Keep up the excellent work!
    Data science courses in Bangladesh

    ReplyDelete
  36. Nice article, I got new information from your article, keep sharing.
    IIM SKILLS Data Science Course Review

    ReplyDelete
  37. Great step-by-step guide on Hadoop installation via RPM! It's clear and easy to follow, making it perfect for anyone setting up a single-node or multi-node cluster. The inclusion of service startup commands for both configurations is especially helpful for troubleshooting.
    Data science course in Navi Mumbai

    NILANJANA B
    NBHUNIA8888@gmail.com
    Data science course in Navi Mumbai
    https://iimskills.com/data-science-courses-in-navi-mumbai/

    ReplyDelete
  38. Thanks for sharing these details. I found them very useful and informative.

    technical writing course

    ReplyDelete
  39. I appreciate you sharing this valuable information. It was really helpful!
    GST Course

    ReplyDelete