hadoop fs -cat /path/on/hdfs/script.sh | bash Should work (if you use bash).
Does anyone have access to HDFS or do you use HDFS permissions? Executing arbitrary stuff that comes out of a network filesystem is not always a good idea from a security perspective. Friso On 15 aug. 2011, at 23:51, Kadu canGica Eduardo wrote: > Hi, > > i'm trying without success to execute a shell script that is inside the HDFS. > Is this possible? If it is, how can i do this? > > Since ever, thanks. > Carlos.