Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Many hive-site.xml

avatar
New Member

i have more than 6 hive-site.xml

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #ffffff} span.s1 {font-variant-ligatures: no-common-ligatures}

/etc/hive/conf.install/hive-site.xml

/etc/hive/2.3.4.7-4/0/hive-site.xml

/etc/hive/2.3.4.7-4/0/conf.server/hive-site.xml

/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/configuration/hive-site.xml

/var/lib/ambari-agent/cache/stacks/HDP/2.0.6.GlusterFS/services/HIVE/configuration/hive-site.xml

/var/lib/ambari-agent/cache/stacks/HDP/2.1/services/HIVE/configuration/hive-site.xml

/var/lib/ambari-agent/cache/stacks/HDP/2.1.GlusterFS/services/HIVE/configuration/hive-site.xml

/var/lib/ambari-agent/cache/stacks/HDP/2.2/services/HIVE/configuration/hive-site.xml

/var/lib/ambari-agent/cache/stacks/HDP/2.3/services/HIVE/configuration/hive-site.xml

/var/lib/ambari-agent/cache/stacks/HDP/2.3.GlusterFS/services/HIVE/configuration/hive-site.xml

/var/lib/smartsense/hst-agent/data/tmp/hdp-dev-n0-a-00044692-c-00013299_hdpdev_0_2016-09-04_20-00-01/services/HIVE/conf/hive-site.xml

/var/lib/smartsense/hst-agent/data/tmp/hdp-dev-n0-a-00044692-c-00013299_hdpdev_0_2016-09-04_20-00-01/services/HIVE/conf/conf.server/hive-site.xml

/usr/hdp/2.3.4.7-4/etc/hive/conf.dist/hive-site.xml

which one should i refer ?

i have to see what is a hive.aux.jars.path directory ??

where should i add and what is a meaning of those files ?? is that realyy usefull ?

1 ACCEPTED SOLUTION

avatar

HDP takes the hive-site.xml from /etc/hive/conf/hive-site.xml

This is a sym link. The actual path can be found by issuing command as below


ls -lrt /usr/hdp/current/hive-client/conf

lrwxrwxrwx. 1 root root 23 Dec  6 06:48 /usr/hdp/current/hive-client/conf -> /etc/hive/2.5.0.0-154/0

View solution in original post

1 REPLY 1

avatar

HDP takes the hive-site.xml from /etc/hive/conf/hive-site.xml

This is a sym link. The actual path can be found by issuing command as below


ls -lrt /usr/hdp/current/hive-client/conf

lrwxrwxrwx. 1 root root 23 Dec  6 06:48 /usr/hdp/current/hive-client/conf -> /etc/hive/2.5.0.0-154/0