You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2017/10/04 19:40:00 UTC
[jira] [Commented] (AMBARI-22089) Hive View 2.0 - Unable to update
existing saved queries, view creates new records under saved queries tab
[ https://issues.apache.org/jira/browse/AMBARI-22089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16191926#comment-16191926 ]
Hudson commented on AMBARI-22089:
---------------------------------
SUCCESS: Integrated in Jenkins build Ambari-branch-2.6 #331 (See [https://builds.apache.org/job/Ambari-branch-2.6/331/])
AMBARI-22089. Hive View 2.0 - Unable to update existing saved queries, (pallavkul: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=c523eb9719c6c2d05acc54234426e7dd0ed269b7])
* (edit) contrib/views/hive20/src/main/resources/ui/yarn.lock
* (edit) contrib/views/hive20/src/main/java/org/apache/ambari/view/hive20/resources/savedQueries/SavedQueryResourceManager.java
* (edit) contrib/views/hive20/src/main/resources/ui/app/routes/queries/query.js
> 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)