Repository: ambari Updated Branches: refs/heads/trunk 36ac57824 -> aae47bd59
AMBARI-10248. Add support for templeton.hive.extra.files property in webhcat-site.xml. (mahadev) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/aae47bd5 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/aae47bd5 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/aae47bd5 Branch: refs/heads/trunk Commit: aae47bd59249a4d98b6ea6692e602ea29d66e916 Parents: 36ac578 Author: Mahadev Konar <maha...@apache.org> Authored: Fri Mar 27 10:41:10 2015 -0700 Committer: Mahadev Konar <maha...@apache.org> Committed: Fri Mar 27 10:41:10 2015 -0700 ---------------------------------------------------------------------- .../2.2/services/HIVE/configuration/webhcat-site.xml | 12 ++++++++++++ 1 file changed, 12 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/aae47bd5/ambari-server/src/main/resources/stacks/HDP/2.2/services/HIVE/configuration/webhcat-site.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.2/services/HIVE/configuration/webhcat-site.xml b/ambari-server/src/main/resources/stacks/HDP/2.2/services/HIVE/configuration/webhcat-site.xml index 0454c1c..d95be55 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.2/services/HIVE/configuration/webhcat-site.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.2/services/HIVE/configuration/webhcat-site.xml @@ -109,4 +109,16 @@ limitations under the License. <description>The hdfs path to the Hadoop streaming jar file.</description> </property> + <property> + <name>templeton.hive.extra.files</name> + <value>/etc/tez/conf/tez-site.xml,/usr/hdp/current/tez-client,/usr/hdp/current/tez-client/lib</value> + <description>The resources in this list will be localized to the node running LaunchMapper and added to HADOOP_CLASSPTH + before launching 'hive' command. If the path /foo/bar is a directory, the contents of the the entire dir will be localized + and ./foo/* will be added to HADOOP_CLASSPATH. Note that since classpath path processing does not recurse into subdirectories, + the paths in this property may be overlapping. In the example above, "./tez-site.xml:./tez-client/*:./lib/*" will be added to + HADOOP_CLASSPATH. + This can be used to specify config files, Tez artifacts, etc. This will be sent -files option of hadoop jar command thus + each path is interpreted by Generic Option Parser. It can be local or hdfs path. + </description> + </property> </configuration>