Skip to content

Commit b3cfb33

Browse files
committed
Minor refactoring on ZK and hadoop-mesos
1 parent face110 commit b3cfb33

File tree

3 files changed

+4
-11
lines changed

3 files changed

+4
-11
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,7 @@
44
spark-1.1.0-bin-cdh4.tgz
55

66
nonHA/spark-job-server.jar
7+
8+
nonHA/hadoop-mesos-0.0.8.jar
9+
10+
nonHA/hadoop-2.5.0-cdh5.2.0-i.tar.gz

roles/cdh5-base/templates/hadoop/core-site.xml.j2

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,6 @@
3535
<value>{{ fs_trash_interval }}</value>
3636
</property>
3737

38-
<!-- <property>
39-
<name>ha.zookeeper.quorum</name>
40-
<value>{{ groups['mesos-masters'] | join(':2181,') }}:2181</value>
41-
</property>
42-
-->
4338
<property>
4439
<name>ha.zookeeper.quorum</name>
4540
<value>{{ groups['mesos-masters'] | join('.' ~ tl_domain + ':2181' + ',') }}.{{ tl_domain }}:2181</value>

roles/hadoop/tasks/main.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,8 @@
5050
- { cmd: "mv /opt/src/{{ CDH5_HADOOP_DISTRO }}/etc/hadoop-mapreduce1", dest: "/opt/src/{{ CDH5_HADOOP_DISTRO }}/etc/hadoop" }
5151
- { cmd: "rm /opt/src/{{ CDH5_HADOOP_DISTRO }}/share/hadoop/mapreduce && ln -s /opt/src/{{ CDH5_HADOOP_DISTRO }}/share/hadoop/mapreduce1", dest: "/opt/src/{{ CDH5_HADOOP_DISTRO }}/share/hadoop/mapreduce" }
5252
args:
53-
#creates: "{{item.dest}}"
5453
chdir: /opt/src/
5554

56-
57-
58-
# - name: set up repo
59-
# shell: provision-cdh5.sh chdir=/opt/src/{{ CDH5_HADOOP_DISTRO }}
60-
6155
- name: compress cdh5 archive
6256
command: tar czf {{ CDH5_HADOOP_DISTRO }}-i.tar.gz {{ CDH5_HADOOP_DISTRO }}
6357
args:

0 commit comments

Comments
 (0)