java.io.Closeable, java.lang.AutoCloseable, org.apache.hadoop.service.Servicepublic class HSVolumeManager
extends org.apache.hadoop.yarn.server.volume.VolumeManager
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
HS_WORK_DIR |
| Constructor | Description |
|---|---|
HSVolumeManager() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
createVolumes(org.apache.hadoop.conf.Configuration conf) |
|
void |
serviceInit(org.apache.hadoop.conf.Configuration conf) |
The volume creation is done as part of serviceInit instead of serviceStart
because in the case of JobHistoryServer, there are services which try to
create directories inside this volume in serviceInit.
|
copyOwnerAndPermission, copyPermissionsIfNeeded, createDir, createVolume, getVolumeInfo, isVolumeMounted, lockVolume, mountVolume, unlockVolume, unmountVolume, verifyYarnDirPermissions, waitForLockRelease, waitForYarnPathCreatedclose, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, serviceStart, serviceStop, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStoppublic static final java.lang.String HS_WORK_DIR
public void serviceInit(org.apache.hadoop.conf.Configuration conf)
throws java.lang.Exception
serviceInit in class org.apache.hadoop.yarn.server.volume.VolumeManagerjava.lang.Exceptionpublic void createVolumes(org.apache.hadoop.conf.Configuration conf)
throws java.lang.Exception
createVolumes in class org.apache.hadoop.yarn.server.volume.VolumeManagerjava.lang.ExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.