Sha256: 758a652c4d444c61949794c803547ec9ce27b4bf4d5bec3f53abb7d594e40e35

Contents?: true

Size: 318 Bytes

Versions: 16

Compression:

Stored size: 318 Bytes

Contents

#!/usr/bin/env bash

#
# Despite arguments and deliberation, this IS a necessary script. Azkaban, should you choose to
# use it, will fail if (it seems) ANY of its spawned subprocesses fails
#

hadoop fs -test -e "$@"
if [ "$?" != "0" ] ; then
  # echo "File does not exist, making..."
  exec hadoop fs -mkdir "$@"
fi

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
wukong-hadoop-0.2.0 bin/hdp-mkdirp
wukong-hadoop-0.1.1 bin/hdp-mkdirp
wukong-hadoop-0.1.0 bin/hdp-mkdirp
wukong-hadoop-0.0.2 bin/hdp-mkdirp
wukong-hadoop-0.0.1 bin/hdp-mkdirp
wukong-3.0.0.pre bin/hdp-mkdirp
wukong-2.0.2 bin/hdp-mkdirp
wukong-2.0.1 bin/hdp-mkdirp
wukong-2.0.0 bin/hdp-mkdirp
wukong-1.5.4 bin/hdp-mkdirp
wukong-1.5.3 bin/hdp-mkdirp
wukong-1.5.2 bin/hdp-mkdirp
wukong-1.5.1 bin/hdp-mkdirp
wukong-1.5.0 bin/hdp-mkdirp
wukong-1.4.12 bin/hdp-mkdirp
wukong-1.4.11 bin/hdp-mkdirp