use hive 1.0.0

parent a39b057a
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
# Defaults for role hive # Defaults for role hive
# #
HIVE_VERSION: 0.11.0 HIVE_VERSION: 1.0.0
HIVE_HOME: "{{ HADOOP_COMMON_USER_HOME }}/hive" HIVE_HOME: "{{ HADOOP_COMMON_USER_HOME }}/hive"
HIVE_CONF: "{{ HIVE_HOME }}/conf" HIVE_CONF: "{{ HIVE_HOME }}/conf"
HIVE_LIB: "{{ HIVE_HOME }}/lib" HIVE_LIB: "{{ HIVE_HOME }}/lib"
...@@ -22,9 +22,9 @@ HIVE_LIB: "{{ HIVE_HOME }}/lib" ...@@ -22,9 +22,9 @@ HIVE_LIB: "{{ HIVE_HOME }}/lib"
hive_role_name: hive hive_role_name: hive
hive_temporary_dir: /var/tmp hive_temporary_dir: /var/tmp
hive_dist: hive_dist:
filename: "hive-{{ HIVE_VERSION }}-bin.tar.gz" filename: "apache-hive-{{ HIVE_VERSION }}-bin.tar.gz"
url: "https://archive.apache.org/dist/hive/hive-{{ HIVE_VERSION }}/hive-{{ HIVE_VERSION }}-bin.tar.gz" url: "https://archive.apache.org/dist/hive/hive-{{ HIVE_VERSION }}/apache-hive-{{ HIVE_VERSION }}-bin.tar.gz"
sha256sum: c22ee328438e80a8ee4b66979dba69650511a73f8b6edf2d87d93c74283578e5 sha256sum: 4dab651288fee1d234e674efd3573a7441a8748e9a555e453999a75abc553b53
hive_site_config: hive_site_config:
javax.jdo.option.ConnectionURL: jdbc:derby:;databaseName=/var/tmp/metastore_db;create=true javax.jdo.option.ConnectionURL: jdbc:derby:;databaseName=/var/tmp/metastore_db;create=true
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
- install:system-requirements - install:system-requirements
- name: distribution extracted - name: distribution extracted
shell: "tar -xzf {{ hive_temporary_dir }}/{{ hive_dist.filename }} && chown -R {{ hadoop_common_user }}:{{ hadoop_common_group }} hive-{{ HIVE_VERSION }}-bin" shell: "tar -xzf {{ hive_temporary_dir }}/{{ hive_dist.filename }} && chown -R {{ hadoop_common_user }}:{{ hadoop_common_group }} apache-hive-{{ HIVE_VERSION }}-bin"
args: args:
chdir: "{{ HADOOP_COMMON_USER_HOME }}" chdir: "{{ HADOOP_COMMON_USER_HOME }}"
when: not extracted_dir.stat.exists when: not extracted_dir.stat.exists
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
- name: versioned directory symlink created - name: versioned directory symlink created
file: file:
src: "{{ HADOOP_COMMON_USER_HOME }}/hive-{{ HIVE_VERSION }}-bin" src: "{{ HADOOP_COMMON_USER_HOME }}/apache-hive-{{ HIVE_VERSION }}-bin"
dest: "{{ HIVE_HOME }}" dest: "{{ HIVE_HOME }}"
owner: "{{ hadoop_common_user }}" owner: "{{ hadoop_common_user }}"
group: "{{ hadoop_common_group }}" group: "{{ hadoop_common_group }}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment