hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yossale <yoss...@gmail.com>
Subject Re: SecondaryNameNode on separate machine
Date Wed, 12 Nov 2008 16:09:06 GMT

>Now SecondaryNameNode connects to the NameNode (after I configured
>dfs.http.address to the NN's http server -> NN hostname on port 50070)
>and creates(transfers) edits and fsimage from NameNode.

It didn't work for me - I get an error: 
java.io.FileNotFoundException:
http://192.168.30.5:50070/getimage?putimage=1&port=50090&machine=127.0.0.1&token=-16:1173009257:0:1226503705000:1226503705207
        at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1168)
        at
org.apache.hadoop.dfs.TransferFsImage.getFileClient(TransferFsImage.java:150)
        at
org.apache.hadoop.dfs.SecondaryNameNode.putFSImage(SecondaryNameNode.java:271)
        at
org.apache.hadoop.dfs.SecondaryNameNode.doCheckpoint(SecondaryNameNode.java:311)
        at
org.apache.hadoop.dfs.SecondaryNameNode.run(SecondaryNameNode.java:216)
        at java.lang.Thread.run(Thread.java:595)

And when I run the http request directly (in the browser) , I receive this : 
GetImage failed. java.io.IOException: Namenode is not expecting an new image
UPLOAD_START
	at
org.apache.hadoop.dfs.FSImage.validateCheckpointUpload(FSImage.java:1193)
	at org.apache.hadoop.dfs.GetImageServlet.doGet(GetImageServlet.java:57)
        ...... 

If it is a mundane thing (i.e "not need to check point now" ) why does it
throw an Error? What is the "UPLOAD_START" at the end of the message? (if it
failed , how come it starts?) - but more importantly - how do I get rid of
it? 

Thanks!


-- 
View this message in context: http://www.nabble.com/SecondaryNameNode-on-separate-machine-tp20207482p20463349.html
Sent from the Hadoop core-user mailing list archive at Nabble.com.


Mime
View raw message