Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions pkg/ddc/alluxio/operations/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,14 @@ func (a AlluxioFileUtils) Mount(alluxioPath string,
return
}

// UnMount unmounts an Alluxio path from the Alluxio filesystem.
// It executes the `alluxio fs unmount` command in the Alluxio pod container.
//
// Parameters:
// - alluxioPath: the Alluxio path to unmount.
//
// Returns:
// - err: non-nil if the unmount command fails or if executing the command returns an error.
func (a AlluxioFileUtils) UnMount(alluxioPath string) (err error) {
var (
command = []string{"alluxio", "fs", "unmount"}
Expand Down