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

Pig script throws error when searching for hcatalog jars in latest hive

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.12.0
    • Fix Version/s: 0.13.0
    • Component/s: tools
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      When pig CLI is run with -useHCatalog flag against latest hive binaries it complains about the following:

      ls: cannot access /usr/lib/hcatalog/share/hcatalog/hcatalog-core-*.jar: No such file or directory
      ls: cannot access /usr/lib/hcatalog/share/hcatalog/hcatalog-*.jar: No such file or directory
      ls: cannot access /usr/lib/hcatalog/share/hcatalog/hcatalog-pig-adapter-*.jar: No such file or directory
      

      Basically it searches for hcatalog jars as "hcatalog-

      {core,pig-adapter}-*.jar" whereas in the latest hive 0.13 these jars are prefixed by "hive-" (hive-hcatalog-{core,pig-adapter}

      -*.jar).

        Attachments

        1. PIG-3606.patch
          1 kB
          Deepesh Khandelwal

          Activity

            People

            • Assignee:
              deepesh Deepesh Khandelwal
              Reporter:
              deepesh Deepesh Khandelwal
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: