github-advanced-security[bot] commented on code in PR #6653:
URL: https://github.com/apache/hive/pull/6653#discussion_r4217039188
##########
service/src/java/org/apache/hive/service/cli/thrift/ThriftHttpServlet.java:
##########
@@ -148,6 +164,11 @@
this.httpAuthService = new HttpAuthService(cookieDomain, cookiePath,
cookieMaxAge, isCookieSecure, AUTH_COOKIE);
}
+ @Override
+ protected void doGet(HttpServletRequest req, HttpServletResponse resp)
throws ServletException, IOException {
+ doPost(req, resp);
Review Comment:
## SonarCloud / Exceptions should not be thrown from servlet methods
<!--SONAR_ISSUE_KEY:AaEZPWCNkYC2zgOsGPmP-->Handle the following exceptions
that could be thrown by "doPost": ServletException, IOException. <p>See more on
<a
href="https://sonarcloud.io/project/issues?id=apache_hive&issues=AaEZPWCNkYC2zgOsGPmP&open=AaEZPWCNkYC2zgOsGPmP&pullRequest=6653">SonarQube
Cloud</a></p>
[Show more
details](https://github.com/apache/hive/security/code-scanning/468)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]