You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-user@hadoop.apache.org by Visioner Sadak <vi...@gmail.com> on 2012/10/06 11:38:07 UTC

Acces HAR over http through browser

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

Re: Acces HAR over http through browser

Posted by Visioner Sadak <vi...@gmail.com>.
any hints friends atleast can we access har files thru http webhdfs
directly or will have to create a symlink or will have to copy to local
server then make it available to client.....

On Tue, Oct 9, 2012 at 7:00 PM, Visioner Sadak <vi...@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 <vi...@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
>>
>
>

Re: Acces HAR over http through browser

Posted by Visioner Sadak <vi...@gmail.com>.
any hints friends atleast can we access har files thru http webhdfs
directly or will have to create a symlink or will have to copy to local
server then make it available to client.....

On Tue, Oct 9, 2012 at 7:00 PM, Visioner Sadak <vi...@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 <vi...@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
>>
>
>

Re: Acces HAR over http through browser

Posted by Visioner Sadak <vi...@gmail.com>.
thanks a lot arpit is there any kind of way out frm getting out frm this
problem like symlinks or something whic will make my har url and access url
simple without har:/// extension

On Thu, Oct 11, 2012 at 9:37 PM, Arpit Gupta <ar...@hortonworks.com> wrote:

> 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/
> <http://www.hadoopsummit.org/>
>
>  On Oct 9, 2012, at 6:30 AM, Visioner Sadak <vi...@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 <vi...@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
>>
>
>
>

Re: Acces HAR over http through browser

Posted by Visioner Sadak <vi...@gmail.com>.
thanks a lot arpit is there any kind of way out frm getting out frm this
problem like symlinks or something whic will make my har url and access url
simple without har:/// extension

On Thu, Oct 11, 2012 at 9:37 PM, Arpit Gupta <ar...@hortonworks.com> wrote:

> 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/
> <http://www.hadoopsummit.org/>
>
>  On Oct 9, 2012, at 6:30 AM, Visioner Sadak <vi...@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 <vi...@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
>>
>
>
>

Re: Acces HAR over http through browser

Posted by Visioner Sadak <vi...@gmail.com>.
thanks a lot arpit is there any kind of way out frm getting out frm this
problem like symlinks or something whic will make my har url and access url
simple without har:/// extension

On Thu, Oct 11, 2012 at 9:37 PM, Arpit Gupta <ar...@hortonworks.com> wrote:

> 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/
> <http://www.hadoopsummit.org/>
>
>  On Oct 9, 2012, at 6:30 AM, Visioner Sadak <vi...@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 <vi...@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
>>
>
>
>

Re: Acces HAR over http through browser

Posted by Visioner Sadak <vi...@gmail.com>.
thanks a lot arpit is there any kind of way out frm getting out frm this
problem like symlinks or something whic will make my har url and access url
simple without har:/// extension

On Thu, Oct 11, 2012 at 9:37 PM, Arpit Gupta <ar...@hortonworks.com> wrote:

> 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/
> <http://www.hadoopsummit.org/>
>
>  On Oct 9, 2012, at 6:30 AM, Visioner Sadak <vi...@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 <vi...@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
>>
>
>
>

Re: Acces HAR over http through browser

Posted by Arpit Gupta <ar...@hortonworks.com>.
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 <vi...@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 <vi...@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
> 


Re: Acces HAR over http through browser

Posted by Arpit Gupta <ar...@hortonworks.com>.
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 <vi...@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 <vi...@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
> 


Re: Acces HAR over http through browser

Posted by Visioner Sadak <vi...@gmail.com>.
any hints friends atleast can we access har files thru http webhdfs
directly or will have to create a symlink or will have to copy to local
server then make it available to client.....

On Tue, Oct 9, 2012 at 7:00 PM, Visioner Sadak <vi...@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 <vi...@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
>>
>
>

Re: Acces HAR over http through browser

Posted by Arpit Gupta <ar...@hortonworks.com>.
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 <vi...@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 <vi...@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
> 


Re: Acces HAR over http through browser

Posted by Visioner Sadak <vi...@gmail.com>.
any hints friends atleast can we access har files thru http webhdfs
directly or will have to create a symlink or will have to copy to local
server then make it available to client.....

On Tue, Oct 9, 2012 at 7:00 PM, Visioner Sadak <vi...@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 <vi...@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
>>
>
>

Re: Acces HAR over http through browser

Posted by Arpit Gupta <ar...@hortonworks.com>.
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 <vi...@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 <vi...@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
> 


Re: Acces HAR over http through browser

Posted by Visioner Sadak <vi...@gmail.com>.
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 <vi...@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
>

Re: Acces HAR over http through browser

Posted by Visioner Sadak <vi...@gmail.com>.
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 <vi...@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
>

Re: Acces HAR over http through browser

Posted by Visioner Sadak <vi...@gmail.com>.
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 <vi...@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
>

Re: Acces HAR over http through browser

Posted by Visioner Sadak <vi...@gmail.com>.
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 <vi...@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
>