Support Questions

Find answers, ask questions, and share your expertise

org.apache.hadoop.hbase.ipc.RpcServer: Expected HEADER=HBas but received HEADER=\x00\x00\x013

avatar
Contributor

Hi there!!

I'm trying to insert into Hive managed table from HBase which is the external table made with SerDe and I'm getting the error WARN org.apache.hadoop.hbase.ipc.RpcServer: Expected HEADER=HBas but received HEADER=\x0A\x04hi from xx.xxx.xx.xxx:39720

The insert into external table runs well, I mean the insert persist the information in the final HBase table but trying to run insert overwrite table managed_ml select key, cf1_id , cf1_name from c_0external_ml; The error is shown in HBase logs. 

Any idea what's wrong? 

HBase log:

2024-08-13 21:53:30,583 INFO SecurityLogger.org.apache.hadoop.hbase.Server: Auth successful for hive/HOST@REALM (auth:KERBEROS)
2024-08-13 21:53:30,584 INFO SecurityLogger.org.apache.hadoop.hbase.Server: Connection from xx.xxx.xx.xxx:55106, version=2.2.3.7.1.7.0-551, sasl=true, ugi=hive/HOST@REALM (auth:KERBEROS), service=ClientService
2024-08-13 21:53:30,584 INFO SecurityLogger.org.apache.hadoop.security.authorize.ServiceAuthorizationManager: Authorization successful for hive/HOST@REALM (auth:KERBEROS) for protocol=interface org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos$ClientService$BlockingInterface
2024-08-13 21:53:38,853 WARN org.apache.hadoop.hbase.ipc.RpcServer: Expected HEADER=HBas but received HEADER=\x00\x00\x013 from xx.xxx.xx.xxx:39718
2024-08-13 21:53:38,853 WARN org.apache.hadoop.hbase.ipc.RpcServer: Expected HEADER=HBas but received HEADER=\x0A\x04hi from xx.xxx.xx.xxx:39718
2024-08-13 21:53:39,056 WARN org.apache.hadoop.hbase.ipc.RpcServer: Expected HEADER=HBas but received HEADER=\x00\x00\x013 from xx.xxx.xx.xxx:39720
2024-08-13 21:53:39,056 WARN org.apache.hadoop.hbase.ipc.RpcServer: Expected HEADER=HBas but received HEADER=\x0A\x04hi from xx.xxx.xx.xxx:39720
2024-08-13 21:53:39,361 WARN org.apache.hadoop.hbase.ipc.RpcServer: Expected HEADER=HBas but received HEADER=\x00\x00\x013 from xx.xxx.xx.xxx:39722
2024-08-13 21:53:39,361 WARN org.apache.hadoop.hbase.ipc.RpcServer: Expected HEADER=HBas

3 REPLIES 3

avatar
Expert Contributor

Hi @Marks_08 
Are you trying to insert in hive managed hbase table from hive shell or any other client? Is the client outside the cluster?

avatar
Contributor

Hi @shubham_sharma 

I'm trying to insert into Hive managed table from and external table. This external table is in the Hive schema and is pointing to HBase via SerDe. 
Basically I'm running Beeline in the Host where CDP is installed. The Cluster has 3 nodes, those nodes are configured properly in the quorum properties.  

avatar
Expert Contributor

Hi @Marks_08 

It could be an issue with the the beeline shell not able to include all the required configuration files needed for authentication.

Could you please try with exporting the configuration manually and then launching the beeline shell.
For example -

export HADOOP_CONF_DIR=/etc/hadoop/conf:/etc/hive/conf:/etc/hbase/conf