Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-4477

External Pig Script Compiling Error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • grunt
    • None
    • Linux UBUNTU 14.04 LTS

    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> ...
      ";" ...

      Please tell me How to overcome this ??

      Attachments

        Activity

          People

            Unassigned Unassigned
            sajid sajid mohammed
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: