private static class TestFileLink.MyDistributedFileSystem extends org.apache.hadoop.hdfs.DistributedFileSystem
Constructor and Description |
---|
MyDistributedFileSystem() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.conf.Configuration |
getConf() |
org.apache.hadoop.fs.FSDataInputStream |
open(org.apache.hadoop.fs.Path f,
int bufferSize) |
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, 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, setStoragePolicy, setTimes, setVerifyChecksum, setWorkingDirectory, setXAttr, supportsSymlinks, toString, truncate, unsetStoragePolicy
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
MyDistributedFileSystem()
public org.apache.hadoop.fs.FSDataInputStream open(org.apache.hadoop.fs.Path f, int bufferSize) throws IOException
open
in class org.apache.hadoop.hdfs.DistributedFileSystem
IOException
public org.apache.hadoop.conf.Configuration getConf()
getConf
in interface org.apache.hadoop.conf.Configurable
getConf
in class org.apache.hadoop.conf.Configured
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.