[ https://issues.apache.org/jira/browse/HADOOP-18249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hemanth Boyina resolved HADOOP-18249. ------------------------------------- Resolution: Fixed > 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-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-dev-h...@hadoop.apache.org