[jira] [Comment Edited] (HADOOP-18534) Propose a mechanism to free the direct memory occupied by RPC Connections

2022-11-20 Thread fanshilun (Jira)


[ 
https://issues.apache.org/jira/browse/HADOOP-18534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17636453#comment-17636453
 ] 

fanshilun edited comment on HADOOP-18534 at 11/21/22 5:50 AM:
--

Usually an rpc request is returned in milliseconds. At this time, I think the 
impact of GC can be ignored. A large HDFS system, the Audit Log will record 
100-200 million requests, and I have not seen any abnormalities in rpc client 
gc.

RPC service is the core service of the whole system. We need to clarify the 
benefits before modifying it, otherwise it will bring great risks.


was (Author: slfan1989):
Usually an rpc request is returned in milliseconds. At this time, I think the 
impact of GC can be ignored.

> Propose a mechanism to free the direct memory occupied by RPC Connections
> -
>
> Key: HADOOP-18534
> URL: https://issues.apache.org/jira/browse/HADOOP-18534
> Project: Hadoop Common
>  Issue Type: Improvement
>  Components: rpc-server
>Reporter: xinqiu.hu
>Priority: Minor
> Attachments: 未命名文件 (1).png
>
>
>   In the RPC Client, a thread called RpcRequestSender is responsible for 
> writing the connection request to the socket. Every time a request is sent, a 
> direct memory is applied for in sun.nio.ch.IOUtil#write() and cached.
>   If Connection and RpcRequestSender are promoted to the old generation, they 
> will not be recycled when full gc is not performed, resulting in the 
> DirectByteBuffer cached in sun.nio.ch.Util not being recycled. When the 
> memory occupied by DirectByteBuffer is too large, the jvm process may not 
> have the opportunity to do full gc and is killed.
>   Unfortunately, there is no easy way to free these DirectByteBuffers. 
> Perhaps, we can manually free these DirectByteBuffers by the following 
> methods when the Connection is closed.
> {code:java}
> private void freeDirectBuffer() {
>   try {
> ByteBuffer buffer = Util.getTemporaryDirectBuffer(1);
> int i = 0;
> while (buffer.capacity() != 1 && i < 1024) {
>   ((DirectBuffer) buffer).cleaner().clean();
>   buffer = Util.getTemporaryDirectBuffer(1);
>   i++;
> }
> ((DirectBuffer) buffer).cleaner().clean();
>   } catch (Throwable t) {
> LOG.error("free direct memory error, connectionId: " + remoteId, t);
>   }
> }{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Commented] (HADOOP-18534) Propose a mechanism to free the direct memory occupied by RPC Connections

2022-11-20 Thread fanshilun (Jira)


[ 
https://issues.apache.org/jira/browse/HADOOP-18534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17636453#comment-17636453
 ] 

fanshilun commented on HADOOP-18534:


Usually an rpc request is returned in milliseconds. At this time, I think the 
impact of GC can be ignored.

> Propose a mechanism to free the direct memory occupied by RPC Connections
> -
>
> Key: HADOOP-18534
> URL: https://issues.apache.org/jira/browse/HADOOP-18534
> Project: Hadoop Common
>  Issue Type: Improvement
>  Components: rpc-server
>Reporter: xinqiu.hu
>Priority: Minor
> Attachments: 未命名文件 (1).png
>
>
>   In the RPC Client, a thread called RpcRequestSender is responsible for 
> writing the connection request to the socket. Every time a request is sent, a 
> direct memory is applied for in sun.nio.ch.IOUtil#write() and cached.
>   If Connection and RpcRequestSender are promoted to the old generation, they 
> will not be recycled when full gc is not performed, resulting in the 
> DirectByteBuffer cached in sun.nio.ch.Util not being recycled. When the 
> memory occupied by DirectByteBuffer is too large, the jvm process may not 
> have the opportunity to do full gc and is killed.
>   Unfortunately, there is no easy way to free these DirectByteBuffers. 
> Perhaps, we can manually free these DirectByteBuffers by the following 
> methods when the Connection is closed.
> {code:java}
> private void freeDirectBuffer() {
>   try {
> ByteBuffer buffer = Util.getTemporaryDirectBuffer(1);
> int i = 0;
> while (buffer.capacity() != 1 && i < 1024) {
>   ((DirectBuffer) buffer).cleaner().clean();
>   buffer = Util.getTemporaryDirectBuffer(1);
>   i++;
> }
> ((DirectBuffer) buffer).cleaner().clean();
>   } catch (Throwable t) {
> LOG.error("free direct memory error, connectionId: " + remoteId, t);
>   }
> }{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Created] (HADOOP-18485) Upgrade hikari.version from 4.0.3 to 5.0.1

2022-10-09 Thread fanshilun (Jira)
fanshilun created HADOOP-18485:
--

 Summary: Upgrade hikari.version from 4.0.3 to 5.0.1
 Key: HADOOP-18485
 URL: https://issues.apache.org/jira/browse/HADOOP-18485
 Project: Hadoop Common
  Issue Type: Improvement
  Components: common
Affects Versions: 3.4.0
Reporter: fanshilun
Assignee: fanshilun


Upgrade hikari.version from 4.0.3 to 5.0.1



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Updated] (HADOOP-18360) Update commons-csv from 1.0 to 1.9.0.

2022-10-02 Thread fanshilun (Jira)


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

fanshilun updated HADOOP-18360:
---
Description: 
commons-csv 1.0 is a very old jar, mvnrepository shows this jar as the 2014 
version, I have compiled and tested locally, I think this jar can be upgraded 
to commons-csv 1.9 version.

