salt.modules.hadoop
Support for hadoop
- maintainer
-
Yann Jouanin <yann.jouanin@intelunix.fr>
- maturity
-
new
- depends
- platform
-
linux
-
Execute a command on DFS
CLI Example:
salt '*' hadoop.dfs ls /
salt.modules.hadoop.dfs(command=None, *args)
-
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_absent(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.dfs_present(path)
-
New in version 2019.2.0.
Reports basic filesystem information and statistics. Optional flags may be used to filter the list of displayed DataNodes.
- arg
-
[live] [dead] [decommissioning]
CLI Example:
salt '*' hadoop.dfsadmin -report
salt.modules.hadoop.dfsadmin_report(arg=None)
-
Format a name node
salt '*' hadoop.namenode_format force=True
salt.modules.hadoop.namenode_format(force=None)
-
Return version from hadoop version
CLI Example:
salt '*' hadoop.version
salt.modules.hadoop.version()
© 2021 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltproject.io/en/latest/ref/modules/all/salt.modules.hadoop.html