List of usage examples for org.apache.hadoop.hdfs.server.namenode NameNodeAdapter setLeasePeriod
public static void setLeasePeriod(final FSNamesystem namesystem, long soft, long hard)
From source file:com.mellanox.r4h.MiniDFSCluster.java
License:Apache License
/** * Set the softLimit and hardLimit of client lease periods *///from ww w. java2 s . c o m public void setLeasePeriod(long soft, long hard) { NameNodeAdapter.setLeasePeriod(getNamesystem(), soft, hard); }
From source file:com.mellanox.r4h.MiniDFSCluster.java
License:Apache License
public void setLeasePeriod(long soft, long hard, int nnIndex) { NameNodeAdapter.setLeasePeriod(getNamesystem(nnIndex), soft, hard); }