[ 
https://issues.apache.org/jira/browse/AMBARI-19687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15847320#comment-15847320
 ] 

Swapan Shridhar edited comment on AMBARI-19687 at 1/31/17 7:02 PM:
-------------------------------------------------------------------

Made [^AMBARI-19687.02.patch] on top of [^AMBARI-19687.01.patch] with below 
diff:

{code}
diff --git 
a/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py
 
b/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py
index 8afe5b5..956c26b 100644
--- 
a/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py
+++ 
b/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py
@@ -647,7 +647,7 @@ if has_hive_interactive:
   num_llap_nodes = 
config['configurations']['hive-interactive-env']['num_llap_nodes']
   llap_daemon_container_size = 
config['configurations']['hive-interactive-site']['hive.llap.daemon.yarn.container.mb']
   llap_log_level = 
config['configurations']['hive-interactive-env']['llap_log_level']
-  llap_logger = 
config['configurations']['hive-interactive-site']['hive.llap.daemon.logger']
+  llap_logger = 
default('/configurations/hive-interactive-site/hive.llap.daemon.logger', '')
   hive_aux_jars = 
default('/configurations/hive-interactive-env/hive_aux_jars', '')
   hive_llap_io_mem_size = 
config['configurations']['hive-interactive-site']['hive.llap.io.memory.size']
   llap_heap_size = 
config['configurations']['hive-interactive-env']['llap_heap_size']
{code}


[~sumitmohanty] Review please the complete [^AMBARI-19687.02.patch]

CC [~sseth]


was (Author: swapanshridhar):
Made [^AMBARI-19687.02.patch] on top of [^AMBARI-19687.01.patch] with below 
diff:

{code}
diff --git 
a/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py
 
b/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py
index 8afe5b5..956c26b 100644
--- 
a/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py
+++ 
b/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py
@@ -647,7 +647,7 @@ if has_hive_interactive:
   num_llap_nodes = 
config['configurations']['hive-interactive-env']['num_llap_nodes']
   llap_daemon_container_size = 
config['configurations']['hive-interactive-site']['hive.llap.daemon.yarn.container.mb']
   llap_log_level = 
config['configurations']['hive-interactive-env']['llap_log_level']
-  llap_logger = 
config['configurations']['hive-interactive-site']['hive.llap.daemon.logger']
+  llap_logger = 
default('/configurations/hive-interactive-site/hive.llap.daemon.logger', '')
   hive_aux_jars = 
default('/configurations/hive-interactive-env/hive_aux_jars', '')
   hive_llap_io_mem_size = 
config['configurations']['hive-interactive-site']['hive.llap.io.memory.size']
   llap_heap_size = 
config['configurations']['hive-interactive-env']['llap_heap_size']
{code}


[~sumitmohanty] Review please.

CC [~sseth]

> Set the logger for LLAP in hdp-2.6 stack
> ----------------------------------------
>
>                 Key: AMBARI-19687
>                 URL: https://issues.apache.org/jira/browse/AMBARI-19687
>             Project: Ambari
>          Issue Type: Task
>          Components: stacks
>            Reporter: Siddharth Seth
>            Assignee: Siddharth Seth
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-19687.01.patch, AMBARI-19687.02.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to