hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arpit Gupta <ar...@hortonworks.com>
Subject Re: Acces HAR over http through browser
Date Thu, 11 Oct 2012 16:07:40 GMT
your browser does not understand what har:// is so none of those links will work. You will
have to use webhdfs if you want out of the box webserivce to access files, but you wont be
able to use har fs from within webhdfs.

Another thing it looks like you are accessing your datanode port (50075) unless you changed
the defaults. You should send the calls through you namenode and let it redirect you to the
appropriate datanode.

--
Arpit Gupta
Hortonworks Inc.
http://hortonworks.com/

On Oct 9, 2012, at 6:30 AM, Visioner Sadak <visioner.sadak@gmail.com> wrote:

>   
>  
> i tried these 3 combinations  all in vain :)  if my har location is /user/testhar.har/test.jpg
    
> 
>  <td><img src ="har://http-localhost:50075/webhdfs/v1/user/testhar.har/test.jpg?op=OPEN"/></td>
>            <td><img src ="har://webhdfs-localhost:50075/testhar.har/test.jpg?op=OPEN"/></td>
>            <td><img src ="har://webhdfs-localhost:50075/testhar.har/test.jpg"/></td>
> 
> On Sat, Oct 6, 2012 at 3:08 PM, Visioner Sadak <visioner.sadak@gmail.com> wrote:
>  
>  
> Hello experts any thoughts on how to access HAR files thru http if its a normal file
then i can access it by using below URL using webhdfs....
>  
> http://localhost:50075/webhdfs/v1/user/test.jpg?op=OPEN
> 


Mime
View raw message