From user-return-5324-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Tue Jun 30 04:11:55 2009 Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 91201 invoked from network); 30 Jun 2009 04:11:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 30 Jun 2009 04:11:55 -0000 Received: (qmail 29975 invoked by uid 500); 30 Jun 2009 04:12:04 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 29894 invoked by uid 500); 30 Jun 2009 04:12:04 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 29884 invoked by uid 99); 30 Jun 2009 04:12:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Jun 2009 04:12:03 +0000 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of nborwankar@gmail.com designates 209.85.210.180 as permitted sender) Received: from [209.85.210.180] (HELO mail-yx0-f180.google.com) (209.85.210.180) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Jun 2009 04:11:55 +0000 Received: by yxe10 with SMTP id 10so2187852yxe.13 for ; Mon, 29 Jun 2009 21:11:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=XrgXB8cQqcxjlnhWjXotD6BtFlZQTcO1LzhyhSzm0rk=; b=LjnavxMaSKklZkIfyW/nV1oB+qGkXf3Z51p9AGANJBEiw58tbvlj64CKxJXUQgJjyg 0IGO/cc2F3ITpAN9ey5CbQkfNmyl1f2Fd+V82lqBLCvODV3UdqXw3TJzzVkNGhowxLBt QFqid98QJA8gptIM5TfLY76DNIMnzXUAsr1vg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=emEcA2LW+dErO6YsgD5OOU6/5IEdcmEEFmOWoEVkVAQmsPkqD4t1pHnZJIaT5jp5pX DH7tA8YMWBzDM0UAuFOYCxrBS79eEnNZ32dOh4PbxAgLsqNSBTsPhFOBssMnfPJxwu+P hpoM6Vxa69OMk3iHwV1dB6kDMSftF52EmxSlQ= MIME-Version: 1.0 Sender: nborwankar@gmail.com Received: by 10.231.13.69 with SMTP id b5mr1026834iba.40.1246335094360; Mon, 29 Jun 2009 21:11:34 -0700 (PDT) Date: Mon, 29 Jun 2009 21:11:34 -0700 X-Google-Sender-Auth: f7360f7c0da3df09 Message-ID: <921000906292111x5ca5cbbbh9b7b3aa7e9d123dc@mail.gmail.com> Subject: chunked encoding problem ? - error messages from curl as well as lucene From: Nitin Borwankar To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=002215046cab9209f7046d890015 X-Virus-Checked: Checked by ClamAV on apache.org --002215046cab9209f7046d890015 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi, I uploaded about 11K + docs total 230MB or so of data to a 0.9 instance on Ubuntu. Db name is 'plist' curl http://localhost:5984/plist gives {"db_name":"plist","doc_count":11036,"doc_del_count":0,"update_seq":11036,"purge_seq":0, "compact_running":false,"disk_size":243325178,"instance_start_time":"1246228896723181"} suggesting a non-corrupt db curl http://localhost:5984/plist/_all_docs gives {"id":"adnanmoh","key":"adnanmoh","value":{"rev":"1-663736558"}}, {"id":"adnen.chockri","key":"adnen.chockri","value":{"rev":"1-1209124545"}}, curl: (56) Received problem 2 in the chunky parser <<--------- note curl error {"id":"ado.adamu","key":"ado.adamu","value":{"rev":"1-4226951654"}} suggesting a chunked data transfer error couchdb-lucene error message in couchdb.stderr reads [...] [couchdb-lucene] INFO Indexing plist from scratch. [couchdb-lucene] ERROR Error updating index. java.io.IOException: CRLF expected at end of chunk: 83/101 at org.apache.commons.httpclient.ChunkedInputStream.readCRLF(ChunkedInputStream.java:207) at org.apache.commons.httpclient.ChunkedInputStream.nextChunk(ChunkedInputStream.java:219) at org.apache.commons.httpclient.ChunkedInputStream.read(ChunkedInputStream.java:176) at org.apache.commons.httpclient.ChunkedInputStream.read(ChunkedInputStream.java:196) at org.apache.commons.httpclient.ChunkedInputStream.exhaustInputStream(ChunkedInputStream.java:369) at org.apache.commons.httpclient.ChunkedInputStream.close(ChunkedInputStream.java:346) at java.io.FilterInputStream.close(FilterInputStream.java:159) at org.apache.commons.httpclient.AutoCloseInputStream.notifyWatcher(AutoCloseInputStream.java:194) at org.apache.commons.httpclient.AutoCloseInputStream.close(AutoCloseInputStream.java:158) at com.github.rnewson.couchdb.lucene.Database.execute(Database.java:141) at com.github.rnewson.couchdb.lucene.Database.get(Database.java:107) at com.github.rnewson.couchdb.lucene.Database.getAllDocsBySeq(Database.java:82) at com.github.rnewson.couchdb.lucene.Index$Indexer.updateDatabase(Index.java:229) at com.github.rnewson.couchdb.lucene.Index$Indexer.updateIndex(Index.java:178) at com.github.rnewson.couchdb.lucene.Index$Indexer.run(Index.java:90) at java.lang.Thread.run(Thread.java:595) suggesting a chunking problem again. Who is creating this problem - my data? CouchDB chunking ? Help? 37% of all statistics are made up on the spot ------------------------------------------------------------------------------------- Nitin Borwankar nborwankar@gmail.com --002215046cab9209f7046d890015--