[
https://issues.apache.org/jira/browse/DRILL-6006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arina Ielchiieva resolved DRILL-6006.
-------------------------------------
Resolution: Fixed
Merged into Apache master with commit id
0e5ad4e1b549f37eb878758409b5afda1deece9d
> Label current is missing on Web UI since the same drillbits with different
> status are considered to be different
> ----------------------------------------------------------------------------------------------------------------
>
> Key: DRILL-6006
> URL: https://issues.apache.org/jira/browse/DRILL-6006
> Project: Apache Drill
> Issue Type: Bug
> Affects Versions: 1.12.0
> Reporter: Arina Ielchiieva
> Assignee: Arina Ielchiieva
> Fix For: 1.12.0
>
>
> After DRILL-4286 label current is missing on Web UI indicating current
> drillbit.
> This happens because when creating DrillbitInfo object, we check [if current
> drillbit is the same as
> available|https://github.com/apache/drill/blob/master/exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/DrillRoot.java#L197].
> But {{dbContext.getEndpoint()}} returns drillbit with status {{startup}} and
> {{work.getContext().getAvailableBits()}} returns drillbit with status
> {{online}}, thus isCurrent variable is set as false but should be true.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)