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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.12.0
    • 0.13.0
    • tools
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: