[jira] [Commented] (IMPALA-10224) Add startup flag not to expose debug web url via PingImpalaService/PingImpalaHS2Service RPC

2020-10-12 Thread Attila Jeges (Jira)


[ 
https://issues.apache.org/jira/browse/IMPALA-10224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17212250#comment-17212250
 ] 

Attila Jeges commented on IMPALA-10224:
---

CR: https://gerrit.cloudera.org/#/c/16573/

> Add startup flag not to expose debug web url via 
> PingImpalaService/PingImpalaHS2Service RPC
> ---
>
> Key: IMPALA-10224
> URL: https://issues.apache.org/jira/browse/IMPALA-10224
> Project: IMPALA
>  Issue Type: New Feature
>  Components: Backend
>Affects Versions: Impala 3.4.0
>Reporter: Attila Jeges
>Assignee: Attila Jeges
>Priority: Major
>
> PingImpalaService/PingImpalaHS2Service RPC calls expose the coordinator's 
> debug web url to clients like impala shell.  Since the debug web UI is not 
> something that end-users will necessarily have access to, we should have a 
> server option to send an empty string instead of the real url to the impala 
> client signalling that the debug web ui is not available.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Commented] (IMPALA-10224) Add startup flag not to expose debug web url via PingImpalaService/PingImpalaHS2Service RPC

2020-10-14 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/IMPALA-10224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17214321#comment-17214321
 ] 

ASF subversion and git services commented on IMPALA-10224:
--

Commit 3d067572dd401a08045de57fefa3d3131bea3c2b in impala's branch 
refs/heads/master from Attila Jeges
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=3d06757 ]

IMPALA-10224: Add startup flag not to expose debug web url to clients

This patch introduces a new startup flag
--ping_expose_webserver_url (true by default) to control whether
PingImpalaService, PingImpalaHS2Service RPC calls should expose
the debug web url to the client or not.

This is necessary as the debug web UI is not something that
end-users will necessarily have access to.

If the flag is set to false, the RPC calls will return an empty
string instead of the real url signalling that the debug web ui
is not available.

Note that if the webserver is disabled (--enable_webserver flag
is set to false) the RPC calls will behave the same and return an
empty string for the url.

Change-Id: I7ec3e92764d712b8fee63c1f45b038c31c184cfc
Reviewed-on: http://gerrit.cloudera.org:8080/16573
Reviewed-by: Impala Public Jenkins 
Tested-by: Impala Public Jenkins 


> Add startup flag not to expose debug web url via 
> PingImpalaService/PingImpalaHS2Service RPC
> ---
>
> Key: IMPALA-10224
> URL: https://issues.apache.org/jira/browse/IMPALA-10224
> Project: IMPALA
>  Issue Type: New Feature
>  Components: Backend
>Affects Versions: Impala 3.4.0
>Reporter: Attila Jeges
>Assignee: Attila Jeges
>Priority: Major
>
> PingImpalaService/PingImpalaHS2Service RPC calls expose the coordinator's 
> debug web url to clients like impala shell.  Since the debug web UI is not 
> something that end-users will necessarily have access to, we should have a 
> server option to send an empty string instead of the real url to the impala 
> client signalling that the debug web ui is not available.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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