[jira] [Commented] (FLINK-14998) Remove FileUtils#deletePathIfEmpty

2022-04-01 Thread jay li (Jira)


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

jay li commented on FLINK-14998:


Hi [~yunta] , I completed this [pr 
|[https://github.com/apache/flink/pull/19330]|https://github.com/apache/flink/pull/19330],]
 ,thanks for your guidance.

> Remove FileUtils#deletePathIfEmpty
> --
>
> Key: FLINK-14998
> URL: https://issues.apache.org/jira/browse/FLINK-14998
> Project: Flink
>  Issue Type: Bug
>  Components: FileSystems
>Reporter: Yun Tang
>Assignee: jay li
>Priority: Minor
>  Labels: auto-deprioritized-major, pull-request-available, starter
> Fix For: 1.16.0
>
>
> With the lesson learned from FLINK-7266, and the refactor of FLINK-8540, 
> method of  {{FileUtils#deletePathIfEmpty}} has been totally useless in Flink 
> production code. From my point of view, it's not wise to provide a method 
> with already known high-risk defect in Flink official code. I suggest to 
> remove this part of code.



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


[jira] [Commented] (FLINK-14998) Remove FileUtils#deletePathIfEmpty

2022-03-31 Thread Yun Tang (Jira)


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

Yun Tang commented on FLINK-14998:
--

[~jay li], you can refer to 
https://flink.apache.org/contributing/contribute-code.html for more details to 
know how to create a PR. For the next question, I think it's clear to see and 
we can discuss in the review of PR.

> Remove FileUtils#deletePathIfEmpty
> --
>
> Key: FLINK-14998
> URL: https://issues.apache.org/jira/browse/FLINK-14998
> Project: Flink
>  Issue Type: Bug
>  Components: FileSystems
>Reporter: Yun Tang
>Assignee: jay li
>Priority: Minor
>  Labels: auto-deprioritized-major, starter
> Fix For: 1.16.0
>
>
> With the lesson learned from FLINK-7266, and the refactor of FLINK-8540, 
> method of  {{FileUtils#deletePathIfEmpty}} has been totally useless in Flink 
> production code. From my point of view, it's not wise to provide a method 
> with already known high-risk defect in Flink official code. I suggest to 
> remove this part of code.



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


[jira] [Commented] (FLINK-14998) Remove FileUtils#deletePathIfEmpty

2022-03-31 Thread jay li (Jira)


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

jay li commented on FLINK-14998:


Hi [~yunta]  thanks i got this ticket , I have two questions to ask.

1 ) I need to create a new branch from master and then submit master to pr 
after solving this problem?     

2) I need remove FileUtils#deletePathIfEmpty code and corresponding unit tests.

> Remove FileUtils#deletePathIfEmpty
> --
>
> Key: FLINK-14998
> URL: https://issues.apache.org/jira/browse/FLINK-14998
> Project: Flink
>  Issue Type: Bug
>  Components: FileSystems
>Reporter: Yun Tang
>Assignee: jay li
>Priority: Minor
>  Labels: auto-deprioritized-major, starter
> Fix For: 1.16.0
>
>
> With the lesson learned from FLINK-7266, and the refactor of FLINK-8540, 
> method of  {{FileUtils#deletePathIfEmpty}} has been totally useless in Flink 
> production code. From my point of view, it's not wise to provide a method 
> with already known high-risk defect in Flink official code. I suggest to 
> remove this part of code.



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


[jira] [Commented] (FLINK-14998) Remove FileUtils#deletePathIfEmpty

2022-03-30 Thread Yun Tang (Jira)


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

Yun Tang commented on FLINK-14998:
--

[~jay li] sure, I will assign this ticket to you.

[~longwang0616] sorry for I did not notice your comment before, hope you do not 
mind to let this ticket taken by others.

> Remove FileUtils#deletePathIfEmpty
> --
>
> Key: FLINK-14998
> URL: https://issues.apache.org/jira/browse/FLINK-14998
> Project: Flink
>  Issue Type: Bug
>  Components: FileSystems
>Reporter: Yun Tang
>Priority: Minor
>  Labels: auto-deprioritized-major, starter
> Fix For: 1.15.0
>
>
> With the lesson learned from FLINK-7266, and the refactor of FLINK-8540, 
> method of  {{FileUtils#deletePathIfEmpty}} has been totally useless in Flink 
> production code. From my point of view, it's not wise to provide a method 
> with already known high-risk defect in Flink official code. I suggest to 
> remove this part of code.



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


[jira] [Commented] (FLINK-14998) Remove FileUtils#deletePathIfEmpty

2022-03-30 Thread jay li (Jira)


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

jay li commented on FLINK-14998:


Hey [~yunta] , Could you assign this issues to me, The first entry point for me 
to learn FLINK source code.

> Remove FileUtils#deletePathIfEmpty
> --
>
> Key: FLINK-14998
> URL: https://issues.apache.org/jira/browse/FLINK-14998
> Project: Flink
>  Issue Type: Bug
>  Components: FileSystems
>Reporter: Yun Tang
>Priority: Minor
>  Labels: auto-deprioritized-major, starter
> Fix For: 1.15.0
>
>
> With the lesson learned from FLINK-7266, and the refactor of FLINK-8540, 
> method of  {{FileUtils#deletePathIfEmpty}} has been totally useless in Flink 
> production code. From my point of view, it's not wise to provide a method 
> with already known high-risk defect in Flink official code. I suggest to 
> remove this part of code.



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


[jira] [Commented] (FLINK-14998) Remove FileUtils#deletePathIfEmpty

2021-07-06 Thread longwang0616 (Jira)


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

longwang0616 commented on FLINK-14998:
--

[~yunta]I'll delete this method, please assign this problem to me, thank you

> Remove FileUtils#deletePathIfEmpty
> --
>
> Key: FLINK-14998
> URL: https://issues.apache.org/jira/browse/FLINK-14998
> Project: Flink
>  Issue Type: Bug
>  Components: FileSystems
>Reporter: Yun Tang
>Priority: Minor
>  Labels: auto-deprioritized-major, starter
> Fix For: 1.14.0
>
>
> With the lesson learned from FLINK-7266, and the refactor of FLINK-8540, 
> method of  {{FileUtils#deletePathIfEmpty}} has been totally useless in Flink 
> production code. From my point of view, it's not wise to provide a method 
> with already known high-risk defect in Flink official code. I suggest to 
> remove this part of code.



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


[jira] [Commented] (FLINK-14998) Remove FileUtils#deletePathIfEmpty

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


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

Flink Jira Bot commented on FLINK-14998:


This major issue is unassigned and itself and all of its Sub-Tasks have not 
been updated for 30 days. So, it has been labeled "stale-major". If this ticket 
is indeed "major", please either assign yourself or give an update. Afterwards, 
please remove the label. In 7 days the issue will be deprioritized.

> Remove FileUtils#deletePathIfEmpty
> --
>
> Key: FLINK-14998
> URL: https://issues.apache.org/jira/browse/FLINK-14998
> Project: Flink
>  Issue Type: Bug
>  Components: FileSystems
>Reporter: Yun Tang
>Priority: Major
>  Labels: stale-major, starter
> Fix For: 1.13.0
>
>
> With the lesson learned from FLINK-7266, and the refactor of FLINK-8540, 
> method of  {{FileUtils#deletePathIfEmpty}} has been totally useless in Flink 
> production code. From my point of view, it's not wise to provide a method 
> with already known high-risk defect in Flink official code. I suggest to 
> remove this part of code.



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


[jira] [Commented] (FLINK-14998) Remove FileUtils#deletePathIfEmpty

2019-12-01 Thread Yun Tang (Jira)


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

Yun Tang commented on FLINK-14998:
--

[~trohrmann], [~sewen] what do you think of this idea? If you accept this, 
please assign this issue to me.

> Remove FileUtils#deletePathIfEmpty
> --
>
> Key: FLINK-14998
> URL: https://issues.apache.org/jira/browse/FLINK-14998
> Project: Flink
>  Issue Type: Bug
>  Components: FileSystems
>Reporter: Yun Tang
>Priority: Major
> Fix For: 1.10.0
>
>
> With the lesson learned from FLINK-7266, and the refactor of FLINK-8540, 
> method of  {{FileUtils#deletePathIfEmpty}} has been totally useless in Flink 
> production code. From my point of view, it's not wise to provide a method 
> with already known high-risk defect in Flink official code. I suggest to 
> remove this part of code.



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