Return-Path: Delivered-To: apmail-hadoop-common-dev-archive@www.apache.org Received: (qmail 30760 invoked from network); 22 Oct 2009 14:22:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Oct 2009 14:22:19 -0000 Received: (qmail 51060 invoked by uid 500); 22 Oct 2009 14:22:18 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 50999 invoked by uid 500); 22 Oct 2009 14:22:18 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 50979 invoked by uid 99); 22 Oct 2009 14:22:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Oct 2009 14:22:18 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jaybooth@gmail.com designates 209.85.216.198 as permitted sender) Received: from [209.85.216.198] (HELO mail-px0-f198.google.com) (209.85.216.198) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Oct 2009 14:22:15 +0000 Received: by pxi36 with SMTP id 36so871845pxi.2 for ; Thu, 22 Oct 2009 07:21:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=JPZJdaynlH4gHxRTIcEXFh4RtSUalJjAdil/h8/FtCU=; b=TT2xsr1kGHyOc2OxpdinhmEewGA3vYVUrzevO/IlmDYqoO08tbUr1260jZS84PwuWh 0gUMQSTtwq75/auEr8P+U45ZZAsshNLNTS/4O3hqao8vri+9co3fBzbYH4bIlthhgZrP 3Zr3zjjF40/GVRNX3p7KCNR0ARFzbGE3rixrg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=v739csibhJtXXXG3SSzuT7VFJcwM32mZThV78fSmNEU+nVl+lLb5m8jFZc62d/L2ZG M+9dgwdZquS2cw8vMokgyaAXaeThsusHPYpFgtM/YvliWUFqr21zwCytpi2mXj1hjDbi dum3sGc1kZDLtYxs3/Pkaki/lNOC+twL7eW3k= MIME-Version: 1.0 Received: by 10.115.84.39 with SMTP id m39mr14558412wal.62.1256221315364; Thu, 22 Oct 2009 07:21:55 -0700 (PDT) In-Reply-To: <54de02ae0910220711q20339cd6n9c468c3e036bf518@mail.gmail.com> References: <456205240.23624@bjtu.edu.cn> <54de02ae0910220711q20339cd6n9c468c3e036bf518@mail.gmail.com> Date: Thu, 22 Oct 2009 10:21:55 -0400 Message-ID: <54dc3c50910220721u4c3cba7fxfe7f76f87c0fbadf@mail.gmail.com> Subject: Re: How to develop webapps of hadoop? From: Jay Booth To: common-dev@hadoop.apache.org Content-Type: multipart/alternative; boundary=0016e64ccd7442f960047686d114 --0016e64ccd7442f960047686d114 Content-Type: text/plain; charset=ISO-8859-1 Seems like better webapps could be developed independently of Cloudera desktop, people won't necessarily have the GUI installed everywhere, or at all.. Zhiyuan, the hadoop webapps are run out of an embedded jetty instance that's started by NameNode, DataNode, JobTracker and TaskTracker at startup time -- the daemon starts a jetty httpserver with the given WEB-INF directory and configures it at runtime. struts 2.0 is probably a bit heavyweight, maybe you could ask around as far as what kinds of features people would like to see, or suggest a few, and get an idea of what to build? Maybe something simple to start? On Thu, Oct 22, 2009 at 10:11 AM, Ashutosh Chauhan < ashutosh.chauhan@gmail.com> wrote: > You might want to look at this first: http://www.cloudera.com/desktop > > Ashutosh > > On Thu, Oct 22, 2009 at 06:06, vsmingren <07281007@bjtu.edu.cn> wrote: > > > Dear friends: > > > > I'm a student of the Bjtu university in China. > > > > I have learned Hadoop for some days. I find that the webapps of > > Hadoop, > > such as hdfs webapps(http://localhost:50070), are not easy to use and > > their functions are so few. > > > > I want develop some new webapps base on Web 2.0, making it easier > to > > interact and more flexible and having more functions. > > > > I'm familiar with Java Jsp Struts2.0 Spring and so on. I am > > confident > > to complete it. But now I meet some problem. > > > > Because I am always using Tomcat as Web Server, I don't know where > > the > > hadoop server is located. > > 1. I modified the file(hadoop/webapps/hdfs/WEB-INF/web.xml) and > add > > class to hadoop-0.19.2-core.jar, but it doesn't work. > > 2. I modified index.html. But when I input > http://localhost:50070into > > browse address, it show the original page. > > > > I really don't how to begin. Can you help me? > > 1. What should I learn? > > 2. How to develop these webapps? > > 3. I'll appreciate it if you tell how to develop these webapps > with > > struts 2.0? > > > > I'm looking forward to your reply. > > Thank you very much. > > > > Yours > > > > Zhiyuan Man > > > > > --0016e64ccd7442f960047686d114--