Package org.apache.hadoop.hbase.util
Class HBaseFsck.FileLockCallable
java.lang.Object
org.apache.hadoop.hbase.util.HBaseFsck.FileLockCallable
- All Implemented Interfaces:
Callable<org.apache.hadoop.fs.FSDataOutputStream>
- Enclosing class:
- HBaseFsck
private static class HBaseFsck.FileLockCallable
extends Object
implements Callable<org.apache.hadoop.fs.FSDataOutputStream>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final org.apache.hadoop.conf.Configuration
private org.apache.hadoop.fs.Path
(package private) RetryCounter
-
Constructor Summary
ConstructorDescriptionFileLockCallable
(org.apache.hadoop.conf.Configuration conf, RetryCounter retryCounter) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.fs.FSDataOutputStream
call()
private org.apache.hadoop.fs.FSDataOutputStream
createFileWithRetries
(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path hbckLockFilePath, org.apache.hadoop.fs.permission.FsPermission defaultPerms) (package private) org.apache.hadoop.fs.Path
Returns Will benull
unless you callcall()
-
Field Details
-
retryCounter
-
conf
-
hbckLockPath
-
-
Constructor Details
-
FileLockCallable
-
-
Method Details
-
getHbckLockPath
org.apache.hadoop.fs.Path getHbckLockPath()Returns Will benull
unless you callcall()
-
call
- Specified by:
call
in interfaceCallable<org.apache.hadoop.fs.FSDataOutputStream>
- Throws:
IOException
-
createFileWithRetries
private org.apache.hadoop.fs.FSDataOutputStream createFileWithRetries(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path hbckLockFilePath, org.apache.hadoop.fs.permission.FsPermission defaultPerms) throws IOException - Throws:
IOException
-