Cannot copy the output to file from shell action in oozie

Hi,
There is a problem in shell action :slight_smile:
my shell script is sample.sh
CURRTIME=date '+%Y-%m-%d %H:%M:%S.%N'
echo “$CURRTIME” > /user/abc/oozie/hello/test.txt

my oozie wf is running good, but its not writing the to a ouputfile specified in sample.sh

Can any body resolve this … Please help

Hi @chaitya412,

You can not write to /user/abc as you will not be having permissions there. Please use your home directory in HDFS to pipe the output to file

Hope this helps