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

    Fields
    Modifier and Type
    Field
    Description
    private final org.apache.hadoop.conf.Configuration
     
    private org.apache.hadoop.fs.Path
     
    (package private) RetryCounter
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    FileLockCallable(org.apache.hadoop.conf.Configuration conf, RetryCounter retryCounter)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.hadoop.fs.FSDataOutputStream
     
    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 be null unless you call call()

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • getHbckLockPath

      org.apache.hadoop.fs.Path getHbckLockPath()
      Returns Will be null unless you call call()
    • call

      public org.apache.hadoop.fs.FSDataOutputStream call() throws IOException
      Specified by:
      call in interface Callable<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