The link to the release note is as follows:
[https://commons.apache.org/proper/commons-csv/changes-report.html]

We can see that the new version fixes some issues.

I read the code used, we use header related methods. We found that many 
header-related methods have been upgraded.

*Release 1.1 – 2014-11-16*
CSVFormat#withHeader doesn't work well with #printComment, add 
withHeaderComments(String...).
CSVFormat.EXCEL should ignore empty header names.

*Release 1.2 – 2015-08-24*
CSVFormat.with* methods clear the header comments.

*Release 1.3 – 2016-05-09*
Add shortcut method for using first record as header to CSVFormat.
Add withHeader(Class) to CSVFormat.
CSVPrinter doesn't skip creation of header record if skipHeaderRecord is set to 
true.
Add IgnoreCase option for accessing header names.

*Release 1.5 – 2017-09-03*
Fix incorrect method name 'withFirstRowAsHeader' in user guide.

*Release 1.7 – 2019-06-01*
Cannot get headers in column order from CSVRecord.

*Release 1.8 – 2020-02-01*
CSVFormat#validate() does not account for allowDuplicateHeaderNames.
A single empty header is allowed when not allowing empty column headers.

*Release 1.9.0 – 2020-07-24*
Add possibility to use ResultSet header meta data as CSV header.

  was:
 

commons-csv 1.0 is a very old jar, mvnrepository shows this jar as the 2014 
version, I have compiled and tested locally, I think this jar can be upgraded 
to commons-csv 1.9 version.

The link to the release note is as follows:
[https://commons.apache.org/proper/commons-csv/changes-report.html]

We can see that the new version fixes some issues.

I read the code used, we use header related methods. We found that many 
header-related methods have been upgraded.

*Release 1.1 – 2014-11-16*
CSVFormat#withHeader doesn't work well with #printComment, add 
withHeaderComments(String...).
CSVFormat.EXCEL should ignore empty header names.

*Release 1.2 – 2015-08-24*
CSVFormat.with* methods clear the header comments.

*Release 1.3 – 2016-05-09*
Add shortcut method for using first record as header to CSVFormat.
Add withHeader(Class) to CSVFormat.
CSVPrinter doesn't skip creation of header record if skipHeaderRecord is set to 
true.
Add IgnoreCase option for accessing header names.

*Release 1.5 – 2017-09-03*
Fix incorrect method name 'withFirstRowAsHeader' in user guide.

*Release 1.7 – 2019-06-01*
Cannot get headers in column order from CSVRecord.

*Release 1.8 – 2020-02-01*
CSVFormat#validate() does not account for allowDuplicateHeaderNames.
A single empty header is allowed when not allowing empty column headers.

*Release 1.9.0 – 2020-07-24*
Add possibility to use ResultSet header meta data as CSV header.


> Update commons-csv from 1.0 to 1.9.0.
> -
>
> Key: HADOOP-18360
> URL: https://issues.apache.org/jira/browse/HADOOP-18360
> Project: Hadoop Common
>  Issue Type: Improvement
>  Components: common
>Affects Versions: 3.4.0
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Minor
>  Labels: pull-request-available
>
> commons-csv 1.0 is a very old jar, mvnrepository shows this jar as the 2014 
> version, I have compiled and tested locally, I think this jar can be upgraded 
> to commons-csv 1.9 version.
> The link to the release note is as follows:
> [https://commons.apache.org/proper/commons-csv/changes-report.html]
> We can see that the new version fixes some issues.
> I read the code used, we use header related methods. We found that many 
> header-related methods have been upgraded.
> *Release 1.1 – 2014-11-16*
> CSVFormat#withHeader doesn't work well with #printComment, add 
> withHeaderComments(String...).
> CSVFormat.EXCEL should ignore empty header names.
> *Release 1.2 – 2015-08-24*
> CSVFormat.with* methods clear the header comments.
> *Release 1.3 – 2016-05-09*
> Add shortcut method for using first record as header to CSVFormat.
> Add withHeader(Class) to CSVFormat.
> CSVPrinter doesn't skip creation of header record if skipHeaderRecord is set 
> to true.
> Add IgnoreCase option for accessing header names.
> *Release 1.5 – 2017-09-03*
> Fix incorrect method name 'withFirstRowAsHeader' in user guide.
> *Release 1.7 – 2019-06-01*
> Cannot get headers in column order from CSVRecord.
> *Release 1.8 – 2020-02-01*
> CSVFormat#validate() does not account for allowDuplicateHeaderNames.
> A single empty header is allowed when not allowing empty column headers.
> *Release 1.9.0 – 2020-07-24*
> Add possibility to use ResultSet header meta data as CSV 

[jira] [Updated] (HADOOP-18360) Update commons-csv from 1.0 to 1.9.0.

2022-10-02 Thread fanshilun (Jira)


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

fanshilun updated HADOOP-18360:
---
Description: 
 

commons-csv 1.0 is a very old jar, mvnrepository shows this jar as the 2014 
version, I have compiled and tested locally, I think this jar can be upgraded 
to commons-csv 1.9 version.

The link to the release note is as follows:
[https://commons.apache.org/proper/commons-csv/changes-report.html]

We can see that the new version fixes some issues.

I read the code used, we use header related methods. We found that many 
header-related methods have been upgraded.

*Release 1.1 – 2014-11-16*
CSVFormat#withHeader doesn't work well with #printComment, add 
withHeaderComments(String...).
CSVFormat.EXCEL should ignore empty header names.

*Release 1.2 – 2015-08-24*
CSVFormat.with* methods clear the header comments.

*Release 1.3 – 2016-05-09*
Add shortcut method for using first record as header to CSVFormat.
Add withHeader(Class) to CSVFormat.
CSVPrinter doesn't skip creation of header record if skipHeaderRecord is set to 
true.
Add IgnoreCase option for accessing header names.

*Release 1.5 – 2017-09-03*
Fix incorrect method name 'withFirstRowAsHeader' in user guide.

*Release 1.7 – 2019-06-01*
Cannot get headers in column order from CSVRecord.

*Release 1.8 – 2020-02-01*
CSVFormat#validate() does not account for allowDuplicateHeaderNames.
A single empty header is allowed when not allowing empty column headers.

*Release 1.9.0 – 2020-07-24*
Add possibility to use ResultSet header meta data as CSV header.

  was:
commons-csv 1.0 is a very old jar, mvnrepository shows this jar as the 2014 
version, I have compiled and tested locally, I think this jar can be upgraded 
to commons-csv 1.9 version.

The link to the release note is as follows:
[https://commons.apache.org/proper/commons-csv/changes-report.html]

We can see that the new version fixes some issues.

I read the code used, we use header related methods. We found that many 
header-related methods have been upgraded.

*Release 1.1 – 2014-11-16*
CSVFormat#withHeader doesn't work well with #printComment, add 
withHeaderComments(String...).
CSVFormat.EXCEL should ignore empty header names.

*Release 1.2 – 2015-08-24*
CSVFormat.with* methods clear the header comments.

*Release 1.3 – 2016-05-09*
Add shortcut method for using first record as header to CSVFormat.
Add withHeader(Class) to CSVFormat.
CSVPrinter doesn't skip creation of header record if skipHeaderRecord is set to 
true.
Add IgnoreCase option for accessing header names.

*Release 1.5 – 2017-09-03*
Fix incorrect method name 'withFirstRowAsHeader' in user guide.

*Release 1.7 – 2019-06-01*
Cannot get headers in column order from CSVRecord.

*Release 1.8 – 2020-02-01*
CSVFormat#validate() does not account for allowDuplicateHeaderNames.
A single empty header is allowed when not allowing empty column headers.

*Release 1.9.0 – 2020-07-24*
Add possibility to use ResultSet header meta data as CSV header.


> Update commons-csv from 1.0 to 1.9.0.
> -
>
> Key: HADOOP-18360
> URL: https://issues.apache.org/jira/browse/HADOOP-18360
> Project: Hadoop Common
>  Issue Type: Improvement
>  Components: common
>Affects Versions: 3.4.0
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Minor
>  Labels: pull-request-available
>
>  
> commons-csv 1.0 is a very old jar, mvnrepository shows this jar as the 2014 
> version, I have compiled and tested locally, I think this jar can be upgraded 
> to commons-csv 1.9 version.
> The link to the release note is as follows:
> [https://commons.apache.org/proper/commons-csv/changes-report.html]
> We can see that the new version fixes some issues.
> I read the code used, we use header related methods. We found that many 
> header-related methods have been upgraded.
> *Release 1.1 – 2014-11-16*
> CSVFormat#withHeader doesn't work well with #printComment, add 
> withHeaderComments(String...).
> CSVFormat.EXCEL should ignore empty header names.
> *Release 1.2 – 2015-08-24*
> CSVFormat.with* methods clear the header comments.
> *Release 1.3 – 2016-05-09*
> Add shortcut method for using first record as header to CSVFormat.
> Add withHeader(Class) to CSVFormat.
> CSVPrinter doesn't skip creation of header record if skipHeaderRecord is set 
> to true.
> Add IgnoreCase option for accessing header names.
> *Release 1.5 – 2017-09-03*
> Fix incorrect method name 'withFirstRowAsHeader' in user guide.
> *Release 1.7 – 2019-06-01*
> Cannot get headers in column order from CSVRecord.
> *Release 1.8 – 2020-02-01*
> CSVFormat#validate() does not account for allowDuplicateHeaderNames.
> A single empty header is allowed when not allowing empty column headers.
> *Release 1.9.0 – 2020-07-24*
> Add possibility to use ResultSet header meta data as 

[jira] [Updated] (HADOOP-18360) Update commons-csv from 1.0 to 1.9.0.

2022-10-02 Thread fanshilun (Jira)


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

fanshilun updated HADOOP-18360:
---
Description: 
commons-csv 1.0 is a very old jar, mvnrepository shows this jar as the 2014 
version, I have compiled and tested locally, I think this jar can be upgraded 
to commons-csv 1.9 version.

The link to the release note is as follows:
[https://commons.apache.org/proper/commons-csv/changes-report.html]

We can see that the new version fixes some issues.

I read the code used, we use header related methods. We found that many 
header-related methods have been upgraded.

*Release 1.1 – 2014-11-16*
CSVFormat#withHeader doesn't work well with #printComment, add 
withHeaderComments(String...).
CSVFormat.EXCEL should ignore empty header names.

*Release 1.2 – 2015-08-24*
CSVFormat.with* methods clear the header comments.

*Release 1.3 – 2016-05-09*
Add shortcut method for using first record as header to CSVFormat.
Add withHeader(Class) to CSVFormat.
CSVPrinter doesn't skip creation of header record if skipHeaderRecord is set to 
true.
Add IgnoreCase option for accessing header names.

*Release 1.5 – 2017-09-03*
Fix incorrect method name 'withFirstRowAsHeader' in user guide.

*Release 1.7 – 2019-06-01*
Cannot get headers in column order from CSVRecord.

*Release 1.8 – 2020-02-01*
CSVFormat#validate() does not account for allowDuplicateHeaderNames.
A single empty header is allowed when not allowing empty column headers.

*Release 1.9.0 – 2020-07-24*
Add possibility to use ResultSet header meta data as CSV header.

> Update commons-csv from 1.0 to 1.9.0.
> -
>
> Key: HADOOP-18360
> URL: https://issues.apache.org/jira/browse/HADOOP-18360
> Project: Hadoop Common
>  Issue Type: Improvement
>  Components: common
>Affects Versions: 3.4.0
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Minor
>  Labels: pull-request-available
>
> commons-csv 1.0 is a very old jar, mvnrepository shows this jar as the 2014 
> version, I have compiled and tested locally, I think this jar can be upgraded 
> to commons-csv 1.9 version.
> The link to the release note is as follows:
> [https://commons.apache.org/proper/commons-csv/changes-report.html]
> We can see that the new version fixes some issues.
> I read the code used, we use header related methods. We found that many 
> header-related methods have been upgraded.
> *Release 1.1 – 2014-11-16*
> CSVFormat#withHeader doesn't work well with #printComment, add 
> withHeaderComments(String...).
> CSVFormat.EXCEL should ignore empty header names.
> *Release 1.2 – 2015-08-24*
> CSVFormat.with* methods clear the header comments.
> *Release 1.3 – 2016-05-09*
> Add shortcut method for using first record as header to CSVFormat.
> Add withHeader(Class) to CSVFormat.
> CSVPrinter doesn't skip creation of header record if skipHeaderRecord is set 
> to true.
> Add IgnoreCase option for accessing header names.
> *Release 1.5 – 2017-09-03*
> Fix incorrect method name 'withFirstRowAsHeader' in user guide.
> *Release 1.7 – 2019-06-01*
> Cannot get headers in column order from CSVRecord.
> *Release 1.8 – 2020-02-01*
> CSVFormat#validate() does not account for allowDuplicateHeaderNames.
> A single empty header is allowed when not allowing empty column headers.
> *Release 1.9.0 – 2020-07-24*
> Add possibility to use ResultSet header meta data as CSV header.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Created] (HADOOP-18452) Fix TestKMS#testKMSHAZooKeeperDelegationToken Failed By Hadoop-18427

2022-09-13 Thread fanshilun (Jira)
fanshilun created HADOOP-18452:
--

 Summary: Fix TestKMS#testKMSHAZooKeeperDelegationToken Failed By 
Hadoop-18427
 Key: HADOOP-18452
 URL: https://issues.apache.org/jira/browse/HADOOP-18452
 Project: Hadoop Common
  Issue Type: Bug
  Components: common
Affects Versions: 3.4.0
Reporter: fanshilun
Assignee: fanshilun


The reason for the error is that the Znode is created directly without checking 
the status of the Znode.

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Created] (HADOOP-18451) Update hsqldb.version from 2.3.4 to 2.5.2

2022-09-12 Thread fanshilun (Jira)
fanshilun created HADOOP-18451:
--

 Summary: Update hsqldb.version from 2.3.4 to 2.5.2
 Key: HADOOP-18451
 URL: https://issues.apache.org/jira/browse/HADOOP-18451
 Project: Hadoop Common
  Issue Type: Improvement
  Components: common
Affects Versions: 3.4.0
Reporter: fanshilun
Assignee: fanshilun


I plan to upgrade the version of hsqldb from 2.3.4 to 2.5.2 for the following 
reasons:

1.Current version 2.3.4 is almost ~6 years old,Upgrading to new release to keep 
up for new features and bug fixes.

2.I plan to increase the verification of the table building statement, which 
needs to use the compatibility mode of Mysql and SqlServer. 
The 2.5.2 version of hsqldb does better.

3.We are temporarily unable to upgrade hsqldb to version 2.6.0 because version 
2.6.0 depends on JDK11.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Created] (HADOOP-18427) Improve ZKDelegationTokenSecretManager#startThead With recommended methods.

2022-08-27 Thread fanshilun (Jira)
fanshilun created HADOOP-18427:
--

 Summary: Improve ZKDelegationTokenSecretManager#startThead With 
recommended methods.
 Key: HADOOP-18427
 URL: https://issues.apache.org/jira/browse/HADOOP-18427
 Project: Hadoop Common
  Issue Type: Improvement
  Components: common
Affects Versions: 3.4.0
Reporter: fanshilun
Assignee: fanshilun


When reading the code, I found a deprecated method to use. In 
ZKDelegationTokenSecretManager#startThead, the code here uses the Curator's 
EnsurePath,
But EnsurePath is deprecated, use the recommended method instead

public class EnsurePath
Deprecated.
Since 2.9.0 - Prefer 
CuratorFramework.create().creatingParentContainersIfNeeded() or 
CuratorFramework.exists().creatingParentContainersIfNeeded()



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Updated] (HADOOP-18370) Fix missing package-info in hadoop-common moudle

2022-08-10 Thread fanshilun (Jira)


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

fanshilun updated HADOOP-18370:
---
Attachment: checkStyle Error.png

> Fix missing package-info in hadoop-common moudle
> 
>
> Key: HADOOP-18370
> URL: https://issues.apache.org/jira/browse/HADOOP-18370
> Project: Hadoop Common
>  Issue Type: Improvement
>  Components: common
>Affects Versions: 3.4.0, 3.3.4
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Major
>  Labels: pull-request-available
> Attachments: checkStyle Error.png
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> When reading the code, I found that some packages are missing package-info, 
> fix this problem.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Commented] (HADOOP-18387) Fix incorrect placeholder in hadoop-common

2022-08-07 Thread fanshilun (Jira)


[ 
https://issues.apache.org/jira/browse/HADOOP-18387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17576460#comment-17576460
 ] 

fanshilun commented on HADOOP-18387:


[~ayushtkn] Thanks for your help in reviewing the code, I have understood your 
suggestion, thank you very much.

Thanks everyone!

> Fix incorrect placeholder in hadoop-common
> --
>
> Key: HADOOP-18387
> URL: https://issues.apache.org/jira/browse/HADOOP-18387
> Project: Hadoop Common
>  Issue Type: Bug
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 3.4.0
>
>  Time Spent: 2h
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Updated] (HADOOP-18361) Update commons-net from 3.6 to 3.8.0.

2022-08-03 Thread fanshilun (Jira)


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

fanshilun updated HADOOP-18361:
---
Description: 
Current version 3.6 is almost ~5 years old

Upgrading to new release to keep up for new features and bug fixes.

> Update commons-net from 3.6 to 3.8.0. 
> --
>
> Key: HADOOP-18361
> URL: https://issues.apache.org/jira/browse/HADOOP-18361
> Project: Hadoop Common
>  Issue Type: Improvement
>  Components: common
>Affects Versions: 3.4.0
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Minor
>
> Current version 3.6 is almost ~5 years old
> Upgrading to new release to keep up for new features and bug fixes.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Work started] (HADOOP-18387) Fix incorrect placeholder in hadoop-module.

2022-08-02 Thread fanshilun (Jira)


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

Work on HADOOP-18387 started by fanshilun.
--
> Fix incorrect placeholder in hadoop-module.
> ---
>
> Key: HADOOP-18387
> URL: https://issues.apache.org/jira/browse/HADOOP-18387
> Project: Hadoop Common
>  Issue Type: Bug
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 3.4.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Work started] (HADOOP-18370) Fix missing package-info in hadoop-common moudle

2022-08-02 Thread fanshilun (Jira)


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

