zabetak opened a new pull request, #6960:
URL: https://github.com/apache/hive/pull/6960

   ### What changes were proposed in this pull request?
   1. Modify `PathFinder` to always verify fileName when going over `PATH` 
entries.
   2. Improve encapsulation and testability by making `PathFinder` static and 
moving env resolution responsibility to the caller
   
   ### Why are the changes needed?
   Avoid running wrong script/processes and getting wrong results when `PATH` 
contains file entries.
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   ### How was this patch tested?
   ```
   mvn test -Dtest=TestPathFinder
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to