Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
configuration
Commits
090459a3
Unverified
Commit
090459a3
authored
Jan 02, 2017
by
Gabe Mulley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use hive 1.0.0
parent
a39b057a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
playbooks/roles/hive/defaults/main.yml
+4
-4
playbooks/roles/hive/tasks/main.yml
+2
-2
No files found.
playbooks/roles/hive/defaults/main.yml
View file @
090459a3
...
...
@@ -11,7 +11,7 @@
# Defaults for role hive
#
HIVE_VERSION
:
0.11
.0
HIVE_VERSION
:
1.0
.0
HIVE_HOME
:
"
{{
HADOOP_COMMON_USER_HOME
}}/hive"
HIVE_CONF
:
"
{{
HIVE_HOME
}}/conf"
HIVE_LIB
:
"
{{
HIVE_HOME
}}/lib"
...
...
@@ -22,9 +22,9 @@ HIVE_LIB: "{{ HIVE_HOME }}/lib"
hive_role_name
:
hive
hive_temporary_dir
:
/var/tmp
hive_dist
:
filename
:
"
hive-{{
HIVE_VERSION
}}-bin.tar.gz"
url
:
"
https://archive.apache.org/dist/hive/hive-{{
HIVE_VERSION
}}/hive-{{
HIVE_VERSION
}}-bin.tar.gz"
sha256sum
:
c22ee328438e80a8ee4b66979dba69650511a73f8b6edf2d87d93c74283578e5
filename
:
"
apache-
hive-{{
HIVE_VERSION
}}-bin.tar.gz"
url
:
"
https://archive.apache.org/dist/hive/hive-{{
HIVE_VERSION
}}/
apache-
hive-{{
HIVE_VERSION
}}-bin.tar.gz"
sha256sum
:
4dab651288fee1d234e674efd3573a7441a8748e9a555e453999a75abc553b53
hive_site_config
:
javax.jdo.option.ConnectionURL
:
jdbc:derby:;databaseName=/var/tmp/metastore_db;create=true
...
...
playbooks/roles/hive/tasks/main.yml
View file @
090459a3
...
...
@@ -39,7 +39,7 @@
-
install:system-requirements
-
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
:
chdir
:
"
{{
HADOOP_COMMON_USER_HOME
}}"
when
:
not extracted_dir.stat.exists
...
...
@@ -49,7 +49,7 @@
-
name
:
versioned directory symlink created
file
:
src
:
"
{{
HADOOP_COMMON_USER_HOME
}}/hive-{{
HIVE_VERSION
}}-bin"
src
:
"
{{
HADOOP_COMMON_USER_HOME
}}/
apache-
hive-{{
HIVE_VERSION
}}-bin"
dest
:
"
{{
HIVE_HOME
}}"
owner
:
"
{{
hadoop_common_user
}}"
group
:
"
{{
hadoop_common_group
}}"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment