You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "sajid mohammed (JIRA)" <ji...@apache.org> on 2015/03/23 16:53:12 UTC

[jira] [Updated] (PIG-4477) External Pig Script Compiling Error

     [ https://issues.apache.org/jira/browse/PIG-4477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

sajid mohammed updated PIG-4477:
--------------------------------
    Description: 
When i am trying to execute external pig script file in local mode i am facing problems

When i am executing pig -x local 'pathofscriptfile'

it is giving me the following error

Pig Stack Trace
---------------
ERROR 1000: Error during parsing. Encountered " <IDENTIFIER> "pig "" at line 1, column 1.
Was expecting one of:
    <EOF> 
    "cat" ...
    "clear" ...
    "fs" ...
    "sh" ...
    "cd" ...
    "cp" ...
    "copyFromLocal" ...
    "copyToLocal" ...
    "dump" ...
    "\\d" ...
    "describe" ...
    "\\de" ...
    "aliases" ...
    "explain" ...
    "\\e" ...
    "help" ...
    "history" ...
    "kill" ...
    "ls" ...
    "mv" ...
    "mkdir" ...
    "pwd" ...
    "quit" ...
    "\\q" ...
    "register" ...
    "rm" ...
    "rmf" ...
    "set" ...
    "illustrate" ...
    "\\i" ...
    "run" ...
    "exec" ...
    "scriptDone" ...
    "" ...
    "" ...
    <EOL> ...
    ";" ...

> External Pig Script Compiling Error
> -----------------------------------
>
>                 Key: PIG-4477
>                 URL: https://issues.apache.org/jira/browse/PIG-4477
>             Project: Pig
>          Issue Type: Bug
>          Components: piggybank
>         Environment: Linux UBUNTU 14.04 LTS
>            Reporter: sajid mohammed
>
> When i am trying to execute external pig script file in local mode i am facing problems
> When i am executing pig -x local 'pathofscriptfile'
> it is giving me the following error
> Pig Stack Trace
> ---------------
> ERROR 1000: Error during parsing. Encountered " <IDENTIFIER> "pig "" at line 1, column 1.
> Was expecting one of:
>     <EOF> 
>     "cat" ...
>     "clear" ...
>     "fs" ...
>     "sh" ...
>     "cd" ...
>     "cp" ...
>     "copyFromLocal" ...
>     "copyToLocal" ...
>     "dump" ...
>     "\\d" ...
>     "describe" ...
>     "\\de" ...
>     "aliases" ...
>     "explain" ...
>     "\\e" ...
>     "help" ...
>     "history" ...
>     "kill" ...
>     "ls" ...
>     "mv" ...
>     "mkdir" ...
>     "pwd" ...
>     "quit" ...
>     "\\q" ...
>     "register" ...
>     "rm" ...
>     "rmf" ...
>     "set" ...
>     "illustrate" ...
>     "\\i" ...
>     "run" ...
>     "exec" ...
>     "scriptDone" ...
>     "" ...
>     "" ...
>     <EOL> ...
>     ";" ...



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