[
https://issues.apache.org/jira/browse/PIG-3053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Dai resolved PIG-3053.
-----------------------------
Resolution: Won't Fix
Included in PIG-3333.
> TestMacroExpansion has some invocations of perl scripts without explicitly
> invoking perl as the interpreter
> -------------------------------------------------------------------------------------------------------------
>
> Key: PIG-3053
> URL: https://issues.apache.org/jira/browse/PIG-3053
> Project: Pig
> Issue Type: Sub-task
> Reporter: Daniel Dai
> Assignee: Daniel Dai
> Fix For: 0.12
>
> Attachments: PIG-3053-1.patch
>
>
> invoking <script.pl> assumes an OS specific implementation detail specific to
> ELF binary format and the #Unable to render embedded object: File (/bin/env
> perl or #) not found./bin/perl interpreter redirection behavior. This is the
> behavior on linux that allows script files to define their interpreters. On
> Windows, this tag is ignored and similar behavior is governed by the "default
> application" which can often be an editor – or the file may not be associated
> with an interpreter at all. This behavior is also triggered only on certain
> events such as "start" – and not generically on execution at the
> command-prompt.
> Users who want to write cross-platform code that invokes streaming commands
> should invoke <interpreter> <script> explicitly to avoid issues based on
> platform-specifics – and to save trouble in setting execute permissions on
> their script files.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira