<?xml version="1.0"?>
<!--
  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>

    <!--
        Refer to the oozie-default.xml file for the complete list of
        Oozie configuration properties and their default values.
    -->

    <!-- Proxyuser Configuration -->

    <!--

    <property>
        <name>oozie.service.ProxyUserService.proxyuser.#USER#.hosts</name>
        <value>*</value>
        <description>
            List of hosts the '#USER#' user is allowed to perform 'doAs'
            operations.

            The '#USER#' must be replaced with the username o the user who is
            allowed to perform 'doAs' operations.

            The value can be the '*' wildcard or a list of hostnames.

            For multiple users copy this property and replace the user name
            in the property name.
        </description>
    </property>

    <property>
        <name>oozie.service.ProxyUserService.proxyuser.#USER#.groups</name>
        <value>*</value>
        <description>
            List of groups the '#USER#' user is allowed to impersonate users
            from to perform 'doAs' operations.

            The '#USER#' must be replaced with the username o the user who is
            allowed to perform 'doAs' operations.

            The value can be the '*' wildcard or a list of groups.

            For multiple users copy this property and replace the user name
            in the property name.
        </description>
    </property>

    -->

    <!-- Default proxyuser configuration for Hue -->

    <property>
        <name>oozie.service.ProxyUserService.proxyuser.hue.hosts</name>
        <value>*</value>
    </property>

    <property>
        <name>oozie.service.ProxyUserService.proxyuser.hue.groups</name>
        <value>*</value>
    </property>


    <property>
        <name>oozie.service.ProxyUserService.proxyuser.hdfs.hosts</name>
        <value>*</value>
    </property>

    <property>
        <name>oozie.service.ProxyUserService.proxyuser.hdfs.groups</name>
        <value>*</value>
    </property>

    <property>
        <name>oozie.service.ProxyUserService.proxyuser.root.hosts</name>
        <value>*</value>
    </property>

    <property>
        <name>oozie.service.ProxyUserService.proxyuser.root.groups</name>
        <value>*</value>
    </property>

<!-- config database-->
    <property>
      <name>oozie.db.schema.name</name>
      <value>oozienew</value>
    </property>

    <property>
      <name>oozie.service.JPAService.create.db.schema</name>
      <value>false</value>
    </property>

    <property>
      <name>oozie.service.JPAService.jdbc.driver</name>
      <value>org.postgresql.Driver</value>
    </property>

    <property>
      <name>oozie.service.JPAService.jdbc.url</name>
      <value>jdbc:postgresql://10.101.102.20:5432/oozienew</value>
    </property>

    <property>
      <name>oozie.service.JPAService.jdbc.username</name>
      <value>oozie</value>
    </property>

    <property>
      <name>oozie.service.JPAService.jdbc.password</name>
      <value>oozie@2021.pg</value>
    </property>

<!--oozie url-->
    <property>
      <name>oozie.base.url</name>
      <value>http://10.101.102.30:11000/oozie</value>
    </property>

<!--hadoop conf-->
    <property>
      <name>oozie.service.HadoopAccessorService.hadoop.configurations</name>
      <value>*=/usr/hdp/3.1.4.0-315/hadoop/conf</value>
    </property>

    <property>
      <name>oozie.service.HadoopAccessorService.kerberos.enabled</name>
      <value>false</value>
    </property>

<!--
    <property>
      <name>oozie.service.SparkConfigurationService.spark.configurations</name>
      <value>*=/usr/hdp/3.1.4.0-315/spark2/conf/</value>
    </property>
-->

    <property>
      <name>oozie.service.WorkflowAppService.system.libpath</name>
      <value>/user/${user.name}/share/lib</value>
    </property>

  <property>
    <name>oozie.service.HCatAccessorService.hcat.configuration</name>
    <value>*=/usr/hdp/current/hive-client/conf</value>
  </property>

  <property>
    <name>oozie.action.spark.setup.hadoop.conf.dir</name>
    <value>true</value>
  </property>


    <property>
      <name>yarn.resourcemanager.address</name>
      <value>bigdata-nn-02.hdmy.com:8050</value>
    </property>


<!--
<property>
      <name>mapreduce.application.framework.path</name>
      <value>/hdp/apps/3.1.4.0-315/mapreduce/mapreduce.tar.gz#mr-framework</value>
    </property>
-->


</configuration>
