22.16.74. salt.modules.hadoop

Support for hadoop

maintainer:Yann Jouanin <yann.jouanin@intelunix.fr>
maturity:new
depends:
platform: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.namenode_format(force=None)

Format a name node

salt '*' hadoop.namenode_format force=True
salt.modules.hadoop.version()

Return version from hadoop version

CLI Example:

salt '*' hadoop.version

Docs for previous releases are available on salt.rtfd.org.

Latest Salt release: 2014.1.13

Try the shiny new release candidate of Salt, v2014.7.0rc6! More info here.

Previous topic

22.16.73. salt.modules.guestfs

Next topic

22.16.75. salt.modules.haproxyconn

SaltStack News

Upcoming SaltStack events, webinars and local meet ups and user groups.