Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Commit

Permalink
use tipsark 2.1.1 (#837)
Browse files Browse the repository at this point in the history
  • Loading branch information
marsishandsome authored and liubo0127 committed Jul 23, 2019
1 parent c6625e5 commit 9452f01
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
9 changes: 1 addition & 8 deletions roles/local/tasks/binary_deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,6 @@
warn: no
with_items: "{{ third_party_packages }}"

- name: unarchive tispark
shell: tar xzf tispark-latest.tar.gz
args:
chdir: "{{ downloads_dir }}"
warn: no
when: not deploy_without_tidb|default(false)

- name: unarchive tispark-sample-data
shell: ls -1 tispark-sample-data.tar.gz | xargs -n1 tar xzf
args:
Expand All @@ -81,7 +74,7 @@

- name: cp tispark
shell: >
cp -v {{ downloads_dir }}/core/target/tispark-core-*-SNAPSHOT-jar-with-dependencies.jar "{{ resources_dir }}/bin/tispark-SNAPSHOT-jar-with-dependencies.jar"
cp -v {{ downloads_dir }}/tispark-core-2.1.1-spark_2.3-jar-with-dependencies.jar "{{ resources_dir }}/bin/tispark-core-2.1.1-spark_2.3-jar-with-dependencies.jar"
when: not deploy_without_tidb|default(false)

- name: cp tispark-sample-data
Expand Down
6 changes: 3 additions & 3 deletions roles/local/templates/binary_packages.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ tispark_packages:
version: 2.3.2
url: http://download.pingcap.org/spark-2.3.2-bin-hadoop2.7.tgz
checksum: "sha256:6246b20d95c7596a29fb26d5b50a3ae3163a35915bec6c515a8e183383bedc43"
- name: tispark-latest.tar.gz
version: latest
url: http://download.pingcap.org/tispark-latest-linux-amd64.tar.gz
- name: tispark-core-2.1.1-spark_2.3-jar-with-dependencies.jar
version: 2.1.1
url: https://github.com/pingcap/tispark/releases/download/v2.1.1/tispark-core-2.1.1-spark_2.3-jar-with-dependencies.jar
- name: tispark-sample-data.tar.gz
version: latest
url: http://download.pingcap.org/tispark-sample-data.tar.gz
Expand Down
2 changes: 1 addition & 1 deletion roles/tispark/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
- name: deploy tispark
copy:
src: "{{ resources_dir }}/bin/tispark-SNAPSHOT-jar-with-dependencies.jar"
src: "{{ resources_dir }}/bin/tispark-core-2.1.1-spark_2.3-jar-with-dependencies.jar"
dest: "{{ deploy_dir }}/spark/jars/"

- name: load customized spark_env
Expand Down

0 comments on commit 9452f01

Please sign in to comment.