Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What commands are used to initialize the hadoop service

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article is to share with you about the commands to be used to initialize hadoop services. The editor thinks it is very practical, so I share it with you. I hope you can get something after reading this article. Let's follow the editor to have a look.

A simple study of hadoop more than a year ago, the environment centos 6.5 64bit. Use the following command to gradually initialize and save it for your own use.

Cd / optwget http://mirrors.cnnic.cn/apache/hadoop/common/hadoop-2.6.4/hadoop-2.6.4.tar.gztar-xvf hadoop-2.6.4.tar.gz ln-s hadoop-2.6.4 hadoopcp. / etc/hadoop/* inputbin/hadoop jar. / share/hadoop/mapreduce/hadoop-mapreduce-examples-2.6.4.jar grep input output 'dfs [a muri z.] +' cat output/*rpm-ivh http://nginx. Org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpmyum install nginxservice nginx startiptables-I INPUT-p tcp-- dport 80-j ACCEPTservice iptables saveservice iptables restartservice iptables status http://10.132.65.77/hadoop-project-dist/hadoop-common/SingleCluster.htmlssh-keygen-t dsa-P'- f ~ / .ssh/id_dsaiptables-I INPUT-p tcp-- dport 50070-j ACCEPTbin/hdfs dfs-put etc/hadoop / userbin/ Hadoop jar share/hadoop/mapreduce/hadoop-mapreduce-examples-2.6.4.jar grep / user output'dfs [a murz.] + 'bin/hdfs dfs-get output outputbin/hdfs dfs-cat output/*-- this is not workingiptables-I INPUT-p tcp-- dport 8088-j ACCEPTiptables-I INPUT-p tcp-- dport 9000-j ACCEPTiptables-I INPUT-p tcp-dport 50090-j ACCEPTiptables-I INPUT-p tcp-dport 50070-j ACCEPTiptables-I INPUT-p tcp-dport 50010 -j ACCEPTiptables-I INPUT-p tcp-- dport 50075-j ACCEPTiptables-I INPUT-p tcp-- dport 50020-j ACCEPTiptables-I INPUT-p tcp-- dport 8040-j ACCEPTiptables-I INPUT-p tcp-- dport 8042-j ACCEPTiptables-I INPUT-p tcp-- dport 8088-j ACCEPTiptables-I INPUT-p tcp-dport 8030-j ACCEPTiptables-I INPUT-p tcp-dport 8031-j ACCEPTiptables-I INPUT-p tcp-dport 8032-j ACCEPTiptables-I INPUT-p tcp-dport 8033-j dport Bin/hdfs namenode-formatjavac-classpath ${HADOOP_HOME} / hadoop-$ {HADOOP_VERSION}-core.jar-d wordcount_classes WordCount.java above are the commands used to initialize the hadoop service The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report