From 94f5bc97a8611b803e033533ed1904441022a8c1 Mon Sep 17 00:00:00 2001 From: rpoluri <38321430+rpoluri@users.noreply.github.com> Date: Tue, 30 Mar 2021 15:43:07 -0500 Subject: [PATCH] Fix alluxio path replacement regex to handle s3a:// and s3n:// urls (#84) * replace s3a s3n * fix * fix * fix * update changelog. * update regex Co-authored-by: Raj Poluri --- CHANGELOG.md | 4 ++++ hive-site.tf | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2715e99..bca6aad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [3.3.2] - 2021-03-30 +### Added +- Fix alluxio path replacement regex to handle s3a:// and s3n:// urls. + ## [3.3.1] - 2021-03-30 ### Added - Variable to configure waggle-dance log level. diff --git a/hive-site.tf b/hive-site.tf index fe35079..46adc58 100644 --- a/hive-site.tf +++ b/hive-site.tf @@ -11,7 +11,7 @@ data "template_file" "hive_site_xml" { %{for s3_bucket in split(",", alluxio_endpoint.s3_buckets)} apiary.path.replacement.regex.alluxio-${s3_bucket} - ^(s3://)${s3_bucket}/.* + ^(s3[an]?://)${s3_bucket}/.*$ apiary.path.replacement.value.alluxio-${s3_bucket}