← Back to team overview

bigdata-dev team mailing list archive

Re: [Merge] lp:~bigdata-dev/charms/trusty/hdp-hadoop/fixterasort into lp:~bigdata-dev/charms/trusty/hdp-hadoop/trunk

 

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.


References