[ 
https://issues.apache.org/jira/browse/AMBARI-8305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oleg Nechiporenko updated AMBARI-8305:
--------------------------------------
    Attachment: AMBARI-8305.patch
                AMBARI-8305_branch-1.7.0.patch

> 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)

Reply via email to