Member since
08-07-2018
20
Posts
0
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1421 | 09-26-2018 06:37 AM |
09-26-2018
06:37 AM
@Shen Sean, I have not used a replicate process.. but in all the experience I had with Hbase, It is sensitive in terms of mapping zookeeper to Hbase cluster.. so better to have a different cluster name for Hbase replicate. Thank you, Hope it helps you.
... View more
08-16-2018
05:11 AM
If you check the log for hbase as said by Sergey Soldatov, you may find the problem as connection refused due to mismatch in the port for the master. you can check it in the site http://wiki.apache.org/hadoop/ConnectionRefused, as mentioned in the log file, this might help
... View more
08-14-2018
09:59 AM
@Sandeep NemuriI wish to acknowledge all who have contributed to this post more than I did.. Can you summarize the solutions touching on all the errors that I have committed, may be a brief ANSWER that I can accept as best answer. Truly in a positive sense...
... View more
08-14-2018
08:56 AM
I found few interesting facts in the process of learning how to start hbase: Firstly, Be sure that on all the systems there are users by which you start the hbase, if not, then use `adduser` command in respective systems. Secondly, Be sure that you (master) have the write permission to create the log file in the /usr/local/../logs directory in slave nodes. Otherwise, it throws permission denied error... Finally, Be sure that you copied the ssh-copy-id to all the systems for a passwordless access into regionservers.
... View more
08-10-2018
09:23 AM
I have done everything possible.. looked into every site possible, Got down my error lines to as small as follows saichanda@saichanda-OptiPlex-9020:~$ /usr/local/hbase/bin/start-hbase.sh
starting master, logging to /usr/local/hbase/logs/hbase-saichanda-master-saichanda-OptiPlex-9020.out
The authenticity of host 'slave2 (10.0.3.68)' can't be established.
ECDSA key fingerprint is SHA256:UBvk5FkG3KfSMREsDIKbob1l782fozXQHT6+3J6F2Y4.
Are you sure you want to continue connecting (yes/no)? The authenticity of host 'slave1 (10.0.3.70)' can't be established.
ECDSA key fingerprint is SHA256:D9udCvOaKAFGwNbuIpBa+pQErZSDTjLg4m4LJ+s8DzM.
Are you sure you want to continue connecting (yes/no)? master: starting regionserver, logging to /usr/local/hbase/bin/../logs/hbase-saichanda-regionserver-saichanda-OptiPlex-9020.out
slave2: Host key verification failed.
slave1: Host key verification failed.
saichanda@saichanda-OptiPlex-9020:~$ Can you help me conclude this doubt here??plz...
... View more
08-10-2018
06:22 AM
@Sandeep Nemuri
As you said, I cleaned up the directory /usr/local/hbase/logs from master node, What I understand by saying write permission for user is able to ssh to localhost without password. Right now, I am facing the error as follows: $./bin/start-hbase.sh
starting master, logging to /usr/local/hbase/logs/hbase-saichanda-master-saichanda-OptiPlex-9020.out
The authenticity of host 'slave2 (10.0.3.68)' can't be established.
ECDSA key fingerprint is SHA256:UBvk5FkG3KfSMREsDIKbob1l782fozXQHT6+3J6F2Y4.
Are you sure you want to continue connecting (yes/no)? slave1: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
slave1: @ WARNING: POSSIBLE DNS SPOOFING DETECTED! @
slave1: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
slave1: The ECDSA host key for slave1 has changed,
slave1: and the key for the corresponding IP address 10.0.3.70
slave1: is unchanged. This could either mean that
slave1: DNS SPOOFING is happening or the IP address for the host
slave1: and its host key have changed at the same time.
slave1: Offending key for IP in /home/saichanda/.ssh/known_hosts:18
slave1: remove with:
slave1: ssh-keygen -f "/home/saichanda/.ssh/known_hosts" -R 10.0.3.70
slave1: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
slave1: @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
slave1: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
slave1: IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
slave1: Someone could be eavesdropping on you right now (man-in-the-middle attack)!
slave1: It is also possible that a host key has just been changed.
slave1: The fingerprint for the ECDSA key sent by the remote host is
slave1: SHA256:D9udCvOaKAFGwNbuIpBa+pQErZSDTjLg4m4LJ+s8DzM.
slave1: Please contact your system administrator.
slave1: Add correct host key in /home/saichanda/.ssh/known_hosts to get rid of this message.
slave1: Offending ECDSA key in /home/saichanda/.ssh/known_hosts:22
slave1: remove with:
slave1: ssh-keygen -f "/home/saichanda/.ssh/known_hosts" -R slave1
slave1: ECDSA host key for slave1 has changed and you have requested strict checking.
slave1: Host key verification failed.
master: starting regionserver, logging to /usr/local/hbase/bin/../logs/hbase-saichanda-regionserver-saichanda-OptiPlex-9020.out
slave2: Host key verification failed. Why is it saying Host key verfication failed, when I am able to ssh to 10.0.3.68 and 10.0.3.70 without password. How to resolve this? I hope this is the last problem I am facing, after which hopefully I can start hbase
... View more
08-08-2018
10:07 AM
I am able to ssh to all the nodes, including master(localhost), but I get the following error... saichanda@saichanda-OptiPlex-9020:~$ /usr/local/hbase/bin/start-hbase.sh
starting master, logging to /usr/local/hbase/logs/hbase-saichanda-master-saichanda-OptiPlex-9020.out
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: /usr/local/hbase/logs/SecurityAuth.audit (Permission denied)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:133)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)
at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:207)
at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)
at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307)
The authenticity of host 'slave2 (10.0.3.68)' can't be established.
ECDSA key fingerprint is SHA256:UBvk5FkG3KfSMREsDIKbob1l782fozXQHT6+3J6F2Y4.
Are you sure you want to continue connecting (yes/no)? slave1: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@<br/>@@@@@@@@@@@@@@@@@@@@@@@@@
slave1: @ WARNING: POSSIBLE DNS SPOOFING DETECTED! @
slave1: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
slave1: The ECDSA host key for slave1 has changed,
slave1: and the key for the corresponding IP address 10.0.3.70
slave1: is unchanged. This could either mean that
slave1: DNS SPOOFING is happening or the IP address for the host
slave1: and its host key have changed at the same time.
slave1: Offending key for IP in /home/saichanda/.ssh/known_hosts:18
slave1: remove with:
slave1: ssh-keygen -f "/home/saichanda/.ssh/known_hosts" -R 10.0.3.70
slave1: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
slave1: @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
slave1: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
slave1: IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
slave1: Someone could be eavesdropping on you right now (man-in-the-middle attack)!
slave1: It is also possible that a host key has just been changed.
slave1: The fingerprint for the ECDSA key sent by the remote host is
slave1: SHA256:D9udCvOaKAFGwNbuIpBa+pQErZSDTjLg4m4LJ+s8DzM.
slave1: Please contact your system administrator.
slave1: Add correct host key in /home/saichanda/.ssh/known_hosts to get rid of this message.
slave1: Offending ECDSA key in /home/saichanda/.ssh/known_hosts:22
slave1: remove with:
slave1: ssh-keygen -f "/home/saichanda/.ssh/known_hosts" -R slave1
slave1: ECDSA host key for slave1 has changed and you have requested strict checking.
slave1: Host key verification failed.
master: starting regionserver, logging to /usr/local/hbase/bin/../logs/hbase-saichanda-regionserv
er-saichanda-OptiPlex-9020.out
master: log4j:ERROR setFile(null,true) call failed.
master: java.io.FileNotFoundException: /usr/local/hbase/bin/../logs/SecurityAuth.audit (Permissio
n denied)
master: at java.io.FileOutputStream.open0(Native Method)
master: at java.io.FileOutputStream.open(FileOutputStream.java:270)
master: at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
master: at java.io.FileOutputStream.<init>(FileOutputStream.java:133)
master: at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)
master: at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:207)
master: at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)
master: at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307)
slave2: Host key verification failed.
... View more
08-08-2018
09:13 AM
When I do jps on master node, I get the following. . . 18193 Jps Does this mean, As of now, only jps is running?
... View more
08-08-2018
08:28 AM
$ ssh localhost
sign_and_send_pubkey: signing failed: agent refused operation
saichanda@localhost's password: This is what I get when I do ssh localhost.. Event after adding id_rsa to authoriztion_keys
... View more
08-07-2018
07:49 AM
I haven't got rid of the problem inspite of creating the key and copying it to the slaves.. let me show you what I have done... a similar thing has been done to copy the (SAME) key to the other system...too.. is that right.. still I get the same prompt.. asking for passwords without gap... described below...irrespective of the location I get the prompt.. this way...
... View more