Work on HADOOP-18370 started by fanshilun.
--
> Fix missing package-info in hadoop-common moudle
> 
>
> Key: HADOOP-18370
> URL: https://issues.apache.org/jira/browse/HADOOP-18370
> Project: Hadoop Common
>  Issue Type: Improvement
>  Components: common
>Affects Versions: 3.4.0, 3.3.4
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> When reading the code, I found that some packages are missing package-info, 
> fix this problem.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Created] (HADOOP-18387) Fix incorrect placeholder in hadoop-module.

2022-08-02 Thread fanshilun (Jira)
fanshilun created HADOOP-18387:
--

 Summary: Fix incorrect placeholder in hadoop-module.
 Key: HADOOP-18387
 URL: https://issues.apache.org/jira/browse/HADOOP-18387
 Project: Hadoop Common
  Issue Type: Bug
Reporter: fanshilun
Assignee: fanshilun
 Fix For: 3.4.0






--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Commented] (HADOOP-18358) Update commons-math3 from 3.1.1 to 3.6.1.

2022-08-01 Thread fanshilun (Jira)


[ 
https://issues.apache.org/jira/browse/HADOOP-18358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17573966#comment-17573966
 ] 

fanshilun commented on HADOOP-18358:


[~ayushtkn] Thank you very much for your help reviewing the code!

> Update commons-math3 from 3.1.1 to 3.6.1.
> -
>
> Key: HADOOP-18358
> URL: https://issues.apache.org/jira/browse/HADOOP-18358
> Project: Hadoop Common
>  Issue Type: Improvement
>  Components: common
>Affects Versions: 3.4.0
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 3.4.0
>
>  Time Spent: 50m
>  Remaining Estimate: 0h
>
> I found that commons-math3 can be upgraded from 3.1.1 to 3.6.1. Try to 
> upgrade, local compilation and verification are correct.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Created] (HADOOP-18370) Fix missing package-info in hadoop-common moudle

2022-07-27 Thread fanshilun (Jira)
fanshilun created HADOOP-18370:
--

 Summary: Fix missing package-info in hadoop-common moudle
 Key: HADOOP-18370
 URL: https://issues.apache.org/jira/browse/HADOOP-18370
 Project: Hadoop Common
  Issue Type: Improvement
  Components: common
Affects Versions: 3.4.0, 3.3.4
Reporter: fanshilun
Assignee: fanshilun


When reading the code, I found that some packages are missing package-info, fix 
this problem.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Comment Edited] (HADOOP-18277) Remove org.apache.hadoop.test#Whitebox Class

2022-07-26 Thread fanshilun (Jira)


[ 
https://issues.apache.org/jira/browse/HADOOP-18277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17571501#comment-17571501
 ] 

fanshilun edited comment on HADOOP-18277 at 7/26/22 3:25 PM:
-

Hi, [~aajisaka] Can you help me review the code? Thank you very much!

Jira: HADOOP-18302 Remove WhiteBox in hadoop-common module.

github : https://github.com/apache/hadoop/pull/4457


was (Author: slfan1989):
Hi, [~aajisaka] Can you help me review the code? Thank you very much!

Jira: HADOOP-18302 Remove WhiteBox in hadoop-common module.

> Remove org.apache.hadoop.test#Whitebox Class
> 
>
> Key: HADOOP-18277
> URL: https://issues.apache.org/jira/browse/HADOOP-18277
> Project: Hadoop Common
>  Issue Type: Improvement
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Minor
>
> org.apache.hadoop.test#Whitebox is marked as deprecated, I personally feel 
> that this is unnecessary, which leads to a large number of junit test code 
> appearing deprecated, and a large number of Warnings appear in the 
> compilation, I checked the code and think the deprecated mark is unreasonable.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Commented] (HADOOP-18277) Remove org.apache.hadoop.test#Whitebox Class

2022-07-26 Thread fanshilun (Jira)


[ 
https://issues.apache.org/jira/browse/HADOOP-18277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17571501#comment-17571501
 ] 

fanshilun commented on HADOOP-18277:


Hi, [~aajisaka] Can you help me review the code? Thank you very much!

Jira: HADOOP-18302 Remove WhiteBox in hadoop-common module.

> Remove org.apache.hadoop.test#Whitebox Class
> 
>
> Key: HADOOP-18277
> URL: https://issues.apache.org/jira/browse/HADOOP-18277
> Project: Hadoop Common
>  Issue Type: Improvement
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Minor
>
> org.apache.hadoop.test#Whitebox is marked as deprecated, I personally feel 
> that this is unnecessary, which leads to a large number of junit test code 
> appearing deprecated, and a large number of Warnings appear in the 
> compilation, I checked the code and think the deprecated mark is unreasonable.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Created] (HADOOP-18361) Update commons-net from 3.6 to 3.8.0.

2022-07-24 Thread fanshilun (Jira)
fanshilun created HADOOP-18361:
--

 Summary: Update commons-net from 3.6 to 3.8.0. 
 Key: HADOOP-18361
 URL: https://issues.apache.org/jira/browse/HADOOP-18361
 Project: Hadoop Common
  Issue Type: Improvement
  Components: common
Affects Versions: 3.4.0
Reporter: fanshilun
Assignee: fanshilun






--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Created] (HADOOP-18360) Update commons-csv from 1.0 to 1.9.0.

2022-07-24 Thread fanshilun (Jira)
fanshilun created HADOOP-18360:
--

 Summary: Update commons-csv from 1.0 to 1.9.0.
 Key: HADOOP-18360
 URL: https://issues.apache.org/jira/browse/HADOOP-18360
 Project: Hadoop Common
  Issue Type: Improvement
  Components: common
Affects Versions: 3.4.0
Reporter: fanshilun
Assignee: fanshilun






--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Work started] (HADOOP-18360) Update commons-csv from 1.0 to 1.9.0.

2022-07-24 Thread fanshilun (Jira)


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

Work on HADOOP-18360 started by fanshilun.
--
> Update commons-csv from 1.0 to 1.9.0.
> -
>
> Key: HADOOP-18360
> URL: https://issues.apache.org/jira/browse/HADOOP-18360
> Project: Hadoop Common
>  Issue Type: Improvement
>  Components: common
>Affects Versions: 3.4.0
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Minor
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Created] (HADOOP-18359) Update commons-cli from 1.2 to 1.5.0.

2022-07-24 Thread fanshilun (Jira)
fanshilun created HADOOP-18359:
--

 Summary: Update commons-cli from 1.2 to 1.5.0. 
 Key: HADOOP-18359
 URL: https://issues.apache.org/jira/browse/HADOOP-18359
 Project: Hadoop Common
  Issue Type: Improvement
  Components: common
Affects Versions: 3.4.0
Reporter: fanshilun
Assignee: fanshilun






--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Work started] (HADOOP-18359) Update commons-cli from 1.2 to 1.5.0.

2022-07-24 Thread fanshilun (Jira)


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

Work on HADOOP-18359 started by fanshilun.
--
> Update commons-cli from 1.2 to 1.5.0. 
> --
>
> Key: HADOOP-18359
> URL: https://issues.apache.org/jira/browse/HADOOP-18359
> Project: Hadoop Common
>  Issue Type: Improvement
>  Components: common
>Affects Versions: 3.4.0
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Work started] (HADOOP-18358) Update commons-math3 from 3.1.1 to 3.6.1.

2022-07-23 Thread fanshilun (Jira)


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

Work on HADOOP-18358 started by fanshilun.
--
> Update commons-math3 from 3.1.1 to 3.6.1.
> -
>
> Key: HADOOP-18358
> URL: https://issues.apache.org/jira/browse/HADOOP-18358
> Project: Hadoop Common
>  Issue Type: Improvement
>  Components: common
>Affects Versions: 3.4.0
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Minor
>
> I found that commons-math3 can be upgraded from 3.1.1 to 3.6.1. Try to 
> upgrade, local compilation and verification are correct.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Updated] (HADOOP-18358) Update commons-math3 from 3.1.1 to 3.6.1.

2022-07-23 Thread fanshilun (Jira)


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

fanshilun updated HADOOP-18358:
---
Description: I found that commons-math3 can be upgraded from 3.1.1 to 
3.6.1. Try to upgrade, local compilation and verification are correct.

> Update commons-math3 from 3.1.1 to 3.6.1.
> -
>
> Key: HADOOP-18358
> URL: https://issues.apache.org/jira/browse/HADOOP-18358
> Project: Hadoop Common
>  Issue Type: Improvement
>  Components: common
>Affects Versions: 3.4.0
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Minor
>
> I found that commons-math3 can be upgraded from 3.1.1 to 3.6.1. Try to 
> upgrade, local compilation and verification are correct.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Created] (HADOOP-18358) Update commons-math3 from 3.1.1 to 3.6.1.

2022-07-23 Thread fanshilun (Jira)
fanshilun created HADOOP-18358:
--

 Summary: Update commons-math3 from 3.1.1 to 3.6.1.
 Key: HADOOP-18358
 URL: https://issues.apache.org/jira/browse/HADOOP-18358
 Project: Hadoop Common
  Issue Type: Improvement
  Components: common
Affects Versions: 3.4.0
Reporter: fanshilun
Assignee: fanshilun






--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Resolved] (HADOOP-18356) Update jackson from 2.12.7 to 2.13.3

2022-07-23 Thread fanshilun (Jira)


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

fanshilun resolved HADOOP-18356.

Resolution: Duplicate

> Update jackson from 2.12.7 to 2.13.3
> 
>
> Key: HADOOP-18356
> URL: https://issues.apache.org/jira/browse/HADOOP-18356
> Project: Hadoop Common
>  Issue Type: Improvement
>Affects Versions: 3.4.0
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Minor
>  Labels: pull-request-available
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Update jackson from 2.12.7 to 2.13.3



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Work started] (HADOOP-18356) Update jackson from 2.12.7 to 2.13.3

2022-07-23 Thread fanshilun (Jira)


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

Work on HADOOP-18356 started by fanshilun.
--
> Update jackson from 2.12.7 to 2.13.3
> 
>
> Key: HADOOP-18356
> URL: https://issues.apache.org/jira/browse/HADOOP-18356
> Project: Hadoop Common
>  Issue Type: Improvement
>Affects Versions: 3.4.0
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Minor
>
> Update jackson from 2.12.7 to 2.13.3



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Created] (HADOOP-18356) Update jackson from 2.12.7 to 2.13.3

2022-07-23 Thread fanshilun (Jira)
fanshilun created HADOOP-18356:
--

 Summary: Update jackson from 2.12.7 to 2.13.3
 Key: HADOOP-18356
 URL: https://issues.apache.org/jira/browse/HADOOP-18356
 Project: Hadoop Common
  Issue Type: Improvement
Affects Versions: 3.4.0
Reporter: fanshilun
Assignee: fanshilun


Update jackson from 2.12.7 to 2.13.3



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Commented] (HADOOP-18277) Remove org.apache.hadoop.test#Whitebox Class

2022-07-10 Thread fanshilun (Jira)


[ 
https://issues.apache.org/jira/browse/HADOOP-18277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17564675#comment-17564675
 ] 

fanshilun commented on HADOOP-18277:


Hi, [~aajisaka] Thanks for your suggestion, I will refactor the code.

> Remove org.apache.hadoop.test#Whitebox Class
> 
>
> Key: HADOOP-18277
> URL: https://issues.apache.org/jira/browse/HADOOP-18277
> Project: Hadoop Common
>  Issue Type: Improvement
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Minor
>
> org.apache.hadoop.test#Whitebox is marked as deprecated, I personally feel 
> that this is unnecessary, which leads to a large number of junit test code 
> appearing deprecated, and a large number of Warnings appear in the 
> compilation, I checked the code and think the deprecated mark is unreasonable.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Updated] (HADOOP-18277) Remove org.apache.hadoop.test#Whitebox Class

2022-06-18 Thread fanshilun (Jira)


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

