[jira] [Updated] (FLINK-9527) Paths initialized with URI are not normalized

2021-12-29 Thread Flink Jira Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/FLINK-9527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flink Jira Bot updated FLINK-9527:
--
  Labels: auto-deprioritized-major auto-deprioritized-minor auto-unassigned 
 (was: auto-deprioritized-major auto-unassigned stale-minor)
Priority: Not a Priority  (was: Minor)

This issue was labeled "stale-minor" 7 days ago and has not received any 
updates so it is being deprioritized. If this ticket is actually Minor, please 
raise the priority and ask a committer to assign you the issue or revive the 
public discussion.


> Paths initialized with URI are not normalized
> -
>
> Key: FLINK-9527
> URL: https://issues.apache.org/jira/browse/FLINK-9527
> Project: Flink
>  Issue Type: Bug
>  Components: API / DataSet
>Affects Versions: 1.0.3, 1.1.4, 1.2.1, 1.3.3, 1.4.2, 1.5.0, 1.6.0
>Reporter: Chesnay Schepler
>Priority: Not a Priority
>  Labels: auto-deprioritized-major, auto-deprioritized-minor, 
> auto-unassigned
>
> The {{Path}} class has a lot of logic to normalize paths, like removing 
> trailing slashes.
> However, all this normalization can be circumvented by passing in a {{URI}}, 
> where no normalization is done. I guess this was done on the assumption that 
> the normalization was compatible with {{URI}}, but it turns out that this is 
> not the case in the case of trailing slashes.
> An {{URI}} may have a trailing slash for directories, whereas a normalized 
> {{Path}} does not.
> Unfortunately this breaks some assumptions made in the {{Path}} class, in 
> particular {{Path#getParent()}} does not properly handle this case.
> Both assertions in the code below will fail.
> {code}
> public void testPathNormalization() {
>   String path = "C:/Users/Zento/AppData/Local/Temp/test/";
>   URI uri = URI.create(path);
>   Path normalizedPath = new Path(path);
>   Path uriPath = new Path(uri);
>   Assert.assertEquals(normalizedPath.toString(), 
> uriPath.toString());
>   Assert.assertEquals("C:/Users/Zento/AppData/Local/Temp", 
> uriPath.getParent().getPath());
>   }
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Updated] (FLINK-9527) Paths initialized with URI are not normalized

2021-12-21 Thread Flink Jira Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/FLINK-9527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flink Jira Bot updated FLINK-9527:
--
Labels: auto-deprioritized-major auto-unassigned stale-minor  (was: 
auto-deprioritized-major auto-unassigned)

I am the [Flink Jira Bot|https://github.com/apache/flink-jira-bot/] and I help 
the community manage its development. I see this issues has been marked as 
Minor but is unassigned and neither itself nor its Sub-Tasks have been updated 
for 180 days. I have gone ahead and marked it "stale-minor". If this ticket is 
still Minor, please either assign yourself or give an update. Afterwards, 
please remove the label or in 7 days the issue will be deprioritized.


> Paths initialized with URI are not normalized
> -
>
> Key: FLINK-9527
> URL: https://issues.apache.org/jira/browse/FLINK-9527
> Project: Flink
>  Issue Type: Bug
>  Components: API / DataSet
>Affects Versions: 1.0.3, 1.1.4, 1.2.1, 1.3.3, 1.4.2, 1.5.0, 1.6.0
>Reporter: Chesnay Schepler
>Priority: Minor
>  Labels: auto-deprioritized-major, auto-unassigned, stale-minor
>
> The {{Path}} class has a lot of logic to normalize paths, like removing 
> trailing slashes.
> However, all this normalization can be circumvented by passing in a {{URI}}, 
> where no normalization is done. I guess this was done on the assumption that 
> the normalization was compatible with {{URI}}, but it turns out that this is 
> not the case in the case of trailing slashes.
> An {{URI}} may have a trailing slash for directories, whereas a normalized 
> {{Path}} does not.
> Unfortunately this breaks some assumptions made in the {{Path}} class, in 
> particular {{Path#getParent()}} does not properly handle this case.
> Both assertions in the code below will fail.
> {code}
> public void testPathNormalization() {
>   String path = "C:/Users/Zento/AppData/Local/Temp/test/";
>   URI uri = URI.create(path);
>   Path normalizedPath = new Path(path);
>   Path uriPath = new Path(uri);
>   Assert.assertEquals(normalizedPath.toString(), 
> uriPath.toString());
>   Assert.assertEquals("C:/Users/Zento/AppData/Local/Temp", 
> uriPath.getParent().getPath());
>   }
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Updated] (FLINK-9527) Paths initialized with URI are not normalized

2021-06-21 Thread Flink Jira Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/FLINK-9527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flink Jira Bot updated FLINK-9527:
--
  Labels: auto-deprioritized-major auto-unassigned  (was: auto-unassigned 
stale-major)
Priority: Minor  (was: Major)

This issue was labeled "stale-major" 7 ago and has not received any updates so 
it is being deprioritized. If this ticket is actually Major, please raise the 
priority and ask a committer to assign you the issue or revive the public 
discussion.


> Paths initialized with URI are not normalized
> -
>
> Key: FLINK-9527
> URL: https://issues.apache.org/jira/browse/FLINK-9527
> Project: Flink
>  Issue Type: Bug
>  Components: API / DataSet
>Affects Versions: 1.0.3, 1.1.4, 1.2.1, 1.3.3, 1.4.2, 1.5.0, 1.6.0
>Reporter: Chesnay Schepler
>Priority: Minor
>  Labels: auto-deprioritized-major, auto-unassigned
>
> The {{Path}} class has a lot of logic to normalize paths, like removing 
> trailing slashes.
> However, all this normalization can be circumvented by passing in a {{URI}}, 
> where no normalization is done. I guess this was done on the assumption that 
> the normalization was compatible with {{URI}}, but it turns out that this is 
> not the case in the case of trailing slashes.
> An {{URI}} may have a trailing slash for directories, whereas a normalized 
> {{Path}} does not.
> Unfortunately this breaks some assumptions made in the {{Path}} class, in 
> particular {{Path#getParent()}} does not properly handle this case.
> Both assertions in the code below will fail.
> {code}
> public void testPathNormalization() {
>   String path = "C:/Users/Zento/AppData/Local/Temp/test/";
>   URI uri = URI.create(path);
>   Path normalizedPath = new Path(path);
>   Path uriPath = new Path(uri);
>   Assert.assertEquals(normalizedPath.toString(), 
> uriPath.toString());
>   Assert.assertEquals("C:/Users/Zento/AppData/Local/Temp", 
> uriPath.getParent().getPath());
>   }
> {code}



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


[jira] [Updated] (FLINK-9527) Paths initialized with URI are not normalized

2021-06-13 Thread Flink Jira Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/FLINK-9527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flink Jira Bot updated FLINK-9527:
--
Labels: auto-unassigned stale-major  (was: auto-unassigned)

I am the [Flink Jira Bot|https://github.com/apache/flink-jira-bot/] and I help 
the community manage its development. I see this issues has been marked as 
Major but is unassigned and neither itself nor its Sub-Tasks have been updated 
for 30 days. I have gone ahead and added a "stale-major" to the issue". If this 
ticket is a Major, please either assign yourself or give an update. Afterwards, 
please remove the label or in 7 days the issue will be deprioritized.


> Paths initialized with URI are not normalized
> -
>
> Key: FLINK-9527
> URL: https://issues.apache.org/jira/browse/FLINK-9527
> Project: Flink
>  Issue Type: Bug
>  Components: API / DataSet
>Affects Versions: 1.0.3, 1.1.4, 1.2.1, 1.3.3, 1.4.2, 1.5.0, 1.6.0
>Reporter: Chesnay Schepler
>Priority: Major
>  Labels: auto-unassigned, stale-major
>
> The {{Path}} class has a lot of logic to normalize paths, like removing 
> trailing slashes.
> However, all this normalization can be circumvented by passing in a {{URI}}, 
> where no normalization is done. I guess this was done on the assumption that 
> the normalization was compatible with {{URI}}, but it turns out that this is 
> not the case in the case of trailing slashes.
> An {{URI}} may have a trailing slash for directories, whereas a normalized 
> {{Path}} does not.
> Unfortunately this breaks some assumptions made in the {{Path}} class, in 
> particular {{Path#getParent()}} does not properly handle this case.
> Both assertions in the code below will fail.
> {code}
> public void testPathNormalization() {
>   String path = "C:/Users/Zento/AppData/Local/Temp/test/";
>   URI uri = URI.create(path);
>   Path normalizedPath = new Path(path);
>   Path uriPath = new Path(uri);
>   Assert.assertEquals(normalizedPath.toString(), 
> uriPath.toString());
>   Assert.assertEquals("C:/Users/Zento/AppData/Local/Temp", 
> uriPath.getParent().getPath());
>   }
> {code}



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


[jira] [Updated] (FLINK-9527) Paths initialized with URI are not normalized

2021-04-27 Thread Flink Jira Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/FLINK-9527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flink Jira Bot updated FLINK-9527:
--
Labels: auto-unassigned  (was: stale-assigned)

> Paths initialized with URI are not normalized
> -
>
> Key: FLINK-9527
> URL: https://issues.apache.org/jira/browse/FLINK-9527
> Project: Flink
>  Issue Type: Bug
>  Components: API / DataSet
>Affects Versions: 1.0.3, 1.1.4, 1.2.1, 1.3.3, 1.4.2, 1.5.0, 1.6.0
>Reporter: Chesnay Schepler
>Assignee: vinoyang
>Priority: Major
>  Labels: auto-unassigned
>
> The {{Path}} class has a lot of logic to normalize paths, like removing 
> trailing slashes.
> However, all this normalization can be circumvented by passing in a {{URI}}, 
> where no normalization is done. I guess this was done on the assumption that 
> the normalization was compatible with {{URI}}, but it turns out that this is 
> not the case in the case of trailing slashes.
> An {{URI}} may have a trailing slash for directories, whereas a normalized 
> {{Path}} does not.
> Unfortunately this breaks some assumptions made in the {{Path}} class, in 
> particular {{Path#getParent()}} does not properly handle this case.
> Both assertions in the code below will fail.
> {code}
> public void testPathNormalization() {
>   String path = "C:/Users/Zento/AppData/Local/Temp/test/";
>   URI uri = URI.create(path);
>   Path normalizedPath = new Path(path);
>   Path uriPath = new Path(uri);
>   Assert.assertEquals(normalizedPath.toString(), 
> uriPath.toString());
>   Assert.assertEquals("C:/Users/Zento/AppData/Local/Temp", 
> uriPath.getParent().getPath());
>   }
> {code}



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


[jira] [Updated] (FLINK-9527) Paths initialized with URI are not normalized

2021-04-16 Thread Flink Jira Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/FLINK-9527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flink Jira Bot updated FLINK-9527:
--
Labels: stale-assigned  (was: )

> Paths initialized with URI are not normalized
> -
>
> Key: FLINK-9527
> URL: https://issues.apache.org/jira/browse/FLINK-9527
> Project: Flink
>  Issue Type: Bug
>  Components: API / DataSet
>Affects Versions: 1.0.3, 1.1.4, 1.2.1, 1.3.3, 1.4.2, 1.5.0, 1.6.0
>Reporter: Chesnay Schepler
>Assignee: vinoyang
>Priority: Major
>  Labels: stale-assigned
>
> The {{Path}} class has a lot of logic to normalize paths, like removing 
> trailing slashes.
> However, all this normalization can be circumvented by passing in a {{URI}}, 
> where no normalization is done. I guess this was done on the assumption that 
> the normalization was compatible with {{URI}}, but it turns out that this is 
> not the case in the case of trailing slashes.
> An {{URI}} may have a trailing slash for directories, whereas a normalized 
> {{Path}} does not.
> Unfortunately this breaks some assumptions made in the {{Path}} class, in 
> particular {{Path#getParent()}} does not properly handle this case.
> Both assertions in the code below will fail.
> {code}
> public void testPathNormalization() {
>   String path = "C:/Users/Zento/AppData/Local/Temp/test/";
>   URI uri = URI.create(path);
>   Path normalizedPath = new Path(path);
>   Path uriPath = new Path(uri);
>   Assert.assertEquals(normalizedPath.toString(), 
> uriPath.toString());
>   Assert.assertEquals("C:/Users/Zento/AppData/Local/Temp", 
> uriPath.getParent().getPath());
>   }
> {code}



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


[jira] [Updated] (FLINK-9527) Paths initialized with URI are not normalized

2019-02-28 Thread Robert Metzger (JIRA)


 [ 
https://issues.apache.org/jira/browse/FLINK-9527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Metzger updated FLINK-9527:
--
Component/s: (was: Core)
 API / DataSet

> Paths initialized with URI are not normalized
> -
>
> Key: FLINK-9527
> URL: https://issues.apache.org/jira/browse/FLINK-9527
> Project: Flink
>  Issue Type: Bug
>  Components: API / DataSet
>Affects Versions: 1.0.3, 1.1.4, 1.2.1, 1.3.3, 1.4.2, 1.5.0, 1.6.0
>Reporter: Chesnay Schepler
>Assignee: vinoyang
>Priority: Major
>
> The {{Path}} class has a lot of logic to normalize paths, like removing 
> trailing slashes.
> However, all this normalization can be circumvented by passing in a {{URI}}, 
> where no normalization is done. I guess this was done on the assumption that 
> the normalization was compatible with {{URI}}, but it turns out that this is 
> not the case in the case of trailing slashes.
> An {{URI}} may have a trailing slash for directories, whereas a normalized 
> {{Path}} does not.
> Unfortunately this breaks some assumptions made in the {{Path}} class, in 
> particular {{Path#getParent()}} does not properly handle this case.
> Both assertions in the code below will fail.
> {code}
> public void testPathNormalization() {
>   String path = "C:/Users/Zento/AppData/Local/Temp/test/";
>   URI uri = URI.create(path);
>   Path normalizedPath = new Path(path);
>   Path uriPath = new Path(uri);
>   Assert.assertEquals(normalizedPath.toString(), 
> uriPath.toString());
>   Assert.assertEquals("C:/Users/Zento/AppData/Local/Temp", 
> uriPath.getParent().getPath());
>   }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (FLINK-9527) Paths initialized with URI are not normalized

2018-06-05 Thread Chesnay Schepler (JIRA)


 [ 
https://issues.apache.org/jira/browse/FLINK-9527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chesnay Schepler updated FLINK-9527:

Summary: Paths initialized with URI are not normalized  (was: Paths 
initialize with URI are not normalized)

> Paths initialized with URI are not normalized
> -
>
> Key: FLINK-9527
> URL: https://issues.apache.org/jira/browse/FLINK-9527
> Project: Flink
>  Issue Type: Bug
>  Components: Core
>Affects Versions: 1.0.3, 1.1.4, 1.2.1, 1.3.3, 1.5.0, 1.4.2, 1.6.0
>Reporter: Chesnay Schepler
>Priority: Major
>
> The {{Path}} class has a lot of logic to normalize paths, like removing 
> trailing slashes.
> However, all this normalization can be circumvented by passing in a {{URI}}, 
> where no normalization is done. I guess this was done on the assumption that 
> the normalization was compatible with {{URI}}, but it turns out that this is 
> not the case in the case of trailing slashes.
> An {{URI}} may have a trailing slash for directories, whereas a normalized 
> {{Path}} does not.
> Unfortunately this breaks some assumptions made in the {{Path}} class, in 
> particular {{Path#getParent()}} does not properly handle this case.
> Both assertions in the code below will fail.
> {code}
> public void testPathNormalization() {
>   String path = "C:/Users/Zento/AppData/Local/Temp/test/";
>   URI uri = URI.create(path);
>   Path normalizedPath = new Path(path);
>   Path uriPath = new Path(uri);
>   Assert.assertEquals(normalizedPath.toString(), 
> uriPath.toString());
>   Assert.assertEquals("C:/Users/Zento/AppData/Local/Temp", 
> uriPath.getParent().getPath());
>   }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)