반응형
master node
$ vi /etc/sysconfig/iptables -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 9000 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 9001 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 50010 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 50030 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 50040 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 50050 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 50060 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 50070 -j ACCEPT $ /etc/init.d/iptables restart
slave node
$ vi /etc/sysconfig/iptables -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 50010 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 50040 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 50050 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 50060 -j ACCEPT $ /etc/init.d/iptables restart
반응형
'Study > Bigdata' 카테고리의 다른 글
org.apache.flume.EventDeliveryException: Failed to send events (0) | 2013.11.21 |
---|---|
맵리듀스 프로그래밍을 할때 log4j로 로그 찍어보기 (0) | 2012.07.08 |
하둡 hadoop && ext3, ext4 , XFS (0) | 2012.01.26 |
[hadoop] ERROR namenode.NameNode: java.io.IOException: Cannot create directory /data/name/current (0) | 2011.11.23 |
[hadoop]SHUTDOWN_MSG: Shutting down NameNode at java.net.UnknownHostException: hosts: hosts: 이름 혹은 서비스를 알 수 없습니다 (0) | 2011.11.23 |
RSA 인증으로 ssh 접속 안될때. (0) | 2011.11.23 |