fanshilun updated HADOOP-18277:
---
Summary: Remove org.apache.hadoop.test#Whitebox Class  (was: Remove 
org.apache.hadoop.test#Whitebox Deprecated Annotation)

> Remove org.apache.hadoop.test#Whitebox Class
> 
>
> Key: HADOOP-18277
> URL: https://issues.apache.org/jira/browse/HADOOP-18277
> Project: Hadoop Common
>  Issue Type: Improvement
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Minor
>
> org.apache.hadoop.test#Whitebox is marked as deprecated, I personally feel 
> that this is unnecessary, which leads to a large number of junit test code 
> appearing deprecated, and a large number of Warnings appear in the 
> compilation, I checked the code and think the deprecated mark is unreasonable.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Updated] (HADOOP-18302) Remove WhiteBox in hadoop-common module.

2022-06-18 Thread fanshilun (Jira)


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

fanshilun updated HADOOP-18302:
---
Summary: Remove WhiteBox in hadoop-common module.  (was: Remove WhiteBox in 
hadoop-commmon module.)

> Remove WhiteBox in hadoop-common module.
> 
>
> Key: HADOOP-18302
> URL: https://issues.apache.org/jira/browse/HADOOP-18302
> Project: Hadoop Common
>  Issue Type: Sub-task
>Affects Versions: 3.4.0, 3.3.4
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Minor
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> WhiteBox is deprecated, try to remove this method in hadoop-common.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Work started] (HADOOP-18302) Remove WhiteBox in hadoop-commmon module.

2022-06-17 Thread fanshilun (Jira)


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

Work on HADOOP-18302 started by fanshilun.
--
> Remove WhiteBox in hadoop-commmon module.
> -
>
> Key: HADOOP-18302
> URL: https://issues.apache.org/jira/browse/HADOOP-18302
> Project: Hadoop Common
>  Issue Type: Sub-task
>Affects Versions: 3.4.0, 3.3.4
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Minor
>
> WhiteBox is deprecated, try to remove this method in hadoop-common.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Created] (HADOOP-18302) Remove WhiteBox in hadoop-commmon module.

2022-06-17 Thread fanshilun (Jira)
fanshilun created HADOOP-18302:
--

 Summary: Remove WhiteBox in hadoop-commmon module.
 Key: HADOOP-18302
 URL: https://issues.apache.org/jira/browse/HADOOP-18302
 Project: Hadoop Common
  Issue Type: Sub-task
Affects Versions: 3.4.0, 3.3.4
Reporter: fanshilun
Assignee: fanshilun


WhiteBox is deprecated, try to remove this method in hadoop-common.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Updated] (HADOOP-18289) Remove WhiteBox in hadoop-kms module.

2022-06-17 Thread fanshilun (Jira)


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

fanshilun updated HADOOP-18289:
---
Parent: HADOOP-18277
Issue Type: Sub-task  (was: Improvement)

> Remove WhiteBox in hadoop-kms module.
> -
>
> Key: HADOOP-18289
> URL: https://issues.apache.org/jira/browse/HADOOP-18289
> Project: Hadoop Common
>  Issue Type: Sub-task
>Affects Versions: 3.4.0
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 3.4.0
>
>  Time Spent: 2h 40m
>  Remaining Estimate: 0h
>
> WhiteBox is deprecated, try to remove this method in hadoop-kms.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Commented] (HADOOP-18277) Remove org.apache.hadoop.test#Whitebox Deprecated Annotation

2022-06-16 Thread fanshilun (Jira)


[ 
https://issues.apache.org/jira/browse/HADOOP-18277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17555349#comment-17555349
 ] 

fanshilun commented on HADOOP-18277:


[~weichiu] Thank you very much for helping to review the code, I hope to 
continue to refactor the junit test in hadoop-common, the new junit test will 
completely remove the WhiteBox.

cc:[~aajisaka] 

> Remove org.apache.hadoop.test#Whitebox Deprecated Annotation
> 
>
> Key: HADOOP-18277
> URL: https://issues.apache.org/jira/browse/HADOOP-18277
> Project: Hadoop Common
>  Issue Type: Improvement
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Minor
>
> org.apache.hadoop.test#Whitebox is marked as deprecated, I personally feel 
> that this is unnecessary, which leads to a large number of junit test code 
> appearing deprecated, and a large number of Warnings appear in the 
> compilation, I checked the code and think the deprecated mark is unreasonable.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Commented] (HADOOP-18289) Remove WhiteBox in hadoop-kms module.

2022-06-16 Thread fanshilun (Jira)


[ 
https://issues.apache.org/jira/browse/HADOOP-18289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17555341#comment-17555341
 ] 

fanshilun commented on HADOOP-18289:


[~weichiu] Thank you very much for your help reviewing the code!

> Remove WhiteBox in hadoop-kms module.
> -
>
> Key: HADOOP-18289
> URL: https://issues.apache.org/jira/browse/HADOOP-18289
> Project: Hadoop Common
>  Issue Type: Improvement
>Affects Versions: 3.4.0
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 3.4.0
>
>  Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> WhiteBox is deprecated, try to remove this method in hadoop-kms.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Updated] (HADOOP-18284) Remove Unnecessary semicolon ';'

2022-06-14 Thread fanshilun (Jira)


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

fanshilun updated HADOOP-18284:
---
Summary: Remove Unnecessary semicolon ';'   (was: Fix Repeated Semicolons)

> Remove Unnecessary semicolon ';' 
> -
>
> Key: HADOOP-18284
> URL: https://issues.apache.org/jira/browse/HADOOP-18284
> Project: Hadoop Common
>  Issue Type: Improvement
>Affects Versions: 3.4.0
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Major
>  Labels: pull-request-available
> Fix For: 3.4.0
>
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> while reading the code, I found a very tiny optimization point, part of the 
> code contains 2 semicolons at the end, I will fix it. Because this change is 
> simple, I fixed it in One JIRA.
> {code:java}
> private final ReentrantReadWriteLock lock = new ReentrantReadWriteLock();;
> {code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Work started] (HADOOP-18289) Remove WhiteBox in hadoop-kms module.

2022-06-14 Thread fanshilun (Jira)


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

Work on HADOOP-18289 started by fanshilun.
--
> Remove WhiteBox in hadoop-kms module.
> -
>
> Key: HADOOP-18289
> URL: https://issues.apache.org/jira/browse/HADOOP-18289
> Project: Hadoop Common
>  Issue Type: Improvement
>Affects Versions: 3.4.0
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Minor
>  Labels: pull-request-available
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> WhiteBox is deprecated, try to remove this method in hadoop-kms.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Comment Edited] (HADOOP-18277) Remove org.apache.hadoop.test#Whitebox Deprecated Annotation

2022-06-13 Thread fanshilun (Jira)


[ 
https://issues.apache.org/jira/browse/HADOOP-18277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17553865#comment-17553865
 ] 

fanshilun edited comment on HADOOP-18277 at 6/14/22 3:00 AM:
-

[~aajisaka] please help me review the code.

JIRA: HADOOP-18289.

Remove WhiteBox in hadoop-kms module. 
[PR-4433.|https://github.com/apache/hadoop/pull/4433]


was (Author: slfan1989):
[~aajisaka] please help me review to HADOOP-18289. Remove WhiteBox in 
hadoop-kms module. [PR-4433.|https://github.com/apache/hadoop/pull/4433]

> Remove org.apache.hadoop.test#Whitebox Deprecated Annotation
> 
>
> Key: HADOOP-18277
> URL: https://issues.apache.org/jira/browse/HADOOP-18277
> Project: Hadoop Common
>  Issue Type: Improvement
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Minor
>
> org.apache.hadoop.test#Whitebox is marked as deprecated, I personally feel 
> that this is unnecessary, which leads to a large number of junit test code 
> appearing deprecated, and a large number of Warnings appear in the 
> compilation, I checked the code and think the deprecated mark is unreasonable.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Commented] (HADOOP-18277) Remove org.apache.hadoop.test#Whitebox Deprecated Annotation

2022-06-13 Thread fanshilun (Jira)


[ 
https://issues.apache.org/jira/browse/HADOOP-18277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17553865#comment-17553865
 ] 

fanshilun commented on HADOOP-18277:


[~aajisaka] please help me review to HADOOP-18289. Remove WhiteBox in 
hadoop-kms module. [PR-4433.|https://github.com/apache/hadoop/pull/4433]

> Remove org.apache.hadoop.test#Whitebox Deprecated Annotation
> 
>
> Key: HADOOP-18277
> URL: https://issues.apache.org/jira/browse/HADOOP-18277
> Project: Hadoop Common
>  Issue Type: Improvement
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Minor
>
> org.apache.hadoop.test#Whitebox is marked as deprecated, I personally feel 
> that this is unnecessary, which leads to a large number of junit test code 
> appearing deprecated, and a large number of Warnings appear in the 
> compilation, I checked the code and think the deprecated mark is unreasonable.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Created] (HADOOP-18289) Remove WhiteBox under hadoop-kms module.

2022-06-12 Thread fanshilun (Jira)
fanshilun created HADOOP-18289:
--

 Summary: Remove WhiteBox under hadoop-kms module.
 Key: HADOOP-18289
 URL: https://issues.apache.org/jira/browse/HADOOP-18289
 Project: Hadoop Common
  Issue Type: Improvement
Affects Versions: 3.4.0
Reporter: fanshilun
Assignee: fanshilun


WhiteBox is deprecated, try to remove this method in hadoop-kms.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Updated] (HADOOP-18289) Remove WhiteBox in hadoop-kms module.

2022-06-12 Thread fanshilun (Jira)


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

fanshilun updated HADOOP-18289:
---
Summary: Remove WhiteBox in hadoop-kms module.  (was: Remove WhiteBox under 
hadoop-kms module.)

> Remove WhiteBox in hadoop-kms module.
> -
>
> Key: HADOOP-18289
> URL: https://issues.apache.org/jira/browse/HADOOP-18289
> Project: Hadoop Common
>  Issue Type: Improvement
>Affects Versions: 3.4.0
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Minor
>
> WhiteBox is deprecated, try to remove this method in hadoop-kms.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Work started] (HADOOP-18284) Fix Repeated Semicolons

2022-06-09 Thread fanshilun (Jira)


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

Work on HADOOP-18284 started by fanshilun.
--
> Fix Repeated Semicolons
> ---
>
> Key: HADOOP-18284
> URL: https://issues.apache.org/jira/browse/HADOOP-18284
> Project: Hadoop Common
>  Issue Type: Improvement
>Affects Versions: 3.4.0
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Major
>  Labels: pull-request-available
> Fix For: 3.4.0
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> while reading the code, I found a very tiny optimization point, part of the 
> code contains 2 semicolons at the end, I will fix it. Because this change is 
> simple, I fixed it in One JIRA.
> {code:java}
> private final ReentrantReadWriteLock lock = new ReentrantReadWriteLock();;
> {code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Created] (HADOOP-18284) Fix Repeated Semicolons

2022-06-09 Thread fanshilun (Jira)
fanshilun created HADOOP-18284:
--

 Summary: Fix Repeated Semicolons
 Key: HADOOP-18284
 URL: https://issues.apache.org/jira/browse/HADOOP-18284
 Project: Hadoop Common
  Issue Type: Improvement
Affects Versions: 3.4.0
Reporter: fanshilun
Assignee: fanshilun
 Fix For: 3.4.0


while reading the code, I found a very tiny optimization point, part of the 
code contains 2 semicolons at the end, I will fix it. Because this change is 
simple, I fixed it in One JIRA.

{code:java}
private final ReentrantReadWriteLock lock = new ReentrantReadWriteLock();;
{code}




--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Commented] (HADOOP-18277) Remove org.apache.hadoop.test#Whitebox Deprecated Annotation

2022-06-08 Thread fanshilun (Jira)


[ 
https://issues.apache.org/jira/browse/HADOOP-18277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17551873#comment-17551873
 ] 

fanshilun commented on HADOOP-18277:


Thanks for the suggestion, I will use AssertJ in Junit Test.

