■ HBase 로그파일에서 java.io.IOException: Bad connect ack with firstBadLink as xxx.xxx.xxx.xxx:50010 예외 상황이 발생. 원인을 찾아보니 리눅스서버(Centos7) 내부 방화벽이 활성화 되어 있었기 때문이었다. 방화벽을 내리니 원할히 접속된다.
$ vi hbase-[유저명]-regionserver-[호스트명].log ... java.io.IOException: Bad connect ack with firstBadLink as xxx.xxx.xxx.xxx:50010 at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.createBlockOutputStream(DFSOutputStream.java:1377) at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.nextBlockOutputStream(DFSOutputStream.java:1281) at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.run(DFSOutputStream.java:526) ...
■ 방화벽 실행 확인 확인( 아래의 Active: active (running) )
# systemctl status firewalld.service ... ● firewalld.service - firewalld - dynamic firewall daemon Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled) Active: active (running) since 월 2016-09-05 09:10:17 KST; 9h ago Main PID: 877 (firewalld) CGroup: /system.slice/firewalld.service └─877 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid ...
■ 리눅스 서버 실행시 방화벽 자동시작 해제
# systemctl disable firewalld.service Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service. Removed symlink /etc/systemd/system/basic.target.wants/firewalld.service.
- HBase 시작 오류, ‘hbase.wal.dir’ 2019년 2월 25일
- HBase master 서버 시작 오류 2019년 2월 25일
- Bad connect ack with firstBadLink as xxx.xxx.xxx.xxx:50010 2016년 9월 5일
- HBase 완전분산 설치 2016년 3월 5일
- HBase 기본 설치 2015년 5월 3일