hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arpit Gupta <ar...@hortonworks.com>
Subject Re: webhdfs is inaccessible
Date Tue, 22 May 2012 04:27:59 GMT
Add the following to your hdfs-site.xml and restart namenode and datanode

    <description>to enable webhdfs</description>

Arpit Gupta
Hortonworks Inc.

On May 21, 2012, at 9:23 PM, Brendan cheng wrote:

> Hi,
> I followed single-node setup and successfully installed.  HDFS run on 50070 website.
> but I can't curl it 
> curl -i -X PUT ""HTTP/1.1
405 HTTP method PUT is not supported by this URLContent-Length: 0Server: Jetty(6.1.26)
> I also update the hdfs-site-xml file with following property:
> <property>  		<name>dfs.web.ugi</name>  		<value>brendan,brendan</value>
 		<description>The user account used by the web interface.    	Syntax: USERNAME,GROUP1,GROUP2,
...</description>	</property>
> and brendan is the user I used to install and format the namenode.
> what else do I need to setup?
> Brendan 		 	   		  

View raw message