> Remove org.apache.hadoop.test#Whitebox Deprecated Annotation
> 
>
> Key: HADOOP-18277
> URL: https://issues.apache.org/jira/browse/HADOOP-18277
> Project: Hadoop Common
>  Issue Type: Improvement
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Minor
>
> org.apache.hadoop.test#Whitebox is marked as deprecated, I personally feel 
> that this is unnecessary, which leads to a large number of junit test code 
> appearing deprecated, and a large number of Warnings appear in the 
> compilation, I checked the code and think the deprecated mark is unreasonable.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Commented] (HADOOP-18277) Remove org.apache.hadoop.test#Whitebox Deprecated Annotation

2022-06-07 Thread fanshilun (Jira)


[ 
https://issues.apache.org/jira/browse/HADOOP-18277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17551343#comment-17551343
 ] 

fanshilun commented on HADOOP-18277:


Hi, [~aajisaka] I think using org.apache.commons.beanutils.BeanUtils should 
also be allowed, what's your opinion?
{code:java}
assertNotNull(Whitebox.getInternalState(random, "stream")); 

modified as follows:
assertNotNull(BeanUtils.getProperty(random, "stream"));

{code}
I have read the help document of Guice, I found that the use of Guice needs to 
add some annotations, but these annotations are only useful for Juint Test, I 
personally feel that this is not a very good usage.

> Remove org.apache.hadoop.test#Whitebox Deprecated Annotation
> 
>
> Key: HADOOP-18277
> URL: https://issues.apache.org/jira/browse/HADOOP-18277
> Project: Hadoop Common
>  Issue Type: Improvement
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Minor
>
> org.apache.hadoop.test#Whitebox is marked as deprecated, I personally feel 
> that this is unnecessary, which leads to a large number of junit test code 
> appearing deprecated, and a large number of Warnings appear in the 
> compilation, I checked the code and think the deprecated mark is unreasonable.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Comment Edited] (HADOOP-18277) Remove org.apache.hadoop.test#Whitebox Deprecated Annotation

2022-06-07 Thread fanshilun (Jira)


[ 
https://issues.apache.org/jira/browse/HADOOP-18277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17551132#comment-17551132
 ] 

fanshilun edited comment on HADOOP-18277 at 6/7/22 2:45 PM:


Thanks for the answers, I have learned the information from HADOOP-14188, I 
will try to use Guice instead of WhiteBox in some modules, I will submit a PR 
as soon as possible.


was (Author: slfan1989):
Thanks for the 2 answers, I have learned the information from HADOOP-14188, I 
will try to use Guice instead of WhiteBox in some modules, I will submit a PR 
as soon as possible.

> Remove org.apache.hadoop.test#Whitebox Deprecated Annotation
> 
>
> Key: HADOOP-18277
> URL: https://issues.apache.org/jira/browse/HADOOP-18277
> Project: Hadoop Common
>  Issue Type: Improvement
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Minor
>
> org.apache.hadoop.test#Whitebox is marked as deprecated, I personally feel 
> that this is unnecessary, which leads to a large number of junit test code 
> appearing deprecated, and a large number of Warnings appear in the 
> compilation, I checked the code and think the deprecated mark is unreasonable.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Commented] (HADOOP-18277) Remove org.apache.hadoop.test#Whitebox Deprecated Annotation

2022-06-07 Thread fanshilun (Jira)


[ 
https://issues.apache.org/jira/browse/HADOOP-18277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17551132#comment-17551132
 ] 

fanshilun commented on HADOOP-18277:


Thanks for the 2 answers, I have learned the information from HADOOP-14188, I 
will try to use Guice instead of WhiteBox in some modules, I will submit a PR 
as soon as possible.

> Remove org.apache.hadoop.test#Whitebox Deprecated Annotation
> 
>
> Key: HADOOP-18277
> URL: https://issues.apache.org/jira/browse/HADOOP-18277
> Project: Hadoop Common
>  Issue Type: Improvement
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Minor
>
> org.apache.hadoop.test#Whitebox is marked as deprecated, I personally feel 
> that this is unnecessary, which leads to a large number of junit test code 
> appearing deprecated, and a large number of Warnings appear in the 
> compilation, I checked the code and think the deprecated mark is unreasonable.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Comment Edited] (HADOOP-18277) Remove org.apache.hadoop.test#Whitebox Deprecated Annotation

2022-06-06 Thread fanshilun (Jira)


[ 
https://issues.apache.org/jira/browse/HADOOP-18277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17550793#comment-17550793
 ] 

fanshilun edited comment on HADOOP-18277 at 6/7/22 4:20 AM:


Hi,[~stev...@iseran.com],Is it possible to submit a PR for this idea of ​​mine?


was (Author: slfan1989):
Hi,[~stev...@iseran.com] ,Is it possible to submit a PR for this idea of ​​mine?

> Remove org.apache.hadoop.test#Whitebox Deprecated Annotation
> 
>
> Key: HADOOP-18277
> URL: https://issues.apache.org/jira/browse/HADOOP-18277
> Project: Hadoop Common
>  Issue Type: Improvement
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Minor
>
> org.apache.hadoop.test#Whitebox is marked as deprecated, I personally feel 
> that this is unnecessary, which leads to a large number of junit test code 
> appearing deprecated, and a large number of Warnings appear in the 
> compilation, I checked the code and think the deprecated mark is unreasonable.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Work started] (HADOOP-18277) Remove org.apache.hadoop.test#Whitebox Deprecated Annotation

2022-06-06 Thread fanshilun (Jira)


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

Work on HADOOP-18277 started by fanshilun.
--
> Remove org.apache.hadoop.test#Whitebox Deprecated Annotation
> 
>
> Key: HADOOP-18277
> URL: https://issues.apache.org/jira/browse/HADOOP-18277
> Project: Hadoop Common
>  Issue Type: Improvement
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Minor
>
> org.apache.hadoop.test#Whitebox is marked as deprecated, I personally feel 
> that this is unnecessary, which leads to a large number of junit test code 
> appearing deprecated, and a large number of Warnings appear in the 
> compilation, I checked the code and think the deprecated mark is unreasonable.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Commented] (HADOOP-18277) Remove org.apache.hadoop.test#Whitebox Deprecated Annotation

2022-06-06 Thread fanshilun (Jira)


[ 
https://issues.apache.org/jira/browse/HADOOP-18277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17550793#comment-17550793
 ] 

fanshilun commented on HADOOP-18277:


Hi,[~stev...@iseran.com] ,Is it possible to submit a PR for this idea of ​​mine?

> Remove org.apache.hadoop.test#Whitebox Deprecated Annotation
> 
>
> Key: HADOOP-18277
> URL: https://issues.apache.org/jira/browse/HADOOP-18277
> Project: Hadoop Common
>  Issue Type: Improvement
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Minor
>
> org.apache.hadoop.test#Whitebox is marked as deprecated, I personally feel 
> that this is unnecessary, which leads to a large number of junit test code 
> appearing deprecated, and a large number of Warnings appear in the 
> compilation, I checked the code and think the deprecated mark is unreasonable.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Updated] (HADOOP-18277) Remove org.apache.hadoop.test#Whitebox Deprecated Annotation

2022-06-06 Thread fanshilun (Jira)


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

fanshilun updated HADOOP-18277:
---
Summary: Remove org.apache.hadoop.test#Whitebox Deprecated Annotation  
(was: Remove org.apache.hadoop.test#Whitebox Deprecated)

> Remove org.apache.hadoop.test#Whitebox Deprecated Annotation
> 
>
> Key: HADOOP-18277
> URL: https://issues.apache.org/jira/browse/HADOOP-18277
> Project: Hadoop Common
>  Issue Type: Improvement
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Minor
>
> org.apache.hadoop.test#Whitebox is marked as deprecated, I personally feel 
> that this is unnecessary, which leads to a large number of junit test code 
> appearing deprecated, and a large number of Warnings appear in the 
> compilation, I checked the code and think the deprecated mark is unreasonable.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Updated] (HADOOP-18277) Remove org.apache.hadoop.test#Whitebox Deprecated

2022-06-06 Thread fanshilun (Jira)


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

fanshilun updated HADOOP-18277:
---
Description: org.apache.hadoop.test#Whitebox is marked as deprecated, I 
personally feel that this is unnecessary, which leads to a large number of 
junit test code appearing deprecated, and a large number of Warnings appear in 
the compilation, I checked the code and think the deprecated mark is 
unreasonable.

> Remove org.apache.hadoop.test#Whitebox Deprecated
> -
>
> Key: HADOOP-18277
> URL: https://issues.apache.org/jira/browse/HADOOP-18277
> Project: Hadoop Common
>  Issue Type: Improvement
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Minor
>
> org.apache.hadoop.test#Whitebox is marked as deprecated, I personally feel 
> that this is unnecessary, which leads to a large number of junit test code 
> appearing deprecated, and a large number of Warnings appear in the 
> compilation, I checked the code and think the deprecated mark is unreasonable.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Created] (HADOOP-18277) Remove org.apache.hadoop.test#Whitebox Deprecated

2022-06-06 Thread fanshilun (Jira)
fanshilun created HADOOP-18277:
--

 Summary: Remove org.apache.hadoop.test#Whitebox Deprecated
 Key: HADOOP-18277
 URL: https://issues.apache.org/jira/browse/HADOOP-18277
 Project: Hadoop Common
  Issue Type: Improvement
Reporter: fanshilun
Assignee: fanshilun






--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Resolved] (HADOOP-18270) impove import * In Hadoop Project

2022-06-01 Thread fanshilun (Jira)


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

fanshilun resolved HADOOP-18270.

Resolution: Not A Problem

> impove import * In Hadoop Project
> -
>
> Key: HADOOP-18270
> URL: https://issues.apache.org/jira/browse/HADOOP-18270
> Project: Hadoop Common
>  Issue Type: Improvement
>Affects Versions: 3.4.0
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Minor
>




--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Work stopped] (HADOOP-18270) impove import * In Hadoop Project

2022-06-01 Thread fanshilun (Jira)


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

Work on HADOOP-18270 stopped by fanshilun.
--
> impove import * In Hadoop Project
> -
>
> Key: HADOOP-18270
> URL: https://issues.apache.org/jira/browse/HADOOP-18270
> Project: Hadoop Common
>  Issue Type: Improvement
>Affects Versions: 3.4.0
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Minor
>




--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Commented] (HADOOP-18270) impove import * In Hadoop Project

2022-06-01 Thread fanshilun (Jira)


[ 
https://issues.apache.org/jira/browse/HADOOP-18270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17545011#comment-17545011
 ] 

fanshilun commented on HADOOP-18270:


Thanks for your suggestion, I will try to contribute more to the hadoop project 
in other places!

> impove import * In Hadoop Project
> -
>
> Key: HADOOP-18270
> URL: https://issues.apache.org/jira/browse/HADOOP-18270
> Project: Hadoop Common
>  Issue Type: Improvement
>Affects Versions: 3.4.0
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Minor
>




--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Work started] (HADOOP-18270) impove import * In Hadoop Project

2022-05-31 Thread fanshilun (Jira)


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

Work on HADOOP-18270 started by fanshilun.
--
> impove import * In Hadoop Project
> -
>
> Key: HADOOP-18270
> URL: https://issues.apache.org/jira/browse/HADOOP-18270
> Project: Hadoop Common
>  Issue Type: Improvement
>Affects Versions: 3.4.0
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Minor
>




--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Created] (HADOOP-18270) impove import * In Hadoop Project

2022-05-31 Thread fanshilun (Jira)
fanshilun created HADOOP-18270:
--

 Summary: impove import * In Hadoop Project
 Key: HADOOP-18270
 URL: https://issues.apache.org/jira/browse/HADOOP-18270
 Project: Hadoop Common
  Issue Type: Improvement
Affects Versions: 3.4.0
Reporter: fanshilun
Assignee: fanshilun






