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 <[email protected]> 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 <[email protected]> 
> 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
> 

Reply via email to