Http://blog.sina.com.cn/s/blog_7f83b8fb0102v88q.html
HBase Report Lease expires, Regionserver automatically shuts down-namenode. Leaseexpiredexception (2014-12-22-11:09:06) reprinted
Tags: it leases expire |
Category: The way of growth |
Phenomenon: 1, error Regionserver Auto-close 2, regionserver errors are: (Below we take Slave7 as an example) Org.apache.hadoop.hdfs.server.namenode.LeaseExpiredException:No Lease On/hbase-new/wals/slave7, 60020,1419212005345/slave7,60020,1419212005345.1419212012809:file does not exist. Holder dfsclient_hb_rs_slave7,60020,1419212005345_-74 773978_32 does not has any open files. 3. On master, the reported error is: Org.apache.hadoop.ipc.RemoteException (java.io.FileNotFoundException): Parent directory Doesn ' texist:/hbase-new/wals/slave7,60020,1419212005345 4, according to the above information, view HDFs, found WALs directory does not have Slave7 information
After the search problem, the following parameters were modified. This is primarily a modification of leases and timeouts. The problem is temporarily gone when the restart HBase is modified. Follow-up remains to be seen. Add the following in Hbase-site.xml:
On the Internet, for lease issues, most of the solutions given are: In Hdfs-site.xml, set up dfs.datanode.max.xcievers. However, this problem seems to be unrelated to this parameter.