Skip to content

Commit

Permalink
fixed naming
Browse files Browse the repository at this point in the history
  • Loading branch information
patduin committed Feb 8, 2024
1 parent f3f20ac commit e625f71
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ For more information please refer to the main [Apiary](https://github.com/Expedi
| primary_metastore_glue_endpoint | Primary metastore Glue endpoint `glue.us-east-1.amazonaws.com`, optional. Use with `primary_metastore_glue_account_id` and instead of `primary_metastore_host` and `primary_metastore_port` | string | `` | no |
| primary_metastore_whitelist | List of Hive databases to whitelist on primary Metastore. | list | `<list>` | no |
| primary_metastore_mapped_databases | List of Hive databases mapped from primary Metastore. | list | `<list>` | no |
| primary_metastore_host_read_only | Optional Primary Hive Metastore READ ONLY hostname configured in Waggle Dance. | string | `` | no |
| primary_metastore_port_read_only | Optional Primary Hive Metastore READ ONLY port configured in Waggle Dance. | string | `9083` | no |
| primary_metastore_read_only_host | Optional Primary Hive Metastore READ ONLY hostname configured in Waggle Dance. | string | `` | no |
| primary_metastore_read_only_port | Optional Primary Hive Metastore READ ONLY port configured in Waggle Dance. | string | `9083` | no |
| remote_metastores | List of VPC endpoint services to federate Metastores in other accounts. See section [`remote_metastores`](#remote_metastores) for more info. | list | `<list>` | no |
| remote_region_metastores | List of VPC endpoint services to federate Metastores in other region,other accounts. The actual data from tables in these metastores can be accessed using Alluxio caching instead of reading the data from S3 directly. See section [`remote_region_metastores`](#remote_region_metastores) for more info. | list | `<list>` | no |
| secondary_vpcs | List of VPCs to associate with Service Discovery namespace. | list | `<list>` | no |
Expand Down
4 changes: 2 additions & 2 deletions templates.tf
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ data "template_file" "federation_yaml" {
remote_region_metastores = join("", data.template_file.remote_region_metastores_yaml.*.rendered)
ssh_metastores = join("", data.template_file.ssh_metastores_yaml.*.rendered)
glue_metastores = join("", data.template_file.glue_metastores_yaml.*.rendered)
primary_metastore_host_read_only = var.primary_metastore_host_read_only
primary_metastore_port_read_only = var.primary_metastore_port_read_only
primary_metastore_read_only_host = var.primary_metastore_read_only_host
primary_metastore_read_only_port = var.primary_metastore_read_only_port
}
}

Expand Down
2 changes: 1 addition & 1 deletion templates/waggle-dance-federation.yml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ primary-meta-store:
%{else~}
remote-meta-store-uris: thrift://${primary_metastore_host}:${primary_metastore_port}
%{if primary_metastore_host_read_only != "" ~}
read-only-remote-meta-store-uris: thrift://${primary_metastore_host_read_only}:${primary_metastore_port_read_only}
read-only-remote-meta-store-uris: thrift://${primary_metastore_read_only_host}:${primary_metastore_read_only_port}
%{endif~}
%{endif~}
latency: ${primary_metastore_latency}
Expand Down
4 changes: 2 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -199,13 +199,13 @@ variable "primary_metastore_port" {
default = "9083"
}

variable "primary_metastore_host_read_only" {
variable "primary_metastore_read_only_host" {
description = "Optional Primary Hive Metastore READ ONLY hostname configured in Waggle Dance."
type = string
default = ""
}

variable "primary_metastore_port_read_only" {
variable "primary_metastore_read_only_port" {
description = "Optional Primary Hive Metastore READ ONLY port configured in Waggle Dance."
type = string
default = "9083"
Expand Down

0 comments on commit e625f71

Please sign in to comment.