|
@@ -20,8 +20,11 @@ Ambari Agent
|
|
|
"""
|
|
|
import os
|
|
|
|
|
|
+<<<<<<< HEAD
|
|
|
from resource_management.libraries.functions import conf_select
|
|
|
+=======
|
|
|
from resource_management import *
|
|
|
+>>>>>>> AMBARI-11034. Implement HdfsResouces and it's usage (aonishuk)
|
|
|
from resource_management.libraries.functions import format
|
|
|
from resource_management.libraries.functions import get_kinit_path
|
|
|
from resource_management.libraries.functions.version import format_hdp_stack_version
|
|
@@ -98,12 +101,15 @@ if Script.is_hdp_stack_greater_or_equal("2.2"):
|
|
|
mapreduce_tar_source = config['configurations']['cluster-env']['mapreduce_tar_source']
|
|
|
mapreduce_tar_destination = config['configurations']['cluster-env']['mapreduce_tar_destination_folder'] + "/" + os.path.basename(mapreduce_tar_source)
|
|
|
|
|
|
+<<<<<<< HEAD
|
|
|
+=======
|
|
|
# the configuration direction for HDFS/YARN/MapR is the hadoop config
|
|
|
# directory, which is symlinked by hadoop-client only
|
|
|
hadoop_conf_dir = "/usr/hdp/current/hadoop-client/conf"
|
|
|
tez_tar_source = config['configurations']['cluster-env']['tez_tar_source']
|
|
|
tez_tar_destination = config['configurations']['cluster-env']['tez_tar_destination_folder'] + "/" + os.path.basename(tez_tar_source)
|
|
|
|
|
|
+>>>>>>> AMBARI-11034. Implement HdfsResouces and it's usage (aonishuk)
|
|
|
|
|
|
limits_conf_dir = "/etc/security/limits.d"
|
|
|
execute_path = os.environ['PATH'] + os.pathsep + hadoop_bin_dir + os.pathsep + yarn_container_bin
|