[
https://issues.apache.org/jira/browse/OOZIE-967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13474283#comment-13474283
]
James Kinley commented on OOZIE-967:
------------------------------------
I'm not sure why this panel has a paging toolbar because the dataset that backs
it is fixed on panel load, which is why it gets stuck in the refresh state.
If you take a look at:
{code}
src/main/webapp/oozie-console.js
{code}
The main panels for "Workflow jobs", "Coordinator jobs", etc (not the popups),
have a paging toolbar that is backed by a {{Ext.data.JsonStore}} that is
proxied back to the {{/oozie/v1/jobs}} web services. The jobs web services
respond with the {{"total"}} json tag which enables the paging toolbar to be
rendered correctly.
On the other hand, the popup panel for "Workflow jobs" does not have a paging
toolbar at the bottom of the panel because the {{Ext.data.JsonStore}} used by
the panel is fixed on load and it simply lists all of the actions.
The popup panel for "Coordinator jobs" has a paging toolbar, but its
{{Ext.data.JsonStore}} is fixed in the same way as the "Workflow jobs" popup
and is not proxied back to the {{/oozie/v1/job}} web services - and therefore
doesn't work and gets stuck when you hit the refresh button. If you had enough
workflows in the list (>50) the paging would also not work correctly.
I have tried to get it working by changing the {{Ext.data.JsonStore}} to
request its data from {{/oozie/v1/job}}, but the web service doesn't respond
with the {{"total"}} json tag causing the paging toolbar to render incorrectly.
I could change the {{/oozie/v1/job}} web services and all of the
{{Ext.data.JsonStore}}'s in the popup panels, which would require a bit of a
rewrite. Or I could simply remove the paging toolbar from the "Coordinator
jobs" panel altogether, which would be more consistent with the "Workflow jobs"
panel.
> Coordinator action window in web UI never finishes refreshing
> -------------------------------------------------------------
>
> Key: OOZIE-967
> URL: https://issues.apache.org/jira/browse/OOZIE-967
> Project: Oozie
> Issue Type: Bug
> Reporter: Jonathan Natkins
> Assignee: James Kinley
>
> When the detailed info for a coordinator workflow is brought up in the web
> UI, it has a smaller pane which displays info about the associated actions.
> Clicking the refresh button for that pane causes the UI to attempt to refresh
> (the spinner comes up and starts spinning), but the pane never reloads.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira