Skip to content

Commit

Permalink
Minor refactoring on ZK and hadoop-mesos
Browse files Browse the repository at this point in the history
  • Loading branch information
theclaymethod committed Nov 26, 2014
1 parent face110 commit b3cfb33
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@
spark-1.1.0-bin-cdh4.tgz

nonHA/spark-job-server.jar

nonHA/hadoop-mesos-0.0.8.jar

nonHA/hadoop-2.5.0-cdh5.2.0-i.tar.gz
5 changes: 0 additions & 5 deletions roles/cdh5-base/templates/hadoop/core-site.xml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,6 @@
<value>{{ fs_trash_interval }}</value>
</property>

<!-- <property>
<name>ha.zookeeper.quorum</name>
<value>{{ groups['mesos-masters'] | join(':2181,') }}:2181</value>
</property>
-->
<property>
<name>ha.zookeeper.quorum</name>
<value>{{ groups['mesos-masters'] | join('.' ~ tl_domain + ':2181' + ',') }}.{{ tl_domain }}:2181</value>
Expand Down
6 changes: 0 additions & 6 deletions roles/hadoop/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,8 @@
- { cmd: "mv /opt/src/{{ CDH5_HADOOP_DISTRO }}/etc/hadoop-mapreduce1", dest: "/opt/src/{{ CDH5_HADOOP_DISTRO }}/etc/hadoop" }
- { 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" }
args:
#creates: "{{item.dest}}"
chdir: /opt/src/



# - name: set up repo
# shell: provision-cdh5.sh chdir=/opt/src/{{ CDH5_HADOOP_DISTRO }}

- name: compress cdh5 archive
command: tar czf {{ CDH5_HADOOP_DISTRO }}-i.tar.gz {{ CDH5_HADOOP_DISTRO }}
args:
Expand Down

0 comments on commit b3cfb33

Please sign in to comment.