[
https://issues.apache.org/jira/browse/HDFS-11824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yiqun Lin updated HDFS-11824:
-----------------------------
Status: Patch Available (was: Open)
Attach the initial patch.
One note:
Method {{DefaultHttpClient#removeRequestInterceptorByClass}} hasn't existed in
new APIs. The fixed way I did is to remove the following lines since I found
the Content-Length info has already in put request.
> Ozone: Fix javac warnings
> -------------------------
>
> Key: HDFS-11824
> URL: https://issues.apache.org/jira/browse/HDFS-11824
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: ozone
> Affects Versions: HDFS-7240
> Reporter: Yiqun Lin
> Assignee: Yiqun Lin
> Attachments: HDFS-11824-HDFS-7240.001.patch
>
>
> Found many javac warnings generated from ozone sources codes. Totally two
> types warings:
> {noformat}
> [WARNING]
> /testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/ozone/web/client/OzoneBucket.java:[482,41]
> [deprecation] DefaultHttpClient in org.apache.http.impl.client has been
> deprecated
> [WARNING]
> /testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/ozone/OzoneClientUtils.java:[284,52]
> [deprecation] getHostText() in HostAndPort has been deprecated
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]