]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
hadoop: add yarn sigkill delay hack 445/head
authorNoah Watkins <noahwatkins@gmail.com>
Mon, 23 Feb 2015 00:53:49 +0000 (16:53 -0800)
committerNoah Watkins <noahwatkins@gmail.com>
Mon, 23 Feb 2015 01:41:06 +0000 (17:41 -0800)
This instructs yarn to wait more time (10sec) than the default (250ms)
before killing containers to give ceph clients time to properly
shutdown.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
teuthology/task/hadoop.py

index 4021c623aa7783c60ba4bd081be2b27413dbb458..53c58d230f7c87e8aed60c213179984cca65f7d3 100644 (file)
@@ -92,6 +92,7 @@ def get_yarn_site_data(ctx):
         'yarn.resourcemanager.admin.address': '{namenode}:8041',
         'yarn.resourcemanager.hostname': '{namenode}',
         'yarn.nodemanager.aux-services': 'mapreduce_shuffle',
+        'yarn.nodemanager.sleep-delay-before-sigkill.ms': '10000',
     })
     data_tmpl = dict_to_hadoop_conf(conf)