You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@drill.apache.org by Sungwook Yoon <sy...@maprtech.com> on 2016/12/02 15:12:09 UTC

how to control the number of profiles on webui

On Drill WebUI, profiles tab does not have pagination and when many short
queries are running, sometimes very recently launched queries are not seen
from the profiles page.

How do I increase the number of profiles shown on the WebUI?

Thanks,

Sungwook

Re: how to control the number of profiles on webui

Posted by Sungwook Yoon <sy...@maprtech.com>.
Thanks will do kunal.

Sungwook

On Dec 2, 2016 16:16, "Kunal Khatua" <kk...@maprtech.com> wrote:

Currently, the value is hard-coded to a limit of 100.

https://github.com/apache/drill/blob/master/exec/java-
exec/src/main/java/org/apache/drill/exec/server/rest/
profile/ProfileResources.java

If you are building Drill from source, you could fork off the Drill repo
and modify the value for MAX_PROFILES from 100 to a higher value. A compile
and deploy of Drill would then have this set at the new value.

Since the WebUI doesn't support pagination, this would be a good way to go
about it.

Please file a JIRA for this enhancement, so that this can be tracked in a
future release.

Thanks
~ Kunal

On Fri 2-Dec-2016 7:12:15 AM, Sungwook Yoon <sy...@maprtech.com> wrote:
On Drill WebUI, profiles tab does not have pagination and when many short
queries are running, sometimes very recently launched queries are not seen
from the profiles page.

How do I increase the number of profiles shown on the WebUI?

Thanks,

Sungwook

Re: how to control the number of profiles on webui

Posted by Kunal Khatua <kk...@maprtech.com>.
Currently, the value is hard-coded to a limit of 100.

https://github.com/apache/drill/blob/master/exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/profile/ProfileResources.java

If you are building Drill from source, you could fork off the Drill repo and modify the value for MAX_PROFILES from 100 to a higher value. A compile and deploy of Drill would then have this set at the new value.

Since the WebUI doesn't support pagination, this would be a good way to go about it. 

Please file a JIRA for this enhancement, so that this can be tracked in a future release. 

Thanks
~ Kunal 

On Fri 2-Dec-2016 7:12:15 AM, Sungwook Yoon <sy...@maprtech.com> wrote:
On Drill WebUI, profiles tab does not have pagination and when many short
queries are running, sometimes very recently launched queries are not seen
from the profiles page.

How do I increase the number of profiles shown on the WebUI?

Thanks,

Sungwook