Review: Needs Fixing

The problem is because IN_DIR and OUT_DIR are relative paths, which is 
understood as local path inside the ubuntu home folder (i.e. /user/ubuntu). 
This folder is most likely not created. 
HDFS by default is (trying to) creating recursively all the directories, but 
the ubuntu user doesn't have write permissions to /.

If you locate set IN_DIR and OUT_DIR in /tmp this should make the trick:

IN_DIR=/tmp/in_dir
OUT_DIR=/tmp/out_dir
-- 
https://code.launchpad.net/~bigdata-dev/charms/trusty/hdp-hadoop/fixterasort/+merge/248977
Your team Juju Big Data Development is requested to review the proposed merge 
of lp:~bigdata-dev/charms/trusty/hdp-hadoop/fixterasort into 
lp:~bigdata-dev/charms/trusty/hdp-hadoop/trunk.

-- 
Mailing list: https://launchpad.net/~bigdata-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~bigdata-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to