[
https://issues.apache.org/jira/browse/DRILL-5259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15872737#comment-15872737
]
ASF GitHub Bot commented on DRILL-5259:
---------------------------------------
Github user sudheeshkatkam commented on a diff in the pull request:
https://github.com/apache/drill/pull/751#discussion_r101868848
--- Diff:
exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/profile/ProfileResources.java
---
@@ -61,7 +64,7 @@
public class ProfileResources {
static final org.slf4j.Logger logger =
org.slf4j.LoggerFactory.getLogger(ProfileResources.class);
- public final static int MAX_PROFILES = 100;
+ public final static int MAX_PROFILES =
Integer.valueOf(System.getProperty(ExecConstants.HTTP_MAX_PROFILES, "100"));
--- End diff --
Make this part of `drill-override.conf`?
(Using an Inject, see
[DrillRestServer](https://github.com/apache/drill/blob/master/exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/DrillRestServer.java#L88))
> Allow listing a user-defined number of profiles
> ------------------------------------------------
>
> Key: DRILL-5259
> URL: https://issues.apache.org/jira/browse/DRILL-5259
> Project: Apache Drill
> Issue Type: Improvement
> Components: Web Server
> Affects Versions: 1.9.0
> Reporter: Kunal Khatua
> Assignee: Kunal Khatua
> Priority: Trivial
> Fix For: 1.10.0
>
>
> Currently, the web UI only lists the last 100 profiles.
> This count is currently hard coded. The proposed change would be to create an
> option in drill-override.conf to provide a flexible default value, and also
> an option within the UI (via optional parameter in the path).
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)