FSNamesystem@Private public interface Namesystem extends RwLock, SafeMode
| Modifier and Type | Method | Description |
|---|---|---|
void |
checkAndProvisionSnapshotTrashRoots() |
Check if snapshot roots are created for all existing snapshottable
directories.
|
BlockCollection |
getBlockCollection(long id) |
|
CacheManager |
getCacheManager() |
|
FSDirectory |
getFSDirectory() |
|
HAContext |
getHAContext() |
|
boolean |
inTransitionToActive() |
|
boolean |
isInSnapshot(long blockCollectionID) |
|
boolean |
isRunning() |
Is this name system running?
|
void |
removeXattr(long id,
java.lang.String xattrName) |
Remove xAttr from the inode.
|
void |
startSecretManagerIfNecessary() |
hasReadLock, hasWriteLock, readLock, readLockInterruptibly, readUnlock, readUnlock, writeLock, writeLockInterruptibly, writeUnlock, writeUnlockisInSafeMode, isInStartupSafeModeboolean isRunning()
BlockCollection getBlockCollection(long id)
FSDirectory getFSDirectory()
void startSecretManagerIfNecessary()
boolean isInSnapshot(long blockCollectionID)
CacheManager getCacheManager()
HAContext getHAContext()
boolean inTransitionToActive()
void removeXattr(long id,
java.lang.String xattrName)
throws java.io.IOException
id - xattrName - java.io.IOExceptionvoid checkAndProvisionSnapshotTrashRoots()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.