--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Updated] (HADOOP-18244) Fix Hadoop-Common JavaDoc Error on branch-3.3

2022-05-28 Thread fanshilun (Jira)


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

fanshilun updated HADOOP-18244:
---
Description: 
Fix Hadoop-Common JavaDoc Error on branch-3.3.

In the PR([#4267|https://github.com/apache/hadoop/pull/4267]) of HADOOP-18224. 
Upgrade maven compiler plugin to 3.10.1, I found that hadoop-common has a lot 
of javadoc compilation errors. I fixed it on the trunk, hoping to backport 
these changes to branch 3.3. These changes will ensure that hadoop common 
moudle javadoc will pass in JDK11 compilation.

  was:
Fix Hadoop-Common JavaDoc Error on branch-3.3.

backport HADOOP-18229 to  branch-3.3


> Fix Hadoop-Common JavaDoc Error on branch-3.3
> -
>
> Key: HADOOP-18244
> URL: https://issues.apache.org/jira/browse/HADOOP-18244
> Project: Hadoop Common
>  Issue Type: Improvement
>  Components: common
>Affects Versions: 3.3.0, 3.3.1, 3.3.2, 3.3.3
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> Fix Hadoop-Common JavaDoc Error on branch-3.3.
> In the PR([#4267|https://github.com/apache/hadoop/pull/4267]) of 
> HADOOP-18224. Upgrade maven compiler plugin to 3.10.1, I found that 
> hadoop-common has a lot of javadoc compilation errors. I fixed it on the 
> trunk, hoping to backport these changes to branch 3.3. These changes will 
> ensure that hadoop common moudle javadoc will pass in JDK11 compilation.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Updated] (HADOOP-18244) Fix Hadoop-Common JavaDoc Error on branch-3.3

2022-05-28 Thread fanshilun (Jira)


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

fanshilun updated HADOOP-18244:
---
Description: 
Fix Hadoop-Common JavaDoc Error on branch-3.3.

backport HADOOP-18229 to  branch-3.3

  was:Fix Hadoop-Common JavaDoc Error on branch-3.3.


> Fix Hadoop-Common JavaDoc Error on branch-3.3
> -
>
> Key: HADOOP-18244
> URL: https://issues.apache.org/jira/browse/HADOOP-18244
> Project: Hadoop Common
>  Issue Type: Improvement
>  Components: common
>Affects Versions: 3.3.0, 3.3.1, 3.3.2, 3.3.3
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> Fix Hadoop-Common JavaDoc Error on branch-3.3.
> backport HADOOP-18229 to  branch-3.3



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Work started] (HADOOP-18244) Fix Hadoop-Common JavaDoc Error on branch-3.3

2022-05-28 Thread fanshilun (Jira)


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

Work on HADOOP-18244 started by fanshilun.
--
> Fix Hadoop-Common JavaDoc Error on branch-3.3
> -
>
> Key: HADOOP-18244
> URL: https://issues.apache.org/jira/browse/HADOOP-18244
> Project: Hadoop Common
>  Issue Type: Improvement
>  Components: common
>Affects Versions: 3.3.0, 3.3.1, 3.3.2, 3.3.3
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> Fix Hadoop-Common JavaDoc Error on branch-3.3.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Commented] (HADOOP-18249) Fix getUri() in HttpRequest has been deprecated

2022-05-24 Thread fanshilun (Jira)


[ 
https://issues.apache.org/jira/browse/HADOOP-18249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17541702#comment-17541702
 ] 

fanshilun commented on HADOOP-18249:


Hi, [~hemanthboyina] ,Thanks you very much!

> Fix getUri() in HttpRequest has been deprecated
> ---
>
> Key: HADOOP-18249
> URL: https://issues.apache.org/jira/browse/HADOOP-18249
> Project: Hadoop Common
>  Issue Type: Improvement
>Affects Versions: 3.4.0
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Major
>  Labels: pull-request-available
> Fix For: 3.4.0
>
> Attachments: getUri() deprecated -1.png
>
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> When reading the code, I found that the method used has been deprecated due 
> to the upgrade of the netty component. The main methods are as follows:
> io.netty.handler.codec.http#HttpRequest
> @Deprecated
> HttpMethod getMethod();
> Deprecated. Use method() instead.
> @Deprecated
> String getUri()
> Deprecated. Use uri() instead.
> io.netty.handler.codec.http#DefaultHttpResponse
> @Deprecated
> public HttpResponseStatus getStatus()
> {         return this.status(); }
> Deprecated. Use status()  instead.
>  
> WebHdfsHandler.java:125:35:[deprecation] getUri() in HttpRequest has been 
> deprecated
> HostRestrictingAuthorizationFilterHandler.java:200:27:[deprecation] getUri() 
> in HttpRequest has been deprecated



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Resolved] (HADOOP-18248) Fix Junit Test Deprecated assertThat

2022-05-23 Thread fanshilun (Jira)


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

fanshilun resolved HADOOP-18248.

Resolution: Duplicate

> Fix Junit Test Deprecated assertThat
> 
>
> Key: HADOOP-18248
> URL: https://issues.apache.org/jira/browse/HADOOP-18248
> Project: Hadoop Common
>  Issue Type: Improvement
>Affects Versions: 3.4.0
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Major
>  Labels: pull-request-available
> Fix For: 3.4.0
>
>  Time Spent: 3h 20m
>  Remaining Estimate: 0h
>
> javac will give a warning for compilation, as follows:
> org.junit.Assert.assertThat Deprecated. use 
> org.hamcrest.MatcherAssert.assertThat()
> {code:java}
> TestIncrementalBrVariations.java:141:4:[deprecation] 
> assertThat(T,Matcher) in Assert has been deprecated {code}
> a related issue will be resolved in HDFS-16590.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Updated] (HADOOP-18248) Fix Junit Test Deprecated assertThat

2022-05-23 Thread fanshilun (Jira)


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

fanshilun updated HADOOP-18248:
---
Description: 
javac will give a warning for compilation, as follows:

org.junit.Assert.assertThat Deprecated. use 
org.hamcrest.MatcherAssert.assertThat()
{code:java}
TestIncrementalBrVariations.java:141:4:[deprecation] assertThat(T,Matcher) in Assert has been deprecated {code}
a related issue will be resolved in HDFS-16590.

  was:
javac will give a warning for compilation, as follows:

org.junit.Assert.assertThat Deprecated. use 
org.hamcrest.MatcherAssert.assertThat()
{code:java}
TestIncrementalBrVariations.java:141:4:[deprecation] assertThat(T,Matcher) in Assert has been deprecated {code}
 


> Fix Junit Test Deprecated assertThat
> 
>
> Key: HADOOP-18248
> URL: https://issues.apache.org/jira/browse/HADOOP-18248
> Project: Hadoop Common
>  Issue Type: Improvement
>Affects Versions: 3.4.0
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Major
>  Labels: pull-request-available
> Fix For: 3.4.0
>
>  Time Spent: 3h 20m
>  Remaining Estimate: 0h
>
> javac will give a warning for compilation, as follows:
> org.junit.Assert.assertThat Deprecated. use 
> org.hamcrest.MatcherAssert.assertThat()
> {code:java}
> TestIncrementalBrVariations.java:141:4:[deprecation] 
> assertThat(T,Matcher) in Assert has been deprecated {code}
> a related issue will be resolved in HDFS-16590.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Updated] (HADOOP-18249) Fix getUri() in HttpRequest has been deprecated

2022-05-23 Thread fanshilun (Jira)


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

fanshilun updated HADOOP-18249:
---
Description: 
When reading the code, I found that the method used has been deprecated due to 
the upgrade of the netty component. The main methods are as follows:

io.netty.handler.codec.http#HttpRequest

@Deprecated
HttpMethod getMethod();
Deprecated. Use method() instead.

@Deprecated
String getUri()
Deprecated. Use uri() instead.
io.netty.handler.codec.http#DefaultHttpResponse

@Deprecated
public HttpResponseStatus getStatus()

{         return this.status(); }

Deprecated. Use status()  instead.

 

WebHdfsHandler.java:125:35:[deprecation] getUri() in HttpRequest has been 
deprecated

HostRestrictingAuthorizationFilterHandler.java:200:27:[deprecation] getUri() in 
HttpRequest has been deprecated

  was:
When reading the code, I found that the method used has been deprecated due to 
the upgrade of the netty component. The main methods are as follows:

io.netty.handler.codec.http#HttpRequest

@Deprecated
HttpMethod getMethod();
Deprecated. Use method() instead.

@Deprecated
String getUri()
Deprecated. Use uri() instead.
io.netty.handler.codec.http#DefaultHttpResponse

@Deprecated
public HttpResponseStatus getStatus() {
        return this.status();
}
Deprecated. Use status()  instead.

 

WebHdfsHandler.java:125:35:[deprecation] getUri() in HttpRequest has been 
deprecated

HostRestrictingAuthorizationFilterHandler.java:200:27:[deprecation] getUri() in 
HttpRequest has been deprecated


> Fix getUri() in HttpRequest has been deprecated
> ---
>
> Key: HADOOP-18249
> URL: https://issues.apache.org/jira/browse/HADOOP-18249
> Project: Hadoop Common
>  Issue Type: Improvement
>Affects Versions: 3.4.0
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Major
>  Labels: pull-request-available
> Fix For: 3.4.0
>
> Attachments: getUri() deprecated -1.png
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> When reading the code, I found that the method used has been deprecated due 
> to the upgrade of the netty component. The main methods are as follows:
> io.netty.handler.codec.http#HttpRequest
> @Deprecated
> HttpMethod getMethod();
> Deprecated. Use method() instead.
> @Deprecated
> String getUri()
> Deprecated. Use uri() instead.
> io.netty.handler.codec.http#DefaultHttpResponse
> @Deprecated
> public HttpResponseStatus getStatus()
> {         return this.status(); }
> Deprecated. Use status()  instead.
>  
> WebHdfsHandler.java:125:35:[deprecation] getUri() in HttpRequest has been 
> deprecated
> HostRestrictingAuthorizationFilterHandler.java:200:27:[deprecation] getUri() 
> in HttpRequest has been deprecated



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Updated] (HADOOP-18249) Fix getUri() in HttpRequest has been deprecated

2022-05-23 Thread fanshilun (Jira)


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

fanshilun updated HADOOP-18249:
---
Description: 
When reading the code, I found that the method used has been deprecated due to 
the upgrade of the netty component. The main methods are as follows:

io.netty.handler.codec.http#HttpRequest

@Deprecated
HttpMethod getMethod();
Deprecated. Use method() instead.

@Deprecated
String getUri()
Deprecated. Use uri() instead.
io.netty.handler.codec.http#DefaultHttpResponse

@Deprecated
public HttpResponseStatus getStatus() {
        return this.status();
}
Deprecated. Use status()  instead.

 

WebHdfsHandler.java:125:35:[deprecation] getUri() in HttpRequest has been 
deprecated

HostRestrictingAuthorizationFilterHandler.java:200:27:[deprecation] getUri() in 
HttpRequest has been deprecated

  was:
WebHdfsHandler.java:125:35:[deprecation] getUri() in HttpRequest has been 
deprecated

HostRestrictingAuthorizationFilterHandler.java:200:27:[deprecation] getUri() in 
HttpRequest has been deprecated


> Fix getUri() in HttpRequest has been deprecated
> ---
>
> Key: HADOOP-18249
> URL: https://issues.apache.org/jira/browse/HADOOP-18249
> Project: Hadoop Common
>  Issue Type: Improvement
>Affects Versions: 3.4.0
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Major
>  Labels: pull-request-available
> Fix For: 3.4.0
>
> Attachments: getUri() deprecated -1.png
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> When reading the code, I found that the method used has been deprecated due 
> to the upgrade of the netty component. The main methods are as follows:
> io.netty.handler.codec.http#HttpRequest
> @Deprecated
> HttpMethod getMethod();
> Deprecated. Use method() instead.
> @Deprecated
> String getUri()
> Deprecated. Use uri() instead.
> io.netty.handler.codec.http#DefaultHttpResponse
> @Deprecated
> public HttpResponseStatus getStatus() {
>         return this.status();
> }
> Deprecated. Use status()  instead.
>  
> WebHdfsHandler.java:125:35:[deprecation] getUri() in HttpRequest has been 
> deprecated
> HostRestrictingAuthorizationFilterHandler.java:200:27:[deprecation] getUri() 
> in HttpRequest has been deprecated



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Created] (HADOOP-18250) Fix newInstance() in Class has been deprecated

