[
https://issues.apache.org/jira/browse/AMBARI-22089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16196858#comment-16196858
]
Hudson commented on AMBARI-22089:
---------------------------------
FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #8226 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/8226/])
Revert "AMBARI-22089. Hive View 2.0 - Unable to update existing saved
(pallavkul:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=e83c86dc310e4878f57f2cec9e32e8dc83394913])
* (edit) contrib/views/hive20/src/main/resources/ui/yarn.lock
* (edit) contrib/views/hive20/src/main/resources/ui/app/routes/queries/query.js
* (edit)
contrib/views/hive20/src/main/java/org/apache/ambari/view/hive20/resources/savedQueries/SavedQueryResourceManager.java
> Hive View 2.0 - Unable to update existing saved queries, view creates new
> records under saved queries tab
> ---------------------------------------------------------------------------------------------------------
>
> Key: AMBARI-22089
> URL: https://issues.apache.org/jira/browse/AMBARI-22089
> Project: Ambari
> Issue Type: Bug
> Components: ambari-views
> Reporter: Pallav Kulshreshtha
> Assignee: Pallav Kulshreshtha
> Priority: Blocker
> Fix For: 2.6.0
>
> Attachments: AMBARI-22089_branch-trunk.patch
>
>
> Under the "Saved Queries" section in Ambari, there exist multiple entries for
> the query - all entries have the same query name, that is - when changes are
> made to a query and subsequently saved, an entry gets created.
> However, all entries have the same name - after a while it is not possible to
> know which is the latest version.
> The "Saved Queries" view does not include a timestamp nor does it
> automatically append a version name to the query - thus making it hard for
> the user to figure out which is the latest query
> Review the screenshot in attached adobe pdf
> Issue: In Hive view2.0 - when query is saved it gets saved with the provided
> name say "test-query1" - now go to "Saved queries" tab and click on
> "test-query1" and modify the query and then do save as again - in this case
> instead of overriding (updating) the saved query it creates one more copy
> with same name. this is creating a confusion which one is the latest one as
> there is no timestamps.
> One more thing is - while saving the query - if I give existing saved query
> name then also it is creating one more copy with same name.
> In Hive view1.5 - it overrides the query name with note saying as "Saving
> will overwrite previously saved query" .
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)