fluo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [fluo-muchos] karthick-rn commented on a change in pull request #270: Support Accumulo installs on Microsoft Azure
Date Mon, 12 Aug 2019 22:24:43 GMT
karthick-rn commented on a change in pull request #270: Support Accumulo installs on Microsoft
Azure
URL: https://github.com/apache/fluo-muchos/pull/270#discussion_r313154391
 
 

 ##########
 File path: ansible/roles/hadoop/tasks/main.yml
 ##########
 @@ -34,17 +34,52 @@
   with_items:
     - workers
   when: hadoop_major_version == '3'
-- name: "copy spark yarn shuffle jar to hadoop lib"
-  command: cp {{ spark_home }}/yarn/spark-{{ spark_version }}-yarn-shuffle.jar {{ hadoop_home
}}/share/hadoop/yarn/lib/ creates={{ hadoop_home }}/share/hadoop/yarn/lib/spark-{{ spark_version
}}-yarn-shuffle.jar
-  when: "'spark' in groups"
+- name: "configure hadoop to send metrics"
+  template: src={{ item }} dest={{ hadoop_home }}/etc/hadoop/{{ item }}
+  with_items:
+    - hadoop-metrics2.properties
 - name: "setup hadoop short circuit socket dir"
   file: path=/var/lib/hadoop-hdfs state=directory owner={{ cluster_user }} group={{ cluster_group
}} mode=0755
   become: yes
 - name: "Configure hadoop log dir"
   replace:
     path: "{{ hadoop_home }}/etc/hadoop/hadoop-env.sh"
     regexp: '.*export\s+HADOOP_LOG_DIR.*'
-    replace: "export HADOOP_LOG_DIR={{ worker_data_dirs[0] }}/logs/hadoop"
+    replace: "export HADOOP_LOG_DIR={{ worker_data_dirs[1] }}/logs/hadoop"
+- name: "Configure max log size to 5g for Azure log analytics integration"
+  replace:
+    path: "{{ hadoop_home }}/etc/hadoop/log4j.properties"
+    regexp: 'hadoop.log.maxfilesize=256MB'
 
 Review comment:
   Agreed. We'll address this. Thanks @keith-turner 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message