Return-Path: Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: (qmail 59674 invoked from network); 15 Apr 2011 12:08:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Apr 2011 12:08:05 -0000 Received: (qmail 67430 invoked by uid 500); 15 Apr 2011 12:08:05 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 67320 invoked by uid 500); 15 Apr 2011 12:08:04 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Delivered-To: moderator for hdfs-dev@hadoop.apache.org Received: (qmail 1182 invoked by uid 99); 14 Apr 2011 23:24:36 -0000 X-ASF-Spam-Status: No, hits=2.9 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) MIME-Version: 1.0 X-Originating-IP: [64.105.168.204] In-Reply-To: References: From: Ted Dunning Date: Thu, 14 Apr 2011 16:23:48 -0700 Message-ID: Subject: Re: silent data loss during append To: hdfs-user@hadoop.apache.org Cc: Thanh Do , hdfs-dev@hadoop.apache.org Content-Type: multipart/alternative; boundary=0023547c8ae5d3b6bc04a0e938a0 X-Virus-Checked: Checked by ClamAV on apache.org --0023547c8ae5d3b6bc04a0e938a0 Content-Type: text/plain; charset=ISO-8859-1 What version are you using? On Thu, Apr 14, 2011 at 3:55 PM, Thanh Do wrote: > Hi all, > > I have recently seen silent data loss in our system. > Here is the case: > > 1. client appends to some block > 2. for some reason, commitBlockSynchronization > returns successfully with synclist = [] (i.e empty) > 3. in the client code, NO exception is thrown, and > client appends successfully. > 4. However, the block replicas are then removed from > datanodes, causing data loss. > > Have any one seen this before? > Is this behavior by design or a bug? > > Many thanks, > Thanh > > > > --0023547c8ae5d3b6bc04a0e938a0--