Michael Smith has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/19312 )

Change subject: IMPALA-11767: Ignore exceptions for invalid paths in Hudi search
......................................................................

IMPALA-11767: Ignore exceptions for invalid paths in Hudi search

When testing potential paths for a Hudi table, Hudi starts from the
filesystem root and looks for a `.hoodie` file. With Ozone,
`ofs:///.hoodie` and `ofs:///<volume>/.hoodie` are invalid paths, and
after HDDS-7132 an exception will be thrown testing for existence of
those paths. This caused
query_test/test_scanners.py::TestHudiParquet::test_hudiparquet to fail
with Ozone 1.3.0 prerelease builds.

Log the exception and continue searching.

Testing: ran test_hudiparquet with Ozone 1.3.0 prerelease build

Change-Id: Iecc572ce78b13f7ddc177ad371fcf3048241620d
Reviewed-on: http://gerrit.cloudera.org:8080/19312
Reviewed-by: Andrew Sherman <asher...@cloudera.com>
Tested-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
---
M fe/src/main/java/org/apache/impala/util/HudiUtil.java
1 file changed, 15 insertions(+), 1 deletion(-)

Approvals:
  Andrew Sherman: Looks good to me, approved
  Impala Public Jenkins: Verified

--
To view, visit http://gerrit.cloudera.org:8080/19312
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Iecc572ce78b13f7ddc177ad371fcf3048241620d
Gerrit-Change-Number: 19312
Gerrit-PatchSet: 4
Gerrit-Owner: Michael Smith <michael.sm...@cloudera.com>
Gerrit-Reviewer: Andrew Sherman <asher...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Gerrit-Reviewer: Michael Smith <michael.sm...@cloudera.com>

Reply via email to