Support Questions
Find answers, ask questions, and share your expertise

HDFS Lease Exception and failing hbase import job

Rising Star

Hi Team,

 

Can someone please look into the below strange issue,

 

Caused by: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hdfs.server.namenode.LeaseExpiredException): No lease on /user/hbase/.hbase-snapshot/.tmp/Table_Name

 

 

The above error is throwing when i am running HBase snapshot Import and the job is failing.

Not regularly but failing some of the times.

Please do the needful and help me with this issue.

 

Thanks & Regards,

 

3 REPLIES 3

Expert Contributor

Hello @kvinod ,

 

These "org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hdfs.server.namenode.LeaseExpiredException)" Exceptions commonly indicates that the HDFS file which is being used is being deleted or moved.

 

Do you have parallel jobs accessing the same path in same time ?

Thanks,
Satz

Rising Star

Hey @satz 

 

There is no other process is running at that time and only one job is running and frequently it is failing with below error.

 

Caused by: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hdfs.server.namenode.LeaseExpiredException): No lease on /user/hbase/.hbase-snapshot/.tmp/

 

And the import job is failing.

But when i re-ran it is completing with out any bugs.

 

Please help me with your thoughts.

 

Thanks,

Vinod

 

Rising Star

Hello Team,

 

Can someone please give me your response and help me with this issue.

 

Regards,

Vinod

; ;