Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 99049 invoked from network); 15 Jan 2010 20:07:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Jan 2010 20:07:15 -0000 Received: (qmail 37679 invoked by uid 500); 15 Jan 2010 20:07:15 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 37629 invoked by uid 500); 15 Jan 2010 20:07:15 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 37618 invoked by uid 99); 15 Jan 2010 20:07:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jan 2010 20:07:15 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jan 2010 20:07:14 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 913EE234C4B4 for ; Fri, 15 Jan 2010 12:06:54 -0800 (PST) Message-ID: <764655027.273481263586014593.JavaMail.jira@brutus.apache.org> Date: Fri, 15 Jan 2010 20:06:54 +0000 (UTC) From: "Todd Lipcon (JIRA)" To: hdfs-issues@hadoop.apache.org Subject: [jira] Commented: (HDFS-872) DFSClient 0.20.1 is incompatible with HDFS 0.20.2 In-Reply-To: <1956796097.72441262801394446.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12800889#action_12800889 ] Todd Lipcon commented on HDFS-872: ---------------------------------- Hey Hairong, What would be easiest to review? A single patch that incorporates both HDFS-793 and HDFS-101? Or first a compatible patch of HDFS-793, and then after that's reviewed a backport of 101 on top of that? > DFSClient 0.20.1 is incompatible with HDFS 0.20.2 > ------------------------------------------------- > > Key: HDFS-872 > URL: https://issues.apache.org/jira/browse/HDFS-872 > Project: Hadoop HDFS > Issue Type: Bug > Affects Versions: 0.20.1, 0.20.2 > Reporter: Bassam Tabbara > Assignee: Todd Lipcon > Fix For: 0.20.2 > > Attachments: hdfs-872.txt > > > After upgrading to that latest HDFS 0.20.2 (r896310 from /branches/branch-0.20), old DFS clients (0.20.1) seem to not work anymore. HBase uses the 0.20.1 hadoop core jars and the HBase master will no longer startup. Here is the exception from the HBase master log: > {code} > 2010-01-06 09:59:46,762 WARN org.apache.hadoop.hdfs.DFSClient: DFS Read: java.io.IOException: Could not obtain block: blk_338051 > 2596555557728_1002 file=/hbase/hbase.version > at org.apache.hadoop.hdfs.DFSClient$DFSInputStream.chooseDataNode(DFSClient.java:1788) > at org.apache.hadoop.hdfs.DFSClient$DFSInputStream.blockSeekTo(DFSClient.java:1616) > at org.apache.hadoop.hdfs.DFSClient$DFSInputStream.read(DFSClient.java:1743) > at org.apache.hadoop.hdfs.DFSClient$DFSInputStream.read(DFSClient.java:1673) > at java.io.DataInputStream.readUnsignedShort(DataInputStream.java:320) > at java.io.DataInputStream.readUTF(DataInputStream.java:572) > at org.apache.hadoop.hbase.util.FSUtils.getVersion(FSUtils.java:189) > at org.apache.hadoop.hbase.util.FSUtils.checkVersion(FSUtils.java:208) > at org.apache.hadoop.hbase.master.HMaster.(HMaster.java:208) > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) > at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) > at java.lang.reflect.Constructor.newInstance(Constructor.java:513) > at org.apache.hadoop.hbase.master.HMaster.doMain(HMaster.java:1241) > at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:1282) > 2010-01-06 09:59:46,763 FATAL org.apache.hadoop.hbase.master.HMaster: Not starting HMaster because: > java.io.IOException: Could not obtain block: blk_3380512596555557728_1002 file=/hbase/hbase.version > at org.apache.hadoop.hdfs.DFSClient$DFSInputStream.chooseDataNode(DFSClient.java:1788) > at org.apache.hadoop.hdfs.DFSClient$DFSInputStream.blockSeekTo(DFSClient.java:1616) > at org.apache.hadoop.hdfs.DFSClient$DFSInputStream.read(DFSClient.java:1743) > at org.apache.hadoop.hdfs.DFSClient$DFSInputStream.read(DFSClient.java:1673) > at java.io.DataInputStream.readUnsignedShort(DataInputStream.java:320) > at java.io.DataInputStream.readUTF(DataInputStream.java:572) > at org.apache.hadoop.hbase.util.FSUtils.getVersion(FSUtils.java:189) > at org.apache.hadoop.hbase.util.FSUtils.checkVersion(FSUtils.java:208) > at org.apache.hadoop.hbase.master.HMaster.(HMaster.java:208) > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) > at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) > at java.lang.reflect.Constructor.newInstance(Constructor.java:513) > at org.apache.hadoop.hbase.master.HMaster.doMain(HMaster.java:1241) > at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:1282) > {code} > If I switch the hadoop jars in the hbase/lib directory with 0.20.2 version it works well, which what led me to open this bug here and not in the HBASE project. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.