HBASE-4169 FSUtils LeaseRecovery for non HDFS FileSystems; added 4169-correction.txt correction
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1155441 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ac8b6f9e2d
commit
8fcbc4e91c
|
@ -29,10 +29,10 @@ import org.apache.commons.logging.LogFactory;
|
||||||
/**
|
/**
|
||||||
* <a href="http://www.mapr.com">MapR</a> implementation.
|
* <a href="http://www.mapr.com">MapR</a> implementation.
|
||||||
*/
|
*/
|
||||||
public class FSMapRUtils {
|
public class FSMapRUtils extends FSUtils {
|
||||||
private static final Log LOG = LogFactory.getLog(FSMapRUtils.class);
|
private static final Log LOG = LogFactory.getLog(FSMapRUtils.class);
|
||||||
|
|
||||||
public static void recoverFileLease(final FileSystem fs, final Path p,
|
public void recoverFileLease(final FileSystem fs, final Path p,
|
||||||
Configuration conf) throws IOException {
|
Configuration conf) throws IOException {
|
||||||
LOG.info("Recovering file " + p.toString() +
|
LOG.info("Recovering file " + p.toString() +
|
||||||
" by changing permission to readonly");
|
" by changing permission to readonly");
|
||||||
|
|
Loading…
Reference in New Issue