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/03/03 16:10:46 UTC

[jira] [Commented] (AMBARI-20121) Hue Migration Tool: param values getting cached

    [ https://issues.apache.org/jira/browse/AMBARI-20121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15894634#comment-15894634 ] 

Hudson commented on AMBARI-20121:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #6936 (See [https://builds.apache.org/job/Ambari-trunk-Commit/6936/])
AMBARI-20121. Hue Migration Tool: param values getting cached. (Ishan (grvngr: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=b065b37339ec21a22c969b44bff70e172b3f84f6])
* (edit) contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/routes/home-page/hive-saved-query.js
* (edit) contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page/pig-job.hbs
* (edit) contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/routes/home-page/pig-udf.js
* (edit) contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page/pig-udf.hbs
* (edit) contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/routes/home-page/pig-job.js
* (edit) contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page/pig-script.hbs
* (edit) contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page/hive-saved-query.hbs
* (edit) contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/routes/home-page/pig-script.js
* (edit) contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/routes/home-page/hive-history.js


> Hue Migration Tool: param values getting cached
> -----------------------------------------------
>
>                 Key: AMBARI-20121
>                 URL: https://issues.apache.org/jira/browse/AMBARI-20121
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-views
>            Reporter: Ishan Bhatt
>            Assignee: Ishan Bhatt
>             Fix For: trunk
>
>         Attachments: AMBARI-20121.patch
>
>
> When navigating away from a route the values are getting cached on returning to the route which is causing unexpected migrations
> hiveView15 is an instance of hive-view version1.5
> hiveView20 is an instance of hive-view version2.0
> 1. Migrate the Hive-history queries (user admin,instance hiveView15,startdate :2017-02-21,enddate:2017-02-22)
> 2. Migrate the Hive-saved queries (user admin,instance hiveView15,startdate :2017-02-21,enddate:2017-02-22)
> 3. Migrate the Hive-history queries (user admin,instance hiveView20,startdate :2017-02-21,enddate:2017-02-22) **different instanceName
> But The UI shows migration to "hiveView20" happened twice. It uses the previously cached value in 'admin' for the variable 'username' for migrating artifacts.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)