You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/02/02 15:45:00 UTC
[jira] [Commented] (HADOOP-18612) Avoid mixing canonical and non-canonical when performing comparisons
[ https://issues.apache.org/jira/browse/HADOOP-18612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17683470#comment-17683470 ]
ASF GitHub Bot commented on HADOOP-18612:
-----------------------------------------
snmvaughan opened a new pull request, #5339:
URL: https://github.com/apache/hadoop/pull/5339
### Description of PR
The test mixes canonical and non-canonical paths and then perform comparisons. We can avoid unexpected failures by ensuring that comparisons are always made against canonical forms.
### How was this patch tested?
The test was run in an Hadoop development environment docker image to verify that the tests pass.
### For code changes:
- [X] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
- [ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
- [ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under [ASF 2.0](http://www.apache.org/legal/resolved.html#category-a)?
- [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`, `NOTICE-binary` files?
> Avoid mixing canonical and non-canonical when performing comparisons
> --------------------------------------------------------------------
>
> Key: HADOOP-18612
> URL: https://issues.apache.org/jira/browse/HADOOP-18612
> Project: Hadoop Common
> Issue Type: Bug
> Components: common
> Affects Versions: 3.4.0, 3.3.5, 3.3.9
> Environment: Tests were run using the Hadoop development environment docker image.
> Reporter: Steve Vaughan
> Assignee: Steve Vaughan
> Priority: Major
> Fix For: 3.4.0, 3.3.9
>
>
> The test mixes canonical and non-canonical paths and then perform comparisons. We can avoid unexpected failures by ensuring that comparisons are always made against canonical forms.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org