I have shell script like below
ssh -q -v -i id_rsa -o "StrictHostKeyChecking no" user@remotemachine script > file
hdfs dfs -put -f file hdfspath
ssh -q -v -i id_rsa -o "StrictHostKeyChecking no" user@remotemachine script > file
hdfs dfs -put -f file hdfspath
When I run this script in oozie shell action with "", file is copied from remote machine to my machine. Actually its more than 2kb file. But when i move it to hdfs using (hdfs dfs -put) command Its thrwing below error
Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.ShellMain], exception invoking main(), Output data exceeds its limit [2048] org.apache.oozie.action.hadoop.LauncherException: Output data exceeds its limit [2048]
Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.ShellMain], exception invoking main(), Output data exceeds its limit [2048] org.apache.oozie.action.hadoop.LauncherException: Output data exceeds its limit [2048]