[ 
https://issues.apache.org/jira/browse/FLINK-23499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17387263#comment-17387263
 ] 

Chesnay Schepler commented on FLINK-23499:
------------------------------------------

The point is not to change this behavior, but to maybe add some safeguards for 
such cases, e.g., by checking the configured value for know schemes.

> ConfigurationUtils#splitPaths may split scheme from path
> --------------------------------------------------------
>
>                 Key: FLINK-23499
>                 URL: https://issues.apache.org/jira/browse/FLINK-23499
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Configuration
>    Affects Versions: 1.10.0
>            Reporter: Chesnay Schepler
>            Priority: Major
>
> ConfigurationUtils#splitPaths can split a path that contains a scheme (e.g., 
> file:///tmp) into 2 paths, because : is commonly used as File.pathSeparator.
> {code:java}
> Configured tmpDir=file:///home/travis/build/zentol/flink-benchmarks/
> parsed     tmpDir=[file, ///home/travis/build/zentol/flink-benchmarks/
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to