Return-Path: Delivered-To: apmail-hadoop-core-user-archive@www.apache.org Received: (qmail 48682 invoked from network); 12 Nov 2008 16:09:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Nov 2008 16:09:44 -0000 Received: (qmail 45904 invoked by uid 500); 12 Nov 2008 16:09:45 -0000 Delivered-To: apmail-hadoop-core-user-archive@hadoop.apache.org Received: (qmail 45756 invoked by uid 500); 12 Nov 2008 16:09:44 -0000 Mailing-List: contact core-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-user@hadoop.apache.org Delivered-To: mailing list core-user@hadoop.apache.org Received: (qmail 45745 invoked by uid 99); 12 Nov 2008 16:09:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Nov 2008 08:09:44 -0800 X-ASF-Spam-Status: No, hits=4.1 required=10.0 tests=DNS_FROM_OPENWHOIS,NORMAL_HTTP_TO_IP,SPF_HELO_PASS,SPF_PASS,WEIRD_PORT,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Nov 2008 16:08:23 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1L0IHC-00044s-7X for core-user@hadoop.apache.org; Wed, 12 Nov 2008 08:09:06 -0800 Message-ID: <20463349.post@talk.nabble.com> Date: Wed, 12 Nov 2008 08:09:06 -0800 (PST) From: yossale To: core-user@hadoop.apache.org Subject: Re: SecondaryNameNode on separate machine In-Reply-To: <1225717848.6545.24.camel@tpoljak-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: yossale@gmail.com References: <1225201444.6502.67.camel@tpoljak-laptop> <31a243e70810281714s40fab599n7a8a15882eb297de@mail.gmail.com> <996579.53071.qm@web50310.mail.re2.yahoo.com> <31a243e70810290608j21aa6e03v8bf1c4dd49bdeea2@mail.gmail.com> <1225317786.6500.101.camel@tpoljak-laptop> <4908ED74.2070807@yahoo-inc.com> <1225389138.13755.6.camel@tpoljak-laptop> <972612.310.qm@web50311.mail.re2.yahoo.com> <490B5096.7050906@yahoo-inc.com> <1225717848.6545.24.camel@tpoljak-laptop> X-Virus-Checked: Checked by ClamAV on apache.org >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.