Hi,

I was running a shell script on a node in my Hadoop cluster to copy the
files from local to HDFS. The script was running fine and generating the
logs of echo statements to a specified log file in the local file system.

That script needs to be added to a Oozie workflow where certain other
actions need to be done after this shell script completes.

I am facing the issue of writing to the log file. For example, my log
statement is like:

echo $ConfigRead >> ../Log/today.log

The script break there. Even though I created the today.log file into HDFS,
still it did not work.
I can think of removing the output redirected to the file and simply let
the echo output printed in stdout, however the business requirement is to
have certain log statements appended to a log file.

So could you please advise how can I achieve it? Thanks a lot in advance.

Thanks
Bhagaban

Reply via email to