Showing posts with label Hbase. Show all posts
Showing posts with label Hbase. Show all posts

Tuesday, August 18, 2020

ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing

 Solution for the above problem:


Change the zookeper default port : 2181 to 2282 

<property>

<name>hbase.zookeeper.property.clientPort</name>

<value>2282</value>

</property>

when we have to create the following path with zookeeper folder, it contains some data when we run start-hbase.sh  .. if nothing is created in this folder then  we will get the above error.

Actually I have pointed the zookeeper folder to HDFS .. But it is not working so that I have create the zookeeper folder in the following path... Note: we have to give write person to the start-hbase.sh running user .. 


<property>

<name>hbase.zookeeper.property.dataDir</name>

<value>/usr/local/softwares/hbase-2.2.5/zookeeper</value>

</property>


Thursday, July 23, 2020

HBase Error IllegalStateException when starting Master: hsync

I had similar issue while using HBase 2.2.3 with Hadoop 2.10.0 on a 3-N Hbase cluster while using HDFS as the base.rootdir.

Solution

  1. Set the configuration to hbase.unsafe.stream.capability.enforce to false in hbase-site.xml
<property>
  <name>hbase.unsafe.stream.capability.enforce</name>
  <value>false</value>
</property>



  1. Not sure of this was necessary , also changed the hbase.wal.dir to an HDFS directory outside the hbase.rootdir

zookeeper.ClientCnxn: Opening socket connection to server localhost/192.168.43.203:2181. Will not attempt to authenticate using SASL

Any location: local or HDFS location:

Solution : remove the /user/nagaraju/hbase
           and also remove  the /user/nagaraju/zookeeper

Recent Post

Databricks Delta table merge Example

here's some sample code that demonstrates a merge operation on a Delta table using PySpark:   from pyspark.sql import SparkSession # cre...