Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5AB837F01 for ; Wed, 14 Sep 2011 19:20:05 +0000 (UTC) Received: (qmail 31509 invoked by uid 500); 14 Sep 2011 19:20:03 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 31484 invoked by uid 500); 14 Sep 2011 19:20:03 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 31476 invoked by uid 99); 14 Sep 2011 19:20:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Sep 2011 19:20:03 +0000 X-ASF-Spam-Status: No, hits=1.6 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mccloud35@gmail.com designates 74.125.83.43 as permitted sender) Received: from [74.125.83.43] (HELO mail-gw0-f43.google.com) (74.125.83.43) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Sep 2011 19:19:58 +0000 Received: by gwm11 with SMTP id 11so2176835gwm.30 for ; Wed, 14 Sep 2011 12:19:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=1A5RBsXqhm8d5/Gu8cQI3ycChfcRv7COo4/JSxEdR10=; b=tgctu9giB8uZ2WGTaTWANagGwAv+Oq7sdjsAZd+uLNEqJeHH8Tdn+4ugTL8DCSdEJK Urs0DbFtYbTcYhBkQPXcplY/l04zGh/BUV0wxN8bo+wCoZ0WJSxe7bfMRRnng9gDiYNV kiYzHFenhHLjbKJnhrMbi66sjPUfyE1vjDzJU= MIME-Version: 1.0 Received: by 10.236.73.195 with SMTP id v43mr1549393yhd.5.1316027977258; Wed, 14 Sep 2011 12:19:37 -0700 (PDT) Received: by 10.236.208.195 with HTTP; Wed, 14 Sep 2011 12:19:37 -0700 (PDT) Date: Thu, 15 Sep 2011 00:49:37 +0530 Message-ID: Subject: Exception in Hadoop Word Count sample From: Tharindu Mathew To: user Content-Type: multipart/alternative; boundary=20cf300512f21956b504aceba451 --20cf300512f21956b504aceba451 Content-Type: text/plain; charset=ISO-8859-1 I see $subject. Can anyone help me to rectify this? Stacktrace: Exception in thread "main" org.apache.thrift.TApplicationException: Required field 'replication_factor' was not found in serialized data! Struct: KsDef(name:wordcount, strategy_class:org.apache.cassandra.locator.SimpleStrategy, strategy_options:{replication_factor=1}, replication_factor:0, cf_defs:[CfDef(keyspace:wordcount, name:input_words, column_type:Standard, comparator_type:AsciiType, default_validation_class:AsciiType), CfDef(keyspace:wordcount, name:output_words, column_type:Standard, comparator_type:AsciiType, default_validation_class:AsciiType), CfDef(keyspace:wordcount, name:input_words_count, column_type:Standard, comparator_type:UTF8Type, default_validation_class:CounterColumnType)]) at org.apache.thrift.TApplicationException.read(TApplicationException.java:108) at org.apache.cassandra.thrift.Cassandra$Client.recv_system_add_keyspace(Cassandra.java:1531) at org.apache.cassandra.thrift.Cassandra$Client.system_add_keyspace(Cassandra.java:1514) at WordCountSetup.setupKeyspace(Unknown Source) at WordCountSetup.main(Unknown Source) -- Regards, Tharindu blog: http://mackiemathew.com/ --20cf300512f21956b504aceba451 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I see $subject. Can anyone help me to rectify this?

Stacktrace:

Exception in thread "main&q= uot; org.apache.thrift.TApplicationException: Required field 'replicati= on_factor' was not found in serialized data! Struct: KsDef(name:wordcou= nt, strategy_class:org.apache.cassandra.locator.SimpleStrategy, strategy_op= tions:{replication_factor=3D1}, replication_factor:0, cf_defs:[CfDef(keyspa= ce:wordcount, name:input_words, column_type:Standard, comparator_type:Ascii= Type, default_validation_class:AsciiType), CfDef(keyspace:wordcount, name:o= utput_words, column_type:Standard, comparator_type:AsciiType, default_valid= ation_class:AsciiType), CfDef(keyspace:wordcount, name:input_words_count, c= olumn_type:Standard, comparator_type:UTF8Type, default_validation_class:Cou= nterColumnType)])
at or= g.apache.thrift.TApplicationException.read(TApplicationException.java:108)<= /div>
= at org.apache.cassandra.thrift.Cassandra$Client.recv_system_add_keyspace(Ca= ssandra.java:1531)
at or= g.apache.cassandra.thrift.Cassandra$Client.system_add_keyspace(Cassandra.ja= va:1514)
at WordCountSetup.setupKeyspace(Unknown Source)
at Wo= rdCountSetup.main(Unknown Source)

--
Regards,
Tharindu


--20cf300512f21956b504aceba451--