diff --git a/ec3 b/ec3 index de15e08..a1738bb 100755 --- a/ec3 +++ b/ec3 @@ -51,7 +51,7 @@ except: pass # EC3 client version -VERSION = '2.0.0' +VERSION = '2.0.1' # Our public IM service IM_URL = 'https://appsgrycap.i3m.upv.es:31443/im/' # RADL template path diff --git a/setup.py b/setup.py index f871124..9e2c8d8 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ setup( name="ec3-cli", - version="2.0.0", + version="2.0.1", author="Amanda Calatrava, Eloy Romero, Miguel Caballer", author_email="", description=("Tool to deploy virtual elastic clusters on the cloud."), diff --git a/templates/lemonade.radl b/templates/lemonade.radl index b29e085..662ef67 100644 --- a/templates/lemonade.radl +++ b/templates/lemonade.radl @@ -21,14 +21,24 @@ configure lemonade ( lineinfile: dest: /var/tmp/lemonade/config/juicer-config.yaml regexp: 'libprocess_advertise_ip:' - line: "libprocess_advertise_ip: {{ hostvars[groups['front'][0]]['IM_NODE_PUBLIC_IP'] }}" + line: " libprocess_advertise_ip: {{ hostvars[groups['front'][0]]['IM_NODE_PUBLIC_IP'] }}" state: present - lineinfile: dest: /var/tmp/lemonade/config/juicer-config.yaml regexp: 'spark.driver.host:' - line: 'spark.driver.host: {{ hostvars[groups["front"][0]]["IM_NODE_FQDN"] }}' + line: ' spark.driver.host: {{ hostvars[groups["front"][0]]["IM_NODE_FQDN"] }}' state: present - + - lineinfile: + dest: /var/tmp/lemonade/config/juicer-config.yaml + line: ' spark.hadoop.dfs.client.use.datanode.hostname: false' + + - name: disable DNS in Limonero + lineinfile: + dest: /var/tmp/lemonade/config/limonero-config.yaml + regexp: 'dfs.client.use.datanode.hostname:' + line: ' dfs.client.use.datanode.hostname: false' + state: present + - name: Init git submodule command: git submodule init chdir=/var/tmp/lemonade