Support for hadoop
Yann Jouanin <yann.jouanin@intelunix.fr>
new
linux
salt.modules.hadoop.
dfs
(command=None, *args)Execute a command on DFS
CLI Example:
salt '*' hadoop.dfs ls /
salt.modules.hadoop.
dfs_absent
(path)Check if a file or directory is absent on the distributed FS.
CLI Example:
salt '*' hadoop.dfs_absent /some_random_file
Returns True if the file is absent
salt.modules.hadoop.
dfs_present
(path)Check if a file or directory is present on the distributed FS.
CLI Example:
salt '*' hadoop.dfs_present /some_random_file
Returns True if the file is present
salt.modules.hadoop.
dfsadmin_report
(arg=None)New in version 2019.2.0.
Reports basic filesystem information and statistics. Optional flags may be used to filter the list of displayed DataNodes.
[live] [dead] [decommissioning]
CLI Example:
salt '*' hadoop.dfsadmin -report
Generated on June 18, 2020 at 04:09:58 UTC.
You are viewing docs for the latest stable release, 3001. Switch to docs for the previous stable release, 3000.3, or to a recent doc build from the master branch.
© 2020 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy