Return-Path: X-Original-To: apmail-hadoop-common-user-archive@www.apache.org Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9F2A4D6EB for ; Wed, 12 Sep 2012 03:00:09 +0000 (UTC) Received: (qmail 10938 invoked by uid 500); 12 Sep 2012 03:00:05 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 10841 invoked by uid 500); 12 Sep 2012 03:00:04 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 10828 invoked by uid 99); 12 Sep 2012 03:00:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Sep 2012 03:00:04 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of michael_segel@hotmail.com designates 65.55.111.112 as permitted sender) Received: from [65.55.111.112] (HELO blu0-omc2-s37.blu0.hotmail.com) (65.55.111.112) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Sep 2012 02:59:57 +0000 Received: from BLU0-SMTP445 ([65.55.111.71]) by blu0-omc2-s37.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 11 Sep 2012 19:59:37 -0700 X-Originating-IP: [96.46.73.2] X-EIP: [F/cukETM0LCOXv5vYMqX2VEEL2pLN/V+] X-Originating-Email: [michael_segel@hotmail.com] Message-ID: Received: from [192.168.201.143] ([96.46.73.2]) by BLU0-SMTP445.blu0.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Tue, 11 Sep 2012 19:59:35 -0700 From: Michael Segel Content-Type: multipart/alternative; boundary="Apple-Mail=_3AC27AB2-7B3E-496F-BC76-8561140B2A1D" MIME-Version: 1.0 (Mac OS X Mail 6.0 \(1486\)) Subject: Re: Accessing image files from hadoop to jsp Date: Tue, 11 Sep 2012 21:59:33 -0500 References: To: user@hadoop.apache.org In-Reply-To: X-Mailer: Apple Mail (2.1486) X-OriginalArrivalTime: 12 Sep 2012 02:59:35.0560 (UTC) FILETIME=[A40DB880:01CD9092] X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_3AC27AB2-7B3E-496F-BC76-8561140B2A1D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Here's one...=20 Write a Java program which can be accessed on the server side to pull = the picture from HDFS and display it on your JSP.=20 On Sep 11, 2012, at 3:48 PM, Visioner Sadak = wrote: > any hints experts atleast if i m on the right track or we cant use = hftp at all coz the browser wont understand it????? >=20 > On Mon, Sep 10, 2012 at 1:58 PM, Visioner Sadak = wrote: > or shud i use datanode ip for accessing images using hftp > =20 > > =20 > my datanode is at 50075 >=20 > =20 > On Sat, Sep 8, 2012 at 8:30 PM, Visioner Sadak = wrote: > seems like webhdfs is available on above 1.0. versions,for the time = being just to do a POC cant i use hftp in 0.22.0 version > i have to just show the img on a jsp sumthing like this,any ideas on = how to configure hftp,security and all,fully confused coz if the url is = accessible as below any WAR can access it right or we will have to do it = frm admin configs... > =20 > < >=20 > td> >=20 > On Sat, Sep 8, 2012 at 6:47 PM, Harsh J wrote: > I'd say yes. Use either WebHDFS (requires client to be able to access > all HDFS nodes) or HttpFS (acts as a gateway if your client can't > access all HDFS nodes) via their REST APIs. >=20 > On Sat, Sep 8, 2012 at 3:48 PM, Visioner Sadak = wrote: > > is webhdfs a viable approach??? > > > > > > On Thu, Sep 6, 2012 at 8:26 PM, Visioner Sadak = > > wrote: > >> > >> I have uploaded some images to hdfs hadoop user/combo/ = directory now > >> want to show those images in a jsp i have configured tomcat and = hadoop > >> properly i m able to do uploads any ideas on how to build the = interface to > >> show thes images on to my front end jsp... > >> > >> > > > > >=20 >=20 >=20 > -- > Harsh J >=20 >=20 >=20 --Apple-Mail=_3AC27AB2-7B3E-496F-BC76-8561140B2A1D Content-Transfer-Encoding: 7bit Content-Type: text/html; charset="iso-8859-1" Here's one... 
Write a Java program which can be accessed on the server side to pull the picture from HDFS and display it on your JSP. 



On Sep 11, 2012, at 3:48 PM, Visioner Sadak <visioner.sadak@gmail.com> wrote:

any hints experts atleast if i m on the right track or we cant use hftp at all coz the browser wont understand it?????

On Mon, Sep 10, 2012 at 1:58 PM, Visioner Sadak <visioner.sadak@gmail.com> wrote:
or shud i use datanode ip for accessing images using hftp
 
 
my datanode is at 50075

 
On Sat, Sep 8, 2012 at 8:30 PM, Visioner Sadak <visioner.sadak@gmail.com> wrote:
seems like webhdfs is available on above 1.0. versions,for the time being just to do a POC cant i use hftp in 0.22.0 version
i have to just show the img on a jsp sumthing like this,any ideas on how to configure hftp,security and all,fully confused coz if the url is accessible as below any WAR can access it right or we will have to do it frm admin configs...
 
On Sat, Sep 8, 2012 at 6:47 PM, Harsh J <harsh@cloudera.com> wrote:
I'd say yes. Use either WebHDFS (requires client to be able to access
all HDFS nodes) or HttpFS (acts as a gateway if your client can't
access all HDFS nodes) via their REST APIs.

On Sat, Sep 8, 2012 at 3:48 PM, Visioner Sadak <visioner.sadak@gmail.com> wrote:
> is webhdfs a viable approach???
>
>
> On Thu, Sep 6, 2012 at 8:26 PM, Visioner Sadak <visioner.sadak@gmail.com>
> wrote:
>>
>> I have uploaded some images to hdfs   hadoop  user/combo/  directory now
>> want to show those images in a jsp i have configured tomcat and hadoop
>> properly i m able to do uploads any ideas on  how to build the interface to
>> show thes images on to my front end jsp...
>>
>>
>
>



--
Harsh J




--Apple-Mail=_3AC27AB2-7B3E-496F-BC76-8561140B2A1D--