Home | About | Sematext search-lucene.com search-hadoop.com
 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
Ted Yu 2014-06-16, 17:00
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: