Class TestCreateTableProcedureDescriptorWriteFailure.FailingTableInfoFileSystem

java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.hadoop.fs.FileSystem
org.apache.hadoop.hdfs.DistributedFileSystem
org.apache.hadoop.hbase.master.procedure.TestCreateTableProcedureDescriptorWriteFailure.FailingTableInfoFileSystem
All Implemented Interfaces:
Closeable, AutoCloseable, org.apache.hadoop.conf.Configurable, org.apache.hadoop.crypto.key.KeyProviderTokenIssuer, org.apache.hadoop.fs.BatchListingOperations, org.apache.hadoop.fs.BulkDeleteSource, org.apache.hadoop.fs.LeaseRecoverable, org.apache.hadoop.fs.PathCapabilities, org.apache.hadoop.fs.SafeMode, org.apache.hadoop.fs.WithErasureCoding, org.apache.hadoop.security.token.DelegationTokenIssuer
Enclosing class:
TestCreateTableProcedureDescriptorWriteFailure

public static class TestCreateTableProcedureDescriptorWriteFailure.FailingTableInfoFileSystem extends org.apache.hadoop.hdfs.DistributedFileSystem
A DistributedFileSystem that refuses to create any file whose path contains TestCreateTableProcedureDescriptorWriteFailure.failPathContains, simulating the NameNode answering "could only be written to 0 of the 1 minReplication nodes".
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.hadoop.hdfs.DistributedFileSystem

    org.apache.hadoop.hdfs.DistributedFileSystem.HdfsDataOutputStreamBuilder

    Nested classes/interfaces inherited from class org.apache.hadoop.fs.FileSystem

    org.apache.hadoop.fs.FileSystem.DirectoryEntries, org.apache.hadoop.fs.FileSystem.Statistics
  • Field Summary

    Fields inherited from class org.apache.hadoop.fs.FileSystem

    DEFAULT_FS, FS_DEFAULT_NAME_KEY, LOG, SHUTDOWN_HOOK_PRIORITY, statistics, TRASH_PREFIX, USER_HOME_PREFIX

    Fields inherited from interface org.apache.hadoop.security.token.DelegationTokenIssuer

    TOKEN_LOG
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.hadoop.fs.FSDataOutputStream
    create(org.apache.hadoop.fs.Path f, org.apache.hadoop.fs.permission.FsPermission permission, EnumSet<org.apache.hadoop.fs.CreateFlag> cflags, int bufferSize, short replication, long blockSize, org.apache.hadoop.util.Progressable progress, org.apache.hadoop.fs.Options.ChecksumOpt checksumOpt)
     

    Methods inherited from class org.apache.hadoop.hdfs.DistributedFileSystem

    access, addCacheDirective, addCacheDirective, addCachePool, addErasureCodingPolicies, allowSnapshot, append, append, append, append, appendFile, batchedListLocatedStatusIterator, batchedListStatusIterator, canonicalizeUri, close, concat, create, create, createEncryptionZone, createFile, createMultipartUploader, createNonRecursive, createPathHandle, createSnapshot, createSymlink, delete, deleteSnapshot, disableErasureCodingPolicy, disallowSnapshot, enableErasureCodingPolicy, finalizeUpgrade, fixRelativePart, getAclStatus, getAdditionalTokenIssuers, getAllErasureCodingCodecs, getAllErasureCodingPolicies, getAllStoragePolicies, getBytesWithFutureGenerationStamps, getCanonicalServiceName, getClient, getContentSummary, getCorruptBlocksCount, getDataNodeStats, getDataNodeStats, getDefaultBlockSize, getDefaultPort, getDefaultReplication, getDelegationToken, getECTopologyResultForPolicies, getEnclosingRoot, getErasureCodingPolicy, getErasureCodingPolicyName, getEZForPath, getFileBlockLocations, getFileBlockLocations, getFileChecksum, getFileChecksum, getFileEncryptionInfo, getFileLinkStatus, getFileStatus, getHedgedReadMetrics, getHomeDirectory, getInotifyEventStream, getInotifyEventStream, getKeyProvider, getKeyProviderUri, getLinkTarget, getLocatedBlocks, getLowRedundancyBlocksCount, getMissingBlocksCount, getMissingReplOneBlocksCount, getPendingDeletionBlocksCount, getQuotaUsage, getScheme, getServerDefaults, getSlowDatanodeStats, getSnapshotDiffReport, getSnapshotDiffReportListing, getSnapshotListing, getSnapshottableDirListing, getStatus, getStoragePolicies, getStoragePolicy, getTrashRoot, getTrashRoots, getUri, getWorkingDirectory, getXAttr, getXAttrs, getXAttrs, hasPathCapability, initialize, isFileClosed, isInSafeMode, isSnapshotTrashRootEnabled, listCacheDirectives, listCachePools, listCorruptFileBlocks, listEncryptionZones, listLocatedStatus, listOpenFiles, listOpenFiles, listOpenFiles, listReencryptionStatus, listStatus, listStatusIterator, listXAttrs, metaSave, mkdir, mkdirs, modifyAclEntries, modifyCacheDirective, modifyCacheDirective, modifyCachePool, msync, open, open, primitiveCreate, primitiveMkdir, provisionEZTrash, provisionSnapshotTrash, recoverLease, reencryptEncryptionZone, refreshNodes, removeAcl, removeAclEntries, removeCacheDirective, removeCachePool, removeDefaultAcl, removeErasureCodingPolicy, removeXAttr, rename, rename, renameSnapshot, resolveLink, restoreFailedStorage, rollEdits, rollingUpgrade, satisfyStoragePolicy, saveNamespace, saveNamespace, setAcl, setBalancerBandwidth, setErasureCodingPolicy, setOwner, setPermission, setQuota, setQuotaByStorageType, setReplication, setSafeMode, setSafeMode, setSafeMode, setSafeMode, setStoragePolicy, setTimes, setVerifyChecksum, setWorkingDirectory, setXAttr, snapshotDiffReportListingRemoteIterator, supportsSymlinks, toString, truncate, unsetErasureCodingPolicy, unsetStoragePolicy, upgradeStatus

    Methods inherited from class org.apache.hadoop.fs.FileSystem

    append, append, append, areSymlinksEnabled, cancelDeleteOnExit, checkPath, clearStatistics, closeAll, closeAllForUGI, completeLocalOutput, copyFromLocalFile, copyFromLocalFile, copyFromLocalFile, copyFromLocalFile, copyToLocalFile, copyToLocalFile, copyToLocalFile, create, create, create, create, create, create, create, create, create, create, create, createBulkDelete, createDataInputStreamBuilder, createDataInputStreamBuilder, createDataOutputStreamBuilder, createNewFile, createNonRecursive, createNonRecursive, createSnapshot, delete, deleteOnExit, enableSymlinks, exists, get, get, get, getAllStatistics, getBlockSize, getCanonicalUri, getChildFileSystems, getDefaultBlockSize, getDefaultReplication, getDefaultUri, getFileSystemClass, getFSofPath, getGlobalStorageStatistics, getInitialWorkingDirectory, getLength, getLocal, getName, getNamed, getPathHandle, getReplication, getServerDefaults, getStatistics, getStatistics, getStatus, getStorageStatistics, getUsed, getUsed, globStatus, globStatus, isDirectory, isFile, listFiles, listLocatedStatus, listStatus, listStatus, listStatus, listStatusBatch, makeQualified, mkdirs, mkdirs, moveFromLocalFile, moveFromLocalFile, moveToLocalFile, newInstance, newInstance, newInstance, newInstanceLocal, open, open, openFile, openFile, openFileWithOptions, openFileWithOptions, primitiveMkdir, printStatistics, processDeleteOnExit, resolvePath, setDefaultUri, setDefaultUri, setWriteChecksum, setXAttr, startLocalOutput

    Methods inherited from class org.apache.hadoop.conf.Configured

    getConf, setConf

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.apache.hadoop.security.token.DelegationTokenIssuer

    addDelegationTokens
  • Constructor Details

  • Method Details

    • create

      public org.apache.hadoop.fs.FSDataOutputStream create(org.apache.hadoop.fs.Path f, org.apache.hadoop.fs.permission.FsPermission permission, EnumSet<org.apache.hadoop.fs.CreateFlag> cflags, int bufferSize, short replication, long blockSize, org.apache.hadoop.util.Progressable progress, org.apache.hadoop.fs.Options.ChecksumOpt checksumOpt) throws IOException
      Overrides:
      create in class org.apache.hadoop.hdfs.DistributedFileSystem
      Throws:
      IOException