rajagopr opened a new pull request, #10126:
URL: https://github.com/apache/pinot/pull/10126

   Changes are to fix the following exception
   ```
   java.io.IOException: java.net.URISyntaxException: Expected scheme-specific 
part at index 3: s3:
   ```
   originating post a call to the method 
`fileSystem.exists(metadataTarGzFilePath)`. The scheme part of the path got 
corrupted post a call to the method `new File(tarFilePath)`. For example, `new 
File("s3://bucket")` results in the path getting captured as `s3:/bucket` as 
opposed to `s3://bucket`.
   
   The exception itself could be re-produced by calling the method `new 
URI(uri.getScheme(), uri.getHost(), null, null)` where URI was constructed from 
string `s3:/bucket/object.tar.gz`.
   
   


-- 
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