You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "Kyle R Dunn (JIRA)" <ji...@apache.org> on 2016/07/26 22:58:20 UTC
[jira] [Commented] (HAWQ-951) PXF not locating Hadoop native
libraries needed for Snappy
[ https://issues.apache.org/jira/browse/HAWQ-951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15394720#comment-15394720 ]
Kyle R Dunn commented on HAWQ-951:
----------------------------------
The corrected symlink process is below, I had it incorrect in the Zendesk ticket.
```
mkdir -p /usr/lib/hadoop/lib && cd /usr/lib/hadoop/lib && ln -s /usr/hdp/current/hadoop-client/lib/native native
```
> PXF not locating Hadoop native libraries needed for Snappy
> ----------------------------------------------------------
>
> Key: HAWQ-951
> URL: https://issues.apache.org/jira/browse/HAWQ-951
> Project: Apache HAWQ
> Issue Type: Bug
> Components: PXF
> Affects Versions: 2.0.0.0-incubating
> Reporter: Pratheesh Nair
> Assignee: Goden Yao
> Fix For: backlog
>
>
> Hawq queries are failing when we try to read Snappy-compressed table from hcatalog via external tables.
> After the following was performed on every PXF host and restarting, the issue was resolved:
> {code}
> mkdir -p /usr/lib/hadoop/lib && cd /usr/lib/hadoop && ln -s /usr/hdp/current/hadoop-client/lib/native native
> {code}
> Also, the default pxf-public-classpath should probably contain something like the following line:
> {code}
> /usr/hdp/current/hadoop-client/lib/snappy*.jar
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)