The UI requires the cross-origin enabled to access data from the browser.
if tasks visualization after app has completed is the use case, another option you have is to use the swimlanes tool. (it is present in tez-0.5) usage is : cd $TEZ_DIR/tez-tools/ ./yarn-swimlanes.sh application_..._.. https://github.com/apache/tez/tree/master/tez-tools/swimlanes has the documentationfor the same. ?? ________________________________ From: Sreenath Somarajapuram <[email protected]> Sent: Tuesday, April 28, 2015 3:59 PM To: user Subject: Re: 回复: 回复: Tez taskcount log visualization As mentioned by Prakash, CORS handling is not supported in 2.5. Guess you might be able to get the UI working through Ambari. TEZ View for Ambari can be found at https://github.com/apache/ambari/tree/trunk/contrib/views/tez. -Sreenath From: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Reply-To: user <[email protected]<mailto:[email protected]>> Date: Tuesday, April 28, 2015 at 3:14 PM To: user <[email protected]<mailto:[email protected]>> Subject: 回复: 回复: Tez taskcount log visualization yarn.timeline-service.http-cross-origin.enabled Hadoop 2.5.0 not support..... ________________________________ [email protected]<mailto:[email protected]> ?件人: [email protected]<mailto:[email protected]> ?送??: 2015-04-28 16:27 收件人: user<mailto:[email protected]> 主?: 回复: Re: Tez taskcount log visualization I found tez UI cross domain problem. How to fix it? XMLHttpRequest cannot load http://192.168.117.117:8188/ws/v1/timeline/TEZ_DAG_ID?limit=11. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://192.168.117.117:1111<http://192.168.117.117/>' is therefore not allowed access. ________________________________ [email protected]<mailto:[email protected]> ?件人: [email protected]<mailto:[email protected]> ?送??: 2015-04-28 11:06 收件人: user<mailto:[email protected]> 主?: Re: Re: Tez taskcount log visualization I setup UI using the tez 6.0 build with the UI configured to point to the ATS server. My hadoop version is hadoop 2.5.0 and Tez is 0.53. I try http://192.168.117.117:8288/ws/v1/timeline/TEZ_DAG_ID?limit=11 will retrun result ; But Tez UI always display . [cid:_Foxmail.1@7e5ea556-6344-c510-39b4-45adfec9d976] ________________________________ [email protected]<mailto:[email protected]> From: Hitesh Shah<mailto:[email protected]> Date: 2015-04-27 23:19 To: user<mailto:[email protected]> Subject: Re: Tez taskcount log visualization As a general point for other users, although this is not fully supported, you can try running 0.5.3 with the ATS history logging enabled and then setup the UI using the 0.6 build with the UI configured to point to the ATS server. Almost all of the required data published to ATS should be in the 0.5 branch so the UI should likely work for the most part. Unfortunately, in your case, you are running hadoop-2.3 and timeline/ATS support was introduced in hadoop 2.4 so the above will not work for you. thanks — Hitesh On Apr 27, 2015, at 2:50 AM, [email protected]<mailto:[email protected]> wrote: > Thank you! Ummm....Firstlly , I should upgrade my hadoop2.3.0 cluster to > hadoop 2.6.0 and hive 1.1.0 to use tez 0.60...... But hive docs say > support tez0.52.... > > [email protected]<mailto:[email protected]> > > From: Rajesh Balamohan > Date: 2015-04-27 14:28 > To: user > Subject: Re: Tez taskcount log visualization > Significant amount of effort has gone in building Tez-UI which is part of > tez-0.6. If you could make use tez-0.6, you can view DAG, Task, Task Attempt > level counters in Tez-UI itself. Tez-UI is very helpful for admin, dev, perf > as well. > > Tez UI relies on ATS data; You might want to setup ATS serve > (http://tez.apache.org/tez-ui.html) > > ~Rajesh.B > > On Mon, Apr 27, 2015 at 11:16 AM, > [email protected]<mailto:[email protected]> > <[email protected]<mailto:[email protected]>> wrote: > > Is there a tool can visualize the task count log? Tez UI ??But my enviroment > is hadoop2.3 hive 1.1.0 tez 0.53. > [email protected]<mailto:[email protected]> > > > > -- > ~Rajesh.B
