Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # user >> Recover HDFS lease after crash


Copy link to this message
-
Re: Recover HDFS lease after crash
You can utilize the following method in DFSClient to avoid the exception:

  /**

   * Close status of a file

   * @return true if file is already closed

   */

  public boolean isFileClosed(String src) throws IOException{
On Mon, Jun 16, 2014 at 9:47 AM, Bogdan Raducanu <[EMAIL PROTECTED]> wrote:
 
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB