Uploaded image for project: 'Hue'
  1. Hue
  2. HUE-8307

[pig] Unable to use piggybank installed with Pig examples

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.2.0
    • Fix Version/s: 4.3.0
    • Component/s: con.pig
    • Labels:
      None

      Description

      I tried to add following configuration in [pig] section of hue.ini

      [pig]
        # Location of piggybank.jar on local filesystem.
        local_sample_dir=/home/hue/piglibs/
      

      Than installed Pig examples, and tried to run "UpperText" example, and it failed because of following problem:

      Failed to parse: Pig script failed to parse: 
      <file pig-e7bc.pig, line 5, column 35> Failed to generate logical plan. Nested exception: org.apache.pig.backend.executionengine.ExecException: ERROR 1070: Could not resolve org.apache.pig.piggybank.evaluation.string.UPPER using imports: [, java.lang., org.apache.pig.builtin., org.apache.pig.impl.builtin.]
      ...
      

        Attachments

          Activity

            People

            • Assignee:
              vanyasmart Ivan Dzikovsky
              Reporter:
              vanyasmart Ivan Dzikovsky
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: