Return-Path: X-Original-To: apmail-crunch-dev-archive@www.apache.org Delivered-To: apmail-crunch-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B4877E173 for ; Wed, 27 Feb 2013 06:57:23 +0000 (UTC) Received: (qmail 50465 invoked by uid 500); 27 Feb 2013 06:57:23 -0000 Delivered-To: apmail-crunch-dev-archive@crunch.apache.org Received: (qmail 50424 invoked by uid 500); 27 Feb 2013 06:57:22 -0000 Mailing-List: contact dev-help@crunch.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@crunch.apache.org Delivered-To: mailing list dev@crunch.apache.org Received: (qmail 50399 invoked by uid 99); 27 Feb 2013 06:57:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2013 06:57:21 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,MSGID_FROM_MTA_HEADER,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of stepinto@live.com designates 65.55.111.76 as permitted sender) Received: from [65.55.111.76] (HELO blu0-omc2-s1.blu0.hotmail.com) (65.55.111.76) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2013 06:57:14 +0000 Received: from BLU0-SMTP314 ([65.55.111.73]) by blu0-omc2-s1.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 26 Feb 2013 22:56:53 -0800 X-EIP: [xfiYbqNTyWvkcLeC6N4NN5/iX9PUIGYH] X-Originating-Email: [stepinto@live.com] Message-ID: Received: from mail-wg0-f53.google.com ([74.125.82.53]) by BLU0-SMTP314.phx.gbl over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Tue, 26 Feb 2013 22:56:53 -0800 Received: by mail-wg0-f53.google.com with SMTP id fn15so172336wgb.32 for ; Tue, 26 Feb 2013 22:56:51 -0800 (PST) X-Received: by 10.194.119.68 with SMTP id ks4mr1786949wjb.3.1361948211502; Tue, 26 Feb 2013 22:56:51 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.17.132 with HTTP; Tue, 26 Feb 2013 22:56:31 -0800 (PST) In-Reply-To: References: From: Chao Shi Date: Wed, 27 Feb 2013 14:56:31 +0800 Subject: Re: About status web page To: dev@crunch.apache.org Content-Type: multipart/alternative; boundary="089e011821cc59699604d6af476b" X-OriginalArrivalTime: 27 Feb 2013 06:56:53.0143 (UTC) FILETIME=[9FB67A70:01CE14B7] X-Virus-Checked: Checked by ClamAV on apache.org --089e011821cc59699604d6af476b Content-Type: text/plain; charset="ISO-8859-1" It seems luigi uses a swig wrapper of graphviz. There is also a swig wrapper for Java. I also found Oozie has a nice GWT based UI. But I think it too heavy. I'm open to other options. On Wed, Feb 27, 2013 at 12:02 AM, Josh Wills wrote: > Hey Chao, > > I am woefully inept when it comes to data visualization technologies. What > do the guys from Spotify do to visualize their workflows? > > https://github.com/spotify/luigi > > J > > > On Mon, Feb 25, 2013 at 10:13 PM, Chao Shi wrote: > > > Hi Crunch Devs, > > > > I'm interested in adding a web status page to crunch. I'm working on a > > prototype first, which simply runs a jetty server and renders the dot > file > > produced by DotFileWriter at browser. The dot rendering work is done by > > viz.js . It can successfully render > the > > plan into SVG. > > > > I think there are 2 issues I hit with viz.js: > > > > 1. The license of viz.js is unclear. It is compiled from GraphViz source > > code with emscripten. GraphViz is Eclipse Public License 1.0. > > > > 2. viz.js is big and slow. It is a 1.4MB compressed JS. It takes 1 or 2 > > seconds on my laptop to render my pipeline (30+ MRs). I think it good to > > have the graph refresh frequently and show the running status of the > > pipeline (i.e. whether MRs are done or not). Thus the rendering time > would > > be too slow. > > > > Another approach is to call graphviz command at server side, if viz.js is > > not possible. I can't find any pure Java implementation of graphviz. > > > > Looking forward to your advices. > > > > Thanks, > > Chao > > > --089e011821cc59699604d6af476b--