You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2020/02/28 14:25:08 UTC
[GitHub] [incubator-doris] worker24h opened a new pull request #3020:
FixBug: Access follower node by web is exception
worker24h opened a new pull request #3020: FixBug: Access follower node by web is exception
URL: https://github.com/apache/incubator-doris/pull/3020
FixBug: Access follower node by web is exception
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [incubator-doris] worker24h commented on a change in pull request
#3020: FixBug: Access follower node by web is exception
Posted by GitBox <gi...@apache.org>.
worker24h commented on a change in pull request #3020: FixBug: Access follower node by web is exception
URL: https://github.com/apache/incubator-doris/pull/3020#discussion_r386082224
##########
File path: fe/src/main/java/org/apache/doris/http/action/WebBaseAction.java
##########
@@ -190,6 +192,9 @@ private boolean checkCookie(BaseRequest request, BaseResponse response) {
ctx.setQualifiedUser(sessionValue.currentUser.getQualifiedUser());
ctx.setRemoteIP(request.getHostString());
ctx.setCurrentUserIdentity(sessionValue.currentUser);
+ ctx.setCatalog(Catalog.getCurrentCatalog());
+ ctx.setCluster(SystemInfoService.DEFAULT_CLUSTER);
+ ctx.setQualifiedUser(PaloAuth.ADMIN_USER);
Review comment:
ok
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [incubator-doris] morningman commented on a change in pull request
#3020: FixBug: Access follower node by web is exception
Posted by GitBox <gi...@apache.org>.
morningman commented on a change in pull request #3020: FixBug: Access follower node by web is exception
URL: https://github.com/apache/incubator-doris/pull/3020#discussion_r386069862
##########
File path: fe/src/main/java/org/apache/doris/http/action/WebBaseAction.java
##########
@@ -190,6 +192,9 @@ private boolean checkCookie(BaseRequest request, BaseResponse response) {
ctx.setQualifiedUser(sessionValue.currentUser.getQualifiedUser());
ctx.setRemoteIP(request.getHostString());
ctx.setCurrentUserIdentity(sessionValue.currentUser);
+ ctx.setCatalog(Catalog.getCurrentCatalog());
+ ctx.setCluster(SystemInfoService.DEFAULT_CLUSTER);
+ ctx.setQualifiedUser(PaloAuth.ADMIN_USER);
Review comment:
```suggestion
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [incubator-doris] morningman merged pull request #3020: FixBug:
Access follower node by web is exception
Posted by GitBox <gi...@apache.org>.
morningman merged pull request #3020: FixBug: Access follower node by web is exception
URL: https://github.com/apache/incubator-doris/pull/3020
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org