Depending on your deployment scenario you can look into using Knox Gateway to front webhdfs. The host:port of the gateway will then be used in your webapp but the endpoint would require authentication. Webhdfs would be completely hidden behind the Gateway.
http://knox.incubator.apache.org/ You can start a discussion on the user list there, if you like. On Thu, Aug 15, 2013 at 11:06 AM, Raj K Singh <[email protected]> wrote: > n > ot sure with the java but javascript can really help you in that,you can > find my examples of url shortening javascript api on web. > > :::::::::::::::::::::::::::::::::::::::: > Raj K Singh > http://www.rajkrrsingh.blogspot.com > Mobile Tel: +91 (0)9899821370 > > > On Thu, Aug 15, 2013 at 8:25 PM, Visioner Sadak > <[email protected]>wrote: > >> cant i do it using java code instead of using a third party webpage >> >> >> On Thu, Aug 15, 2013 at 8:20 PM, Raj K Singh <[email protected]>wrote: >> >>> visit tinyURL.com or rarme.com / path.im >>> >>> :::::::::::::::::::::::::::::::::::::::: >>> Raj K Singh >>> http://www.rajkrrsingh.blogspot.com >>> Mobile Tel: +91 (0)9899821370 >>> >>> >>> On Thu, Aug 15, 2013 at 8:10 PM, Visioner Sadak < >>> [email protected]> wrote: >>> >>>> could you give a hint on how to use it >>>> >>>> >>>> On Thu, Aug 15, 2013 at 8:05 PM, Raj K Singh <[email protected]>wrote: >>>> >>>>> use tinyURL >>>>> >>>>> :::::::::::::::::::::::::::::::::::::::: >>>>> Raj K Singh >>>>> http://www.rajkrrsingh.blogspot.com >>>>> Mobile Tel: +91 (0)9899821370 >>>>> >>>>> >>>>> On Thu, Aug 15, 2013 at 8:00 PM, Visioner Sadak < >>>>> [email protected]> wrote: >>>>> >>>>>> Hello friends, >>>>>> >>>>>> I have a front end jsp application which uses the below url to show >>>>>> my hadoop file is there a way to hide the url coz it exposes port and >>>>>> server name in my jsp page source >>>>>> >>>>>> >>>>>> http://termin1:50070/webhdfs/v1/NN1Home/new_file_d561yht35-9a1a-4a7b-9n.jpg?op=OPEN >>>>>> " >>>>>> >>>>> >>>>> >>>> >>> >> > -- CONFIDENTIALITY NOTICE NOTICE: This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential, privileged and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any printing, copying, dissemination, distribution, disclosure or forwarding of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and delete it from your system. Thank You.