2022-05-20 Thread fanshilun (Jira)
fanshilun created HADOOP-18250:
--

 Summary: Fix newInstance() in Class has been deprecated
 Key: HADOOP-18250
 URL: https://issues.apache.org/jira/browse/HADOOP-18250
 Project: Hadoop Common
  Issue Type: Improvement
Reporter: fanshilun
Assignee: fanshilun






--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Updated] (HADOOP-18249) Fix getUri() in HttpRequest has been deprecated

2022-05-19 Thread fanshilun (Jira)


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

fanshilun updated HADOOP-18249:
---
Attachment: getUri() deprecated -1.png

> Fix getUri() in HttpRequest has been deprecated
> ---
>
> Key: HADOOP-18249
> URL: https://issues.apache.org/jira/browse/HADOOP-18249
> Project: Hadoop Common
>  Issue Type: Improvement
>Affects Versions: 3.4.0
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Major
> Fix For: 3.4.0
>
> Attachments: getUri() deprecated -1.png
>
>
> WebHdfsHandler.java:125:35:[deprecation] getUri() in HttpRequest has been 
> deprecated
> HostRestrictingAuthorizationFilterHandler.java:200:27:[deprecation] getUri() 
> in HttpRequest has been deprecated



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Updated] (HADOOP-18249) Fix getUri() in HttpRequest has been deprecated

2022-05-19 Thread fanshilun (Jira)


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

fanshilun updated HADOOP-18249:
---
Description: 
WebHdfsHandler.java:125:35:[deprecation] getUri() in HttpRequest has been 
deprecated

HostRestrictingAuthorizationFilterHandler.java:200:27:[deprecation] getUri() in 
HttpRequest has been deprecated

> Fix getUri() in HttpRequest has been deprecated
> ---
>
> Key: HADOOP-18249
> URL: https://issues.apache.org/jira/browse/HADOOP-18249
> Project: Hadoop Common
>  Issue Type: Improvement
>Affects Versions: 3.4.0
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Major
> Fix For: 3.4.0
>
>
> WebHdfsHandler.java:125:35:[deprecation] getUri() in HttpRequest has been 
> deprecated
> HostRestrictingAuthorizationFilterHandler.java:200:27:[deprecation] getUri() 
> in HttpRequest has been deprecated



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Created] (HADOOP-18249) Fix getUri() in HttpRequest has been deprecated

2022-05-19 Thread fanshilun (Jira)
fanshilun created HADOOP-18249:
--

 Summary: Fix getUri() in HttpRequest has been deprecated
 Key: HADOOP-18249
 URL: https://issues.apache.org/jira/browse/HADOOP-18249
 Project: Hadoop Common
  Issue Type: Improvement
Affects Versions: 3.4.0
Reporter: fanshilun
Assignee: fanshilun
 Fix For: 3.4.0






--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Updated] (HADOOP-18248) Fix Junit Test Deprecated assertThat

2022-05-19 Thread fanshilun (Jira)


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

fanshilun updated HADOOP-18248:
---
Description: 
javac will give a warning for compilation, as follows:

org.junit.Assert.assertThat Deprecated. use 
org.hamcrest.MatcherAssert.assertThat()
{code:java}
TestIncrementalBrVariations.java:141:4:[deprecation] assertThat(T,Matcher) in Assert has been deprecated {code}
 

{{{}{}}}{_}{{}}{_}

  was:
javac will give a warning for compilation, as follows:
{code:java}
TestIncrementalBrVariations.java:141:4:[deprecation] assertThat(T,Matcher) in Assert has been deprecated {code}
 


> Fix Junit Test Deprecated assertThat
> 
>
> Key: HADOOP-18248
> URL: https://issues.apache.org/jira/browse/HADOOP-18248
> Project: Hadoop Common
>  Issue Type: Improvement
>Affects Versions: 3.4.0
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Major
> Fix For: 3.4.0
>
>
> javac will give a warning for compilation, as follows:
> org.junit.Assert.assertThat Deprecated. use 
> org.hamcrest.MatcherAssert.assertThat()
> {code:java}
> TestIncrementalBrVariations.java:141:4:[deprecation] 
> assertThat(T,Matcher) in Assert has been deprecated {code}
>  
> {{{}{}}}{_}{{}}{_}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Updated] (HADOOP-18248) Fix Junit Test Deprecated assertThat

2022-05-19 Thread fanshilun (Jira)


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

fanshilun updated HADOOP-18248:
---
Description: 
javac will give a warning for compilation, as follows:

org.junit.Assert.assertThat Deprecated. use 
org.hamcrest.MatcherAssert.assertThat()
{code:java}
TestIncrementalBrVariations.java:141:4:[deprecation] assertThat(T,Matcher) in Assert has been deprecated {code}
 

  was:
javac will give a warning for compilation, as follows:

org.junit.Assert.assertThat Deprecated. use 
org.hamcrest.MatcherAssert.assertThat()
{code:java}
TestIncrementalBrVariations.java:141:4:[deprecation] assertThat(T,Matcher) in Assert has been deprecated {code}
 

{{{}{}}}{_}{{}}{_}


> Fix Junit Test Deprecated assertThat
> 
>
> Key: HADOOP-18248
> URL: https://issues.apache.org/jira/browse/HADOOP-18248
> Project: Hadoop Common
>  Issue Type: Improvement
>Affects Versions: 3.4.0
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Major
> Fix For: 3.4.0
>
>
> javac will give a warning for compilation, as follows:
> org.junit.Assert.assertThat Deprecated. use 
> org.hamcrest.MatcherAssert.assertThat()
> {code:java}
> TestIncrementalBrVariations.java:141:4:[deprecation] 
> assertThat(T,Matcher) in Assert has been deprecated {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Updated] (HADOOP-18248) Fix Junit Test Deprecated assertThat

2022-05-19 Thread fanshilun (Jira)


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

fanshilun updated HADOOP-18248:
---
Description: 
javac will give a warning for compilation, as follows:
{code:java}
TestIncrementalBrVariations.java:141:4:[deprecation] assertThat(T,Matcher) in Assert has been deprecated {code}
 

  was:
javac will give a warning for compilation, as follows:

```
TestIncrementalBrVariations.java:141:4:[deprecation] assertThat(T,Matcher) in Assert has been deprecated

```

 


> Fix Junit Test Deprecated assertThat
> 
>
> Key: HADOOP-18248
> URL: https://issues.apache.org/jira/browse/HADOOP-18248
> Project: Hadoop Common
>  Issue Type: Improvement
>Affects Versions: 3.4.0
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Major
> Fix For: 3.4.0
>
>
> javac will give a warning for compilation, as follows:
> {code:java}
> TestIncrementalBrVariations.java:141:4:[deprecation] 
> assertThat(T,Matcher) in Assert has been deprecated {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Updated] (HADOOP-18248) Fix Junit Test Deprecated assertThat

2022-05-19 Thread fanshilun (Jira)


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

fanshilun updated HADOOP-18248:
---
Description: 
javac will give a warning for compilation, as follows:

```
TestIncrementalBrVariations.java:141:4:[deprecation] assertThat(T,Matcher) in Assert has been deprecated

```

 

> Fix Junit Test Deprecated assertThat
> 
>
> Key: HADOOP-18248
> URL: https://issues.apache.org/jira/browse/HADOOP-18248
> Project: Hadoop Common
>  Issue Type: Improvement
>Affects Versions: 3.4.0
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Major
> Fix For: 3.4.0
>
>
> javac will give a warning for compilation, as follows:
> ```
> TestIncrementalBrVariations.java:141:4:[deprecation] 
> assertThat(T,Matcher) in Assert has been deprecated
> ```
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Created] (HADOOP-18248) Fix Junit Test Deprecated assertThat

2022-05-19 Thread fanshilun (Jira)
fanshilun created HADOOP-18248:
--

 Summary: Fix Junit Test Deprecated assertThat
 Key: HADOOP-18248
 URL: https://issues.apache.org/jira/browse/HADOOP-18248
 Project: Hadoop Common
  Issue Type: Improvement
Affects Versions: 3.4.0
Reporter: fanshilun
Assignee: fanshilun
 Fix For: 3.4.0






--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Assigned] (HADOOP-18244) Fix Hadoop-Common JavaDoc Error on branch-3.3

2022-05-18 Thread fanshilun (Jira)


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

fanshilun reassigned HADOOP-18244:
--

Assignee: fanshilun

> Fix Hadoop-Common JavaDoc Error on branch-3.3
> -
>
> Key: HADOOP-18244
> URL: https://issues.apache.org/jira/browse/HADOOP-18244
> Project: Hadoop Common
>  Issue Type: Improvement
>  Components: common
>Affects Versions: 3.3.0, 3.3.1, 3.3.2, 3.3.3
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Major
>
> Fix Hadoop-Common JavaDoc Error on branch-3.3.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Created] (HADOOP-18244) Fix Hadoop-Common JavaDoc Error on branch-3.3

2022-05-18 Thread fanshilun (Jira)
fanshilun created HADOOP-18244:
--

 Summary: Fix Hadoop-Common JavaDoc Error on branch-3.3
 Key: HADOOP-18244
 URL: https://issues.apache.org/jira/browse/HADOOP-18244
 Project: Hadoop Common
  Issue Type: Improvement
  Components: common
Affects Versions: 3.3.3, 3.3.2, 3.3.1, 3.3.0
Reporter: fanshilun


Fix Hadoop-Common JavaDoc Error on branch-3.3.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Comment Edited] (HADOOP-18229) Fix Hadoop Common Java Doc Errors

2022-05-18 Thread fanshilun (Jira)


[ 
https://issues.apache.org/jira/browse/HADOOP-18229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17538761#comment-17538761
 ] 

fanshilun edited comment on HADOOP-18229 at 5/18/22 11:34 AM:
--

Hi, [~ste...@apache.org] , I will finish the job, I will fix it on branch 3.3.


was (Author: slfan1989):
Hi, [~ste...@apache.org] , I will finish the job.

> Fix Hadoop Common Java Doc Errors
> -
>
> Key: HADOOP-18229
> URL: https://issues.apache.org/jira/browse/HADOOP-18229
> Project: Hadoop Common
>  Issue Type: Sub-task
>  Components: build, common
>Affects Versions: 3.4.0
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Major
>  Labels: pull-request-available
> Fix For: 3.4.0
>
>  Time Spent: 13h
>  Remaining Estimate: 0h
>
> I found that when hadoop-multibranch compiled PR-4266, some errors would pop 
> up, I tried to solve it
> The wrong compilation information is as follows, I try to fix the Error 
> information
> {code:java}
> [ERROR] 
> /home/jenkins/jenkins-agent/workspace/hadoop-multibranch_PR-4266/ubuntu-focal/src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/InodeTree.java:432:
>  error: exception not thrown: java.io.IOException
> [ERROR]* @throws IOException
> [ERROR]  ^
> [ERROR] 
> /home/jenkins/jenkins-agent/workspace/hadoop-multibranch_PR-4266/ubuntu-focal/src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/InodeTree.java:885:
>  error: unknown tag: username
> [ERROR]*  E.g. link: ^/user/(?\\w+) => 
> s3://$user.apache.com/_${user}
> [ERROR]   ^
> [ERROR] 
> /home/jenkins/jenkins-agent/workspace/hadoop-multibranch_PR-4266/ubuntu-focal/src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/InodeTree.java:885:
>  error: bad use of '>'
> [ERROR]*  E.g. link: ^/user/(?\\w+) => 
> s3://$user.apache.com/_${user}
> [ERROR]^
> [ERROR] 
> /home/jenkins/jenkins-agent/workspace/hadoop-multibranch_PR-4266/ubuntu-focal/src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/InodeTree.java:910:
>  error: unknown tag: username
> [ERROR]* 
> .linkRegex.replaceresolveddstpath:_:-#.^/user/(?\w+)
> {code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Commented] (HADOOP-18229) Fix Hadoop Common Java Doc Errors

