sqoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From FF Chen <ffchensq...@gmail.com>
Subject Re: How sqoop invoke hive configuration file during importing data into hive table?
Date Fri, 18 Jul 2014 07:53:39 GMT
Here is what I found in /org/apache/sqoop/hive/HiveImport.java:
sqoop is getting hive-site.xml via ${HIVE_HOME}/bin/hive, which is getting
hive-site.xml via environment HIVE_CONF_DIR or HIVE_HOME/conf if
HIVE_CONF_DIR not exits. That means, sqoop is always getting hive-site.xml
from hive conf directory.

Is this correct?


On Fri, Jul 18, 2014 at 2:30 PM, FF Chen <ffchensqoop@gmail.com> wrote:

> Hi All,
>
> Could you tell how sqoop catch hive configuration file like
> $HIVE_HOME/conf/hive-site/xml, during importing data into hive table?
>
> Thanks
>

Mime
View raw message