[
https://issues.apache.org/jira/browse/DRILL-6185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16379350#comment-16379350
]
ASF GitHub Bot commented on DRILL-6185:
---------------------------------------
Github user arina-ielchiieva commented on a diff in the pull request:
https://github.com/apache/drill/pull/1137#discussion_r171071136
--- Diff:
exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/profile/ProfileWrapper.java
---
@@ -330,10 +332,16 @@ public boolean isOnlyImpersonationEnabled() {
//Generates operator names inferred from physical plan
private void generateOpMap(String plan) {
this.physicalOperatorMap = new HashMap<String,String>();
--- End diff --
Please replace with diamonds -> `new HashMap<>();`
> Error is displaying while accessing query profiles via the Web-UI
> -----------------------------------------------------------------
>
> Key: DRILL-6185
> URL: https://issues.apache.org/jira/browse/DRILL-6185
> Project: Apache Drill
> Issue Type: Bug
> Affects Versions: 1.13.0
> Reporter: Anton Gozhiy
> Assignee: Kunal Khatua
> Priority: Blocker
> Fix For: 1.13.0
>
>
> *Steps:*
> # Execute the following query:
> {code:sql}
> show schemas;
> {code}
> # On the Web-UI, go to the Profiles tab
> # Open the profile for the query you executed
> *Expected result:* You can access to the profile entry
> *Actual result:* Error is displayed:
> {code:json}
> {
> "errorMessage" : "1"
> }
> {code}
> *Note:* This error doesn't happen with every query. For example, "select *
> from system.version" can be accessed without error, while "show tables", "use
> dfs", "alter sessions" etc end with this error.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)