You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Deepesh Khandelwal (JIRA)" <ji...@apache.org> on 2013/12/04 00:31:35 UTC
[jira] [Updated] (PIG-3606) Pig script throws error when searching
for hcatalog jars in latest hive
[ https://issues.apache.org/jira/browse/PIG-3606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Deepesh Khandelwal updated PIG-3606:
------------------------------------
Attachment: PIG-3606.patch
Attached a patch with the fix.
> Pig script throws error when searching for hcatalog jars in latest hive
> -----------------------------------------------------------------------
>
> Key: PIG-3606
> URL: https://issues.apache.org/jira/browse/PIG-3606
> Project: Pig
> Issue Type: Bug
> Components: tools
> Affects Versions: 0.12.0
> Reporter: Deepesh Khandelwal
> Assignee: Deepesh Khandelwal
> Attachments: PIG-3606.patch
>
>
> When pig CLI is run with -useHCatalog flag against latest hive binaries it complains about the following:
> {noformat}
> 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
> {noformat}
> 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).
--
This message was sent by Atlassian JIRA
(v6.1#6144)