Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the deprecated api usage in hdfs #12080

Merged
merged 2 commits into from
Sep 26, 2021
Merged

Conversation

shoothzj
Copy link
Member

Motivation

Remove the deprecated api usage in hdfs

Modifications

Use try with resources instead of closeQuitely
Remove the Long constructor

Documentation

  • no-need-doc

little internal optimization

@Anonymitaet Anonymitaet added the doc-not-needed Your PR changes do not impact docs label Sep 18, 2021
@shoothzj shoothzj closed this Sep 18, 2021
@shoothzj shoothzj reopened this Sep 18, 2021
@shoothzj
Copy link
Member Author

@codelipenghui @sijie @BewareMyPower PTAL

@shoothzj
Copy link
Member Author

@hangc0276 PTAL

@shoothzj
Copy link
Member Author

@merlimat @eolivelli PTAL

@BewareMyPower
Copy link
Contributor

LGTM, just left a comment for the code format.

…actHdfsConnector.java

Co-authored-by: Yunze Xu <xyzinfernity@163.com>
@shoothzj shoothzj closed this Sep 23, 2021
@shoothzj shoothzj reopened this Sep 23, 2021
@shoothzj
Copy link
Member Author

LGTM, just left a comment for the code format.

Fixed, PTAL

@shoothzj shoothzj closed this Sep 23, 2021
@shoothzj shoothzj reopened this Sep 23, 2021
@shoothzj shoothzj closed this Sep 24, 2021
@shoothzj shoothzj reopened this Sep 24, 2021
@shoothzj shoothzj closed this Sep 24, 2021
@shoothzj shoothzj reopened this Sep 24, 2021
@shoothzj shoothzj closed this Sep 24, 2021
@shoothzj shoothzj reopened this Sep 24, 2021
@shoothzj shoothzj closed this Sep 24, 2021
@shoothzj shoothzj reopened this Sep 24, 2021
@shoothzj shoothzj closed this Sep 24, 2021
@shoothzj shoothzj reopened this Sep 24, 2021
@shoothzj shoothzj closed this Sep 24, 2021
@shoothzj shoothzj reopened this Sep 24, 2021
@hangc0276
Copy link
Contributor

@shoothzj You can use /pulsarbot run-failure-checks to rerun failed tests instead of close and reopen the PR, thanks.

@shoothzj
Copy link
Member Author

/pulsarbot run-failure-checks

@shoothzj
Copy link
Member Author

@merlimat @eolivelli @hangc0276 PTAL

@hangc0276 hangc0276 added this to the 2.9.0 milestone Sep 26, 2021
@hangc0276 hangc0276 merged commit f822016 into apache:master Sep 26, 2021
codelipenghui pushed a commit that referenced this pull request Sep 29, 2021
### Motivation
Remove the deprecated api usage in hdfs

### Modifications
Use try with resources instead of closeQuitely
Remove the Long constructor

* Remove the deprecated api usage in hdfs

* Update pulsar-io/hdfs2/src/main/java/org/apache/pulsar/io/hdfs2/AbstractHdfsConnector.java

Co-authored-by: Yunze Xu <xyzinfernity@163.com>

Co-authored-by: Yunze Xu <xyzinfernity@163.com>
(cherry picked from commit f822016)
@codelipenghui codelipenghui added the cherry-picked/branch-2.8 Archived: 2.8 is end of life label Sep 29, 2021
codelipenghui pushed a commit that referenced this pull request Dec 11, 2021
### Motivation
Remove the deprecated api usage in hdfs

### Modifications
Use try with resources instead of closeQuitely
Remove the Long constructor

* Remove the deprecated api usage in hdfs

* Update pulsar-io/hdfs2/src/main/java/org/apache/pulsar/io/hdfs2/AbstractHdfsConnector.java

Co-authored-by: Yunze Xu <xyzinfernity@163.com>

Co-authored-by: Yunze Xu <xyzinfernity@163.com>
(cherry picked from commit f822016)
@codelipenghui codelipenghui added the cherry-picked/branch-2.7 Archived: 2.7 is end of life label Dec 11, 2021
bharanic-dev pushed a commit to bharanic-dev/pulsar that referenced this pull request Mar 18, 2022
### Motivation
Remove the deprecated api usage in hdfs

### Modifications
Use try with resources instead of closeQuitely
Remove the Long constructor

* Remove the deprecated api usage in hdfs

* Update pulsar-io/hdfs2/src/main/java/org/apache/pulsar/io/hdfs2/AbstractHdfsConnector.java

Co-authored-by: Yunze Xu <xyzinfernity@163.com>

Co-authored-by: Yunze Xu <xyzinfernity@163.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/connector cherry-picked/branch-2.7 Archived: 2.7 is end of life cherry-picked/branch-2.8 Archived: 2.8 is end of life doc-not-needed Your PR changes do not impact docs release/2.7.4 release/2.8.2 release/2.9.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants