[ 
https://issues.apache.org/jira/browse/OOZIE-2150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14389179#comment-14389179
 ] 

Jacob Tolar commented on OOZIE-2150:
------------------------------------

I agree that this would be a nice feature, but it won't work nicely all the 
time - a shell action isn't necessarily running a script (you can ship and run 
a binary, or use an interpreter in <exec> and a a script as an argument). 

I imagine you could catch many/most cases if you use a library (e.g. 
http://tika.apache.org/ ) to guess the type of file in <exec>, and print it if 
it doesn't look like an executable.

if this approach makes sense, I could work on this.

> Shell launcher should print shell script
> ----------------------------------------
>
>                 Key: OOZIE-2150
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2150
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Purshotam Shah
>            Priority: Minor
>
> Pig and Hive does this. It will be helpful in debugging.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to