[ 
https://issues.apache.org/jira/browse/HAWQ-951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15394749#comment-15394749
 ] 

Kyle R Dunn commented on HAWQ-951:
----------------------------------

cd to {{/usr/lib/hadoop/lib}} , rather than {{/usr/lib/hadoop}}

> 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)

Reply via email to