|
|
+
Visioner Sadak 2012-10-17, 09:07
+
Visioner Sadak 2012-10-17, 09:15
+
Visioner Sadak 2012-10-17, 18:17
+
Arpit Gupta 2012-10-17, 18:24
-
Re: unable to access using webhdfs in 0.23.3Visioner Sadak 2012-10-17, 18:34
yes operations like liststatus and GETCONTENTSUMMARY etc are wrking just
OPEN is not wrking coz the redirect url it generates is http://localhost:50075/webhdfs/v1/user/test.jpg?op=OPEN&namenoderpcaddress=112.30.123.711:8020&offset=0 now when i replace the localhost with *112.30.123.711 it wrks *dunt know why it takes localhost automatically ** ** ** On Wed, Oct 17, 2012 at 11:54 PM, Arpit Gupta <[EMAIL PROTECTED]> wrote: > does any other webhdfs call work for you? > > for example can you do this > > http://localhost:50070/webhdfs/v1/user/test.jpg<http://localhost:50070/webhdfs/v1/user/test.jpg?op=> > ?OP=liststatus<http://localhost:50070/webhdfs/v1/tmp/passwd12/?OP=liststatus> > > I tried 0.23.4 and setup a single node cluster and was able to make the > calls. > > -- > Arpit Gupta > Hortonworks Inc. > http://hortonworks.com/ > <http://www.hadoopsummit.org/> > > On Oct 17, 2012, at 11:17 AM, Visioner Sadak <[EMAIL PROTECTED]> > wrote: > > I guess my temporary redirect in webhdfs is not getting properly done , > its pointing to localhost instead of ip address am i missing any > configurations all my conf files have ip address only... > > On Wed, Oct 17, 2012 at 2:45 PM, Visioner Sadak <[EMAIL PROTECTED]>wrote: > >> >> http://112.30.123.711:50070/webhdfs/v1/user/test.jpg?op=OPEN >> >> whn i use my linux box ip *112.30.123.711 it points to * >> >> >> http://localhost:50075/webhdfs/v1/user/test.jpg?op=OPEN&namenoderpcaddress=112.30.123.711:8020&offset=0 >> >> localhost hw to bring in linux box ip in here ??? >> >> >> >> >> >> >> On Wed, Oct 17, 2012 at 2:37 PM, Visioner Sadak <[EMAIL PROTECTED] >> > wrote: >> >>> have configured webhdfs in hdfs-site.xml >>> >>> as >>> >>> <property> >>> <name>dfs.webhdfs.enabled</name> >>> <value>true</value> >>> </property> >>> but unable to access my file at >>> >>> http://localhost:50070/webhdfs/v1/user/test.jpg?op=OPEN >>> >>> also tried >>> >>> http://localhost:50075/webhdfs/v1/user/test.jpg?op=OPEN getting >>> exception in browser >>> >>> >>> >>> {"RemoteException":{"exception":"IllegalArgumentException","javaClassName": >>> >>> "java.lang.IllegalArgumentException","message":"Expecting exactly one of nameNodeAddr and rpcNamenode being null: nameNodeAddr=null, rpcNamenode=null"}} >>> >>> >>> >>> >>> >> >> > > +
Visioner Sadak 2012-10-18, 11:53
|