Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

HDFS Lease Exception and failing hbase import job

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
Highlighted

Re: HDFS Lease Exception and failing hbase import job

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
Highlighted

Re: HDFS Lease Exception and failing hbase import job

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

 

Highlighted

Re: HDFS Lease Exception and failing hbase import job

Rising Star

Hello Team,

 

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

 

Regards,

Vinod

Don't have an account?
Coming from Hortonworks? Activate your account here