-
Notifications
You must be signed in to change notification settings - Fork 307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HPCC-33694 parquetTypes.ecl failing in containerized environment #19645
base: candidate-9.10.x
Are you sure you want to change the base?
Conversation
Jira Issue: https://hpccsystems.atlassian.net//browse/HPCC-33694 Jirabot Action Result: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jackdelv - how/when can host be "." in containerized? i.e. where is the "." coming from?
@jackdelv was this intentional a draft? |
@jakesmith Yes, this was intentionally marked as draft as I'm not sure this is the correct solution. The "." actually comes from my test file parquetTypes.ecl. I had assumed (possibly incorrectly) that the "." was a valid location to pass into DeleteExternalFile because there are many examples of "." being passed in for other cases. Would a better solution be to change the calls in parquetTypes.ecl to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't tell whether this is a proper fix or not and this change doesn't cause any other problem, based on it is in Dali. @jakesmith can answer this question.
I can't test this change without build an image (what I would like to avoid), deploy it into AKS (or Minikube) and run the failed test on it.
I don't think this change is correct, "." shouldn't mean anything for a plane. "." doesn't really make any sense for cloud. Doesn't rally make sense for bare-metal either. There are other tests that use "." too, but they should all be changed not to. |
There's a getDefaultDropZone() (badly named) which returns the default dropzone path. @jackdelv - I'll add a GetDefaultDropZoneName() as a separate PR, then this test can use it to pass to DeletedExternalFile. |
GetDefaultDropZoneName() JIRA - https://hpccsystems.atlassian.net/browse/HPCC-33720 |
Inside implementDeleteExternalFile, findPlane winds up being called to find the storage plane and verify it against the host and path arguments passed into the function.
The error occurred in containerized where the host string that was passed in was ".". In bare-metal this is not an issue because it has a host group defined that matches ".", but in containerized there is no hostGroup definition inside storage/planes. The check was added to allow the plane to be matched by the prefix and ignore the "." host only in containerized.
Type of change:
Checklist:
Smoketest:
Testing: