Sfoglia il codice sorgente

AMBARI-8682 - Failed to install Sqoop on HDPWIN (Eugene Chekanskiy via abaranchuk)

Artem Baranchuk 10 anni fa
parent
commit
8c0a2f83be

+ 66 - 0
ambari-server/src/main/resources/stacks/HDPWIN/2.1/services/SQOOP/configuration/sqoop-env.xml

@@ -0,0 +1,66 @@
+<?xml version="1.0"?>
+<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
+<!--
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+-->
+
+<configuration>
+  <!-- sqoop-env.sh -->
+  <property>
+    <name>content</name>
+    <description>This is the jinja template for sqoop-env.cmd file</description>
+    <value>@echo off
+:: Licensed to the Apache Software Foundation (ASF) under one or more
+:: contributor license agreements.  See the NOTICE file distributed with
+:: this work for additional information regarding copyright ownership.
+:: The ASF licenses this file to You under the Apache License, Version 2.0
+:: (the "License"); you may not use this file except in compliance with
+:: the License.  You may obtain a copy of the License at
+::
+::     http://www.apache.org/licenses/LICENSE-2.0
+::
+:: Unless required by applicable law or agreed to in writing, software
+:: distributed under the License is distributed on an "AS IS" BASIS,
+:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+:: See the License for the specific language governing permissions and
+:: limitations under the License.
+
+:: included in all the hadoop scripts with source command
+:: should not be executable directly
+:: also should not be passed any arguments, since we need original $*
+
+:: Set Hadoop-specific environment variables here.
+
+::Set path to where bin/hadoop is available
+::set HADOOP_COMMON_HOME=
+
+::Set path to where hadoop-*-core.jar is available
+::set HADOOP_MAPRED_HOME=
+
+::set the path to where bin/hbase is available
+::set HBASE_HOME=
+
+::Set the path to where bin/hive is available
+::set HIVE_HOME=
+
+::Set the path for where zookeper config dir is
+::set ZOOCFGDIR=
+    </value>
+  </property>
+</configuration>