-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for remote region metastores and alluxio cache (#82)
* hive site xml env variable * fix * fix * fix * variable to enable path conversion hook * fix * fix * update metastore filter hook class * remote region endpoints * fix * remote region provider * provider_proxy * fix * remote region federation * fix * fix * enable path replacement * support for multiple alluxio endpoints * fix * fix * fix * fix * update readme * update changelog * fix * enable path conversion by default for remote region metastores * Update README.md Co-authored-by: Scott Barnhart <[email protected]> * PR comment updates * update readme * more PR comment updates Co-authored-by: Raj Poluri <[email protected]> Co-authored-by: Scott Barnhart <[email protected]>
- Loading branch information
1 parent
7f7e12f
commit ddc9a90
Showing
13 changed files
with
184 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,3 +41,4 @@ ansible/*-hosts | |
ansible/*-hosts | ||
|
||
test/* | ||
TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
data "template_file" "hive_site_xml" { | ||
template = <<EOF | ||
<?xml version="1.0"?> | ||
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?> | ||
<configuration> | ||
<property> | ||
<name>apiary.path.replacement.enabled</name> | ||
<value>true</value> | ||
</property> | ||
%{for alluxio_endpoint in var.alluxio_endpoints} | ||
%{for s3_bucket in split(",", alluxio_endpoint.s3_buckets)} | ||
<property> | ||
<name>apiary.path.replacement.regex.alluxio-${s3_bucket}</name> | ||
<value>^(s3://)${s3_bucket}/.*</value> | ||
</property> | ||
<property> | ||
<name>apiary.path.replacement.value.alluxio-${s3_bucket}</name> | ||
<value>${alluxio_endpoint.root_url}</value> | ||
</property> | ||
<property> | ||
<name>apiary.path.replacement.capturegroups.alluxio-${s3_bucket}</name> | ||
<value>1</value> | ||
</property> | ||
%{endfor} | ||
%{endfor} | ||
</configuration> | ||
EOF | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
provider "aws" { | ||
alias = "remote" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters