Re: Excuting a shell script inside the HDFS

2011-08-16 Thread Niels Basjes
Yes, that way it could work. I'm just wondering ... Why would you want to have a script like this in HDFS? Met vriendelijk groet, Niels Basjes Op 16 aug. 2011 06:49 schreef "Friso van Vollenhoven" < fvanvollenho...@xebia.com> het volgende: > > hadoop fs -cat /path/on/hdfs/script.sh | bash > > Sho

Re: Excuting a shell script inside the HDFS

2011-08-15 Thread Friso van Vollenhoven
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:5

Excuting a shell script inside the HDFS

2011-08-15 Thread Kadu canGica Eduardo
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.