You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2014/11/13 13:51:33 UTC

[jira] [Commented] (AMBARI-8305) Jobs View UI link directs to last Tez Job seen instead of the one clicked

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

Hudson commented on AMBARI-8305:
--------------------------------

SUCCESS: Integrated in Ambari-branch-1.7.0 #395 (See [https://builds.apache.org/job/Ambari-branch-1.7.0/395/])
AMBARI-8305. Jobs View UI link directs to last Tez Job seen instead of the one clicked. (onechiporenko) (onechiporenko: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=0fa4865355a2d7ee2d1998e5b2965ee6bfd35a7e)
* contrib/views/jobs/src/main/resources/ui/app/scripts/views/job/hive_job_details_view.js


> Jobs View UI link directs to last Tez Job seen instead of the one clicked
> -------------------------------------------------------------------------
>
>                 Key: AMBARI-8305
>                 URL: https://issues.apache.org/jira/browse/AMBARI-8305
>             Project: Ambari
>          Issue Type: Bug
>          Components: contrib
>    Affects Versions: 1.7.0
>            Reporter: Oleg Nechiporenko
>            Assignee: Oleg Nechiporenko
>            Priority: Blocker
>             Fix For: 1.7.0
>
>         Attachments: AMBARI-8305.patch, AMBARI-8305_branch-1.7.0.patch
>
>
> There's a javascript bug where the Jobs View links will go to the wrong job.
> Setup:
> 1. Add the Jobs View (note that the URL properties must begin with "http://")
> 2. Change hive.execution.engine to tez
> 3. Run some sample jobs.
> {code}
> su - hive
> cd /tmp
> wget http://seanlahman.com/files/database/lahman591-csv.zip
> unzip lahman591-csv.zip
> hdfs dfs -copyFromLocal Schools.csv /tmp
> hive
> CREATE TABLE school (id STRING, name STRING, city STRING, state STRING, nick STRING) ROW FORMAT DELIMITED FIELDS TERMINATED BY '\054' STORED AS TEXTFILE;
> LOAD DATA LOCAL INPATH '/tmp/Schools.csv' INTO TABLE school;
> select state, count(id) as counts from school group by state sort by counts desc limit 10;
> select name FROM school order by name asc limit 10;
> {code}
> Then visit the Jobs View, click on Job 1, then go back on the browser and click on Job 2 (and it will still show data from Job 1), then go back on the browser and click on Job 1 (and it will show data from Job 2).
> I repro'ed this on Chrome and Firefox.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)