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
- 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.DiskStatus, 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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setStoragePolicy
(org.apache.hadoop.fs.Path src, String policyName) Methods inherited from class org.apache.hadoop.hdfs.DistributedFileSystem
access, addCacheDirective, addCacheDirective, addCachePool, addDelegationTokens, allowSnapshot, append, append, append, appendFile, canonicalizeUri, close, concat, create, create, create, createEncryptionZone, createFile, createNonRecursive, createSnapshot, createSymlink, delete, deleteSnapshot, disallowSnapshot, finalizeUpgrade, fixRelativePart, getAclStatus, getAllStoragePolicies, getBytesWithFutureGenerationStamps, getCanonicalServiceName, getClient, getContentSummary, getCorruptBlocksCount, getDataNodeStats, getDataNodeStats, getDefaultBlockSize, getDefaultPort, getDefaultReplication, getDelegationToken, getDiskStatus, getEZForPath, getFileBlockLocations, getFileBlockLocations, getFileBlockStorageLocations, getFileChecksum, getFileChecksum, getFileEncryptionInfo, getFileLinkStatus, getFileStatus, getHomeDirectory, getInotifyEventStream, getInotifyEventStream, getKeyProvider, getKeyProviderUri, getLinkTarget, getMissingBlocksCount, getMissingReplOneBlocksCount, getPendingDeletionBlocksCount, getQuotaUsage, getRawCapacity, getRawUsed, getScheme, getServerDefaults, getSnapshotDiffReport, getSnapshottableDirListing, getStatus, getStoragePolicies, getStoragePolicy, getTrashRoot, getTrashRoots, getUnderReplicatedBlocksCount, getUri, getWorkingDirectory, getXAttr, getXAttrs, getXAttrs, initialize, isFileClosed, isInSafeMode, listCacheDirectives, listCachePools, listCorruptFileBlocks, listEncryptionZones, listLocatedStatus, listOpenFiles, listStatus, listStatusIterator, listXAttrs, metaSave, mkdir, mkdirs, modifyAclEntries, modifyCacheDirective, modifyCacheDirective, modifyCachePool, msync, open, primitiveCreate, primitiveMkdir, provisionEZTrash, recoverLease, refreshNodes, removeAcl, removeAclEntries, removeCacheDirective, removeCachePool, removeDefaultAcl, removeXAttr, rename, rename, renameSnapshot, resolveLink, restoreFailedStorage, rollEdits, rollingUpgrade, saveNamespace, setAcl, setBalancerBandwidth, setOwner, setPermission, setQuota, setQuotaByStorageType, setReplication, setSafeMode, setSafeMode, setTimes, setVerifyChecksum, setWorkingDirectory, setXAttr, supportsSymlinks, toString, truncate, unsetStoragePolicy
Methods inherited from class org.apache.hadoop.fs.FileSystem
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, 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, 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, primitiveMkdir, printStatistics, processDeleteOnExit, resolvePath, setDefaultUri, setDefaultUri, setWriteChecksum, setXAttr, startLocalOutput
Methods inherited from class org.apache.hadoop.conf.Configured
getConf, setConf
-
Constructor Details
-
AlwaysFailSetStoragePolicyFileSystem
-
-
Method Details
-
setStoragePolicy
- Overrides:
setStoragePolicy
in classorg.apache.hadoop.hdfs.DistributedFileSystem
- Throws:
IOException
-