I have a bash shell script that contains the following command:
hadoop fs -get ${WORKING_DIRECTORY}${OUTPUT_FILE}
which resolves into
hadoop fs -get /tmp/out.csv
When I run the shell script, this command produces no output, and the file is not transferred to the local instance. However, if I run the command hadoop fs -get /tmp/out.csv
directly on the shell, it works.
What am I missing?