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 /
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
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
Format a name node
salt '*' hadoop.namenode_format force=True
Return version from hadoop version
CLI Example:
salt '*' hadoop.version
Docs for previous releases are available on readthedocs.org.
Latest Salt release: 2015.5.1