Ambari生成的hive配置文件位置

来源:互联网 发布:魏无羡捏脸数据 编辑:程序博客网 时间:2024/04/26 03:23



在/etc/hive/2.3.0.0-2557/0/conf.server/hive-site.xml位置



http://osdir.com/ml/general/2015-06/msg07465.html


ambari should update the hive-site.xml .
Does restarting the hive service help ?
Note that the hive-site.xml under the /etc/hive/conf.server/ dir is
one that is used by metastore server and hiveserver2, you might want
to check if that is updated.

On Fri, Jun 5, 2015 at 1:02 AM, Divya Gehlot <gehlot.divya@xxxxxxxxxxx> wrote:
> Hi,
> I have set up HDP 2.1 on cloud through Apache Ambari.
>
> When we set up configuration of hive in hive metastore in Apache Ambari
> ,should the same reflect in hive-site.xml
> For instance I have created new MYSQL database through Apache Ambari UI .
> But when I check the hive -site.xml I see this
> <property>
> <name>javax.jdo.option.ConnectionURL</name>
>
> <value>jdbc:derby:;databaseName=/var/lib/hive/metastore/metastore_db;create=true</value>
> <description>JDBC connect string for a JDBC metastore</description>
> </property>
>
> <property>
> <name>javax.jdo.option.ConnectionDriverName</name>
> <value>org.apache.derby.jdbc.EmbeddedDriver</value>
> <description>Driver class name for a JDBC metastore</description>
> </property>
>
> <property>
> <name>hive.hwi.war.file</name>
> <value>/usr/lib/hive/lib/hive-hwi-0.13.0.2.1.7.0-784.war</value>
> <description>This is the WAR file with the jsp content for Hive Web
> Interface</description>
> </property>
>
> </configuration>
>
> My question is do we need to update the hive-site.xml to match up with Hive
> Metastore configuration
> or it should automatically update the hive-site.xml (which did not happen in
> my case)
>
> Please help in resolving this doubt.
>
> Thanks,
> Regards,
> Divya
>
>
>

0 0
原创粉丝点击