2022-05-18 Thread fanshilun (Jira)


[ 
https://issues.apache.org/jira/browse/HADOOP-18229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17538761#comment-17538761
 ] 

fanshilun commented on HADOOP-18229:


Hi, [~ste...@apache.org] , I will finish the job.

> Fix Hadoop Common Java Doc Errors
> -
>
> Key: HADOOP-18229
> URL: https://issues.apache.org/jira/browse/HADOOP-18229
> Project: Hadoop Common
>  Issue Type: Sub-task
>  Components: build, common
>Affects Versions: 3.4.0
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Major
>  Labels: pull-request-available
> Fix For: 3.4.0
>
>  Time Spent: 13h
>  Remaining Estimate: 0h
>
> I found that when hadoop-multibranch compiled PR-4266, some errors would pop 
> up, I tried to solve it
> The wrong compilation information is as follows, I try to fix the Error 
> information
> {code:java}
> [ERROR] 
> /home/jenkins/jenkins-agent/workspace/hadoop-multibranch_PR-4266/ubuntu-focal/src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/InodeTree.java:432:
>  error: exception not thrown: java.io.IOException
> [ERROR]* @throws IOException
> [ERROR]  ^
> [ERROR] 
> /home/jenkins/jenkins-agent/workspace/hadoop-multibranch_PR-4266/ubuntu-focal/src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/InodeTree.java:885:
>  error: unknown tag: username
> [ERROR]*  E.g. link: ^/user/(?\\w+) => 
> s3://$user.apache.com/_${user}
> [ERROR]   ^
> [ERROR] 
> /home/jenkins/jenkins-agent/workspace/hadoop-multibranch_PR-4266/ubuntu-focal/src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/InodeTree.java:885:
>  error: bad use of '>'
> [ERROR]*  E.g. link: ^/user/(?\\w+) => 
> s3://$user.apache.com/_${user}
> [ERROR]^
> [ERROR] 
> /home/jenkins/jenkins-agent/workspace/hadoop-multibranch_PR-4266/ubuntu-focal/src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/InodeTree.java:910:
>  error: unknown tag: username
> [ERROR]* 
> .linkRegex.replaceresolveddstpath:_:-#.^/user/(?\w+)
> {code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Commented] (HADOOP-18167) Add metrics to track delegation token secret manager operations

2022-05-11 Thread fanshilun (Jira)


[ 
https://issues.apache.org/jira/browse/HADOOP-18167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17534714#comment-17534714
 ] 

fanshilun commented on HADOOP-18167:


Hi,[~hchaverri],HADOOP-18222 has been merged, you can change the status of this 
JIRA,Thanks for your contribution

> Add metrics to track delegation token secret manager operations
> ---
>
> Key: HADOOP-18167
> URL: https://issues.apache.org/jira/browse/HADOOP-18167
> Project: Hadoop Common
>  Issue Type: Improvement
>Reporter: Hector Sandoval Chaverri
>Priority: Major
>  Labels: pull-request-available
> Attachments: HADOOP-18167-branch-2.10-2.patch, 
> HADOOP-18167-branch-2.10-3.patch, HADOOP-18167-branch-2.10-4.patch, 
> HADOOP-18167-branch-2.10.patch, HADOOP-18167-branch-3.3.patch
>
>  Time Spent: 6h 10m
>  Remaining Estimate: 0h
>
> New metrics to track operations that store, update and remove delegation 
> tokens in implementations of AbstractDelegationTokenSecretManager. This will 
> help evaluate the impact of using different secret managers and add 
> optimizations.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Commented] (HADOOP-18229) Fix Hadoop Common Java Doc Error

2022-05-09 Thread fanshilun (Jira)


[ 
https://issues.apache.org/jira/browse/HADOOP-18229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17533778#comment-17533778
 ] 

fanshilun commented on HADOOP-18229:


FIx   not end

[ERROR] 
/home/jenkins/jenkins-agent/workspace/hadoop-multibranch_PR-4266/ubuntu-focal/src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/GenericOptionsParser.java:61:
 warning: empty  tag
[ERROR]  * 
[ERROR]^
[ERROR] 
/home/jenkins/jenkins-agent/workspace/hadoop-multibranch_PR-4266/ubuntu-focal/src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/GenericOptionsParser.java:73:
 warning: empty  tag
[ERROR]  * 
[ERROR]   ^
[ERROR] 
/home/jenkins/jenkins-agent/workspace/hadoop-multibranch_PR-4266/ubuntu-focal/src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/GenericOptionsParser.java:76:
 warning: empty  tag
[ERROR]  * 
[ERROR]^
[ERROR] 
/home/jenkins/jenkins-agent/workspace/hadoop-multibranch_PR-4266/ubuntu-focal/src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/GenericOptionsParser.java:78:
 warning: empty  tag
[ERROR]  * 
[ERROR] ^
[ERROR] 
/home/jenkins/jenkins-agent/workspace/hadoop-multibranch_PR-4266/ubuntu-focal/src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/GenericOptionsParser.java:86:
 warning: empty  tag
[ERROR]  * 
[ERROR]^
[ERROR] 
/home/jenkins/jenkins-agent/workspace/hadoop-multibranch_PR-4266/ubuntu-focal/src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/GenericOptionsParser.java:108:
 warning: empty  tag
[ERROR]  * 

> Fix Hadoop Common Java Doc Error
> 
>
> Key: HADOOP-18229
> URL: https://issues.apache.org/jira/browse/HADOOP-18229
> Project: Hadoop Common
>  Issue Type: Sub-task
>Reporter: fanshilun
>Assignee: fanshilun
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> I found that when hadoop-multibranch compiled PR-4266, some errors would pop 
> up, I tried to solve it
> The wrong compilation information is as follows, I try to fix the Error 
> information
> [ERROR] 
> /home/jenkins/jenkins-agent/workspace/hadoop-multibranch_PR-4266/ubuntu-focal/src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/InodeTree.java:432:
>  error: exception not thrown: java.io.IOException
> [ERROR]* @throws IOException
> [ERROR]  ^
> [ERROR] 
> /home/jenkins/jenkins-agent/workspace/hadoop-multibranch_PR-4266/ubuntu-focal/src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/InodeTree.java:885:
>  error: unknown tag: username
> [ERROR]*  E.g. link: ^/user/(?\\w+) => 
> s3://$user.apache.com/_${user}
> [ERROR]   ^
> [ERROR] 
> /home/jenkins/jenkins-agent/workspace/hadoop-multibranch_PR-4266/ubuntu-focal/src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/InodeTree.java:885:
>  error: bad use of '>'
> [ERROR]*  E.g. link: ^/user/(?\\w+) => 
> s3://$user.apache.com/_${user}
> [ERROR]^
> [ERROR] 
> /home/jenkins/jenkins-agent/workspace/hadoop-multibranch_PR-4266/ubuntu-focal/src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/InodeTree.java:910:
>  error: unknown tag: username
> [ERROR]* 
> .linkRegex.replaceresolveddstpath:_:-#.^/user/(?\w+)



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Updated] (HADOOP-18229) Fix Hadoop Common Java Doc Error

2022-05-09 Thread fanshilun (Jira)


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

fanshilun updated HADOOP-18229:
---
Description: 
I found that when hadoop-multibranch compiled PR-4266, some errors would pop 
up, I tried to solve it

The wrong compilation information is as follows, I try to fix the Error 
information

[ERROR] 
/home/jenkins/jenkins-agent/workspace/hadoop-multibranch_PR-4266/ubuntu-focal/src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/InodeTree.java:432:
 error: exception not thrown: java.io.IOException
[ERROR]* @throws IOException
[ERROR]  ^
[ERROR] 
/home/jenkins/jenkins-agent/workspace/hadoop-multibranch_PR-4266/ubuntu-focal/src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/InodeTree.java:885:
 error: unknown tag: username
[ERROR]*  E.g. link: ^/user/(?\\w+) => 
s3://$user.apache.com/_${user}
[ERROR]   ^
[ERROR] 
/home/jenkins/jenkins-agent/workspace/hadoop-multibranch_PR-4266/ubuntu-focal/src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/InodeTree.java:885:
 error: bad use of '>'
[ERROR]*  E.g. link: ^/user/(?\\w+) => 
s3://$user.apache.com/_${user}
[ERROR]^
[ERROR] 
/home/jenkins/jenkins-agent/workspace/hadoop-multibranch_PR-4266/ubuntu-focal/src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/InodeTree.java:910:
 error: unknown tag: username
[ERROR]* .linkRegex.replaceresolveddstpath:_:-#.^/user/(?\w+)

  was:I found that when hadoop-multibranch compiled PR-4266, some errors would 
pop up, I tried to solve it


> Fix Hadoop Common Java Doc Error
> 
>
> Key: HADOOP-18229
> URL: https://issues.apache.org/jira/browse/HADOOP-18229
> Project: Hadoop Common
>  Issue Type: Sub-task
>Reporter: fanshilun
>Priority: Major
>
> I found that when hadoop-multibranch compiled PR-4266, some errors would pop 
> up, I tried to solve it
> The wrong compilation information is as follows, I try to fix the Error 
> information
> [ERROR] 
> /home/jenkins/jenkins-agent/workspace/hadoop-multibranch_PR-4266/ubuntu-focal/src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/InodeTree.java:432:
>  error: exception not thrown: java.io.IOException
> [ERROR]* @throws IOException
> [ERROR]  ^
> [ERROR] 
> /home/jenkins/jenkins-agent/workspace/hadoop-multibranch_PR-4266/ubuntu-focal/src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/InodeTree.java:885:
>  error: unknown tag: username
> [ERROR]*  E.g. link: ^/user/(?\\w+) => 
> s3://$user.apache.com/_${user}
> [ERROR]   ^
> [ERROR] 
> /home/jenkins/jenkins-agent/workspace/hadoop-multibranch_PR-4266/ubuntu-focal/src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/InodeTree.java:885:
>  error: bad use of '>'
> [ERROR]*  E.g. link: ^/user/(?\\w+) => 
> s3://$user.apache.com/_${user}
> [ERROR]^
> [ERROR] 
> /home/jenkins/jenkins-agent/workspace/hadoop-multibranch_PR-4266/ubuntu-focal/src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/InodeTree.java:910:
>  error: unknown tag: username
> [ERROR]* 
> .linkRegex.replaceresolveddstpath:_:-#.^/user/(?\w+)



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Updated] (HADOOP-18229) Fix Hadoop Common Java Doc Error

2022-05-09 Thread fanshilun (Jira)


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

fanshilun updated HADOOP-18229:
---
Description: I found that when hadoop-multibranch compiled PR-4266, some 
errors would pop up, I tried to solve it

> Fix Hadoop Common Java Doc Error
> 
>
> Key: HADOOP-18229
> URL: https://issues.apache.org/jira/browse/HADOOP-18229
> Project: Hadoop Common
>  Issue Type: Sub-task
>Reporter: fanshilun
>Priority: Major
>
> I found that when hadoop-multibranch compiled PR-4266, some errors would pop 
> up, I tried to solve it



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Created] (HADOOP-18229) Fix Hadoop Common Java Doc Error

2022-05-09 Thread fanshilun (Jira)
fanshilun created HADOOP-18229:
--

 Summary: Fix Hadoop Common Java Doc Error
 Key: HADOOP-18229
 URL: https://issues.apache.org/jira/browse/HADOOP-18229
 Project: Hadoop Common
  Issue Type: Sub-task
Reporter: fanshilun






--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org