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

Dawid Wysakowicz commented on FLINK-20237:
------------------------------------------

I assumed, because Hive is part of hadoop it would be included. My bad, this 
confusion was also the reason for FLINK-20241.

However I'd still recommend putting the hive jars on the HADOOP_CLASSPATH 
instead of copying over from hive lib. WDYT? Something like:

{code}
export HADOOP_CLASSPATH=`hadoop classpath`:$HIVE_LIB
{code}

> Do not recommend putting hive-exec in flink/lib
> -----------------------------------------------
>
>                 Key: FLINK-20237
>                 URL: https://issues.apache.org/jira/browse/FLINK-20237
>             Project: Flink
>          Issue Type: Improvement
>          Components: Connectors / Hive, Documentation
>    Affects Versions: 1.12.0
>            Reporter: Dawid Wysakowicz
>            Priority: Critical
>             Fix For: 1.12.0
>
>
> The Hive setup page links to Flink's Hadoop setup page which recommends 
> passing hadoop dependencies via:
> {code}
> export HADOOP_CLASSPATH=`hadoop classpath`
> {code}
> This should in 99% of cases put the hive-exec dependency on the classpath 
> already. I'd recommend removing the recommendation to put {{hive-exec}} into 
> \lib separately.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to