Package org.apache.hadoop.hbase.util
Class TestFSUtils.AlwaysFailSetStoragePolicyFileSystem
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.hadoop.fs.FileSystem
org.apache.hadoop.hdfs.DistributedFileSystem
org.apache.hadoop.hbase.util.TestFSUtils.AlwaysFailSetStoragePolicyFileSystem
- 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:
- TestFSUtils
class TestFSUtils.AlwaysFailSetStoragePolicyFileSystem
extends org.apache.hadoop.hdfs.DistributedFileSystem
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hdfs.DistributedFileSystem
org.apache.hadoop.hdfs.DistributedFileSystem.HdfsDataOutputStreamBuilderNested 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_PREFIXFields inherited from interface org.apache.hadoop.security.token.DelegationTokenIssuer
TOKEN_LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetStoragePolicy(org.apache.hadoop.fs.Path src, String policyName) 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, 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, setTimes, setVerifyChecksum, setWorkingDirectory, setXAttr, snapshotDiffReportListingRemoteIterator, supportsSymlinks, toString, truncate, unsetErasureCodingPolicy, unsetStoragePolicy, upgradeStatusMethods 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, startLocalOutputMethods inherited from class org.apache.hadoop.conf.Configured
getConf, setConfMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.hadoop.security.token.DelegationTokenIssuer
addDelegationTokens
-
Constructor Details
-
AlwaysFailSetStoragePolicyFileSystem
-
-
Method Details
-
setStoragePolicy
- Overrides:
setStoragePolicyin classorg.apache.hadoop.hdfs.DistributedFileSystem- Throws:
IOException
-