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.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.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
-
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, 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, 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, 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
-
AlwaysFailSetStoragePolicyFileSystem
-
-
Method Details
-
setStoragePolicy
- Overrides:
setStoragePolicy
in classorg.apache.hadoop.hdfs.DistributedFileSystem
- Throws:
IOException
-