Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 1CEAA200B16 for ; Mon, 20 Jun 2016 10:42:08 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1BC1E160A66; Mon, 20 Jun 2016 08:42:08 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6941B160A55 for ; Mon, 20 Jun 2016 10:42:07 +0200 (CEST) Received: (qmail 24208 invoked by uid 500); 20 Jun 2016 08:42:05 -0000 Mailing-List: contact dev-help@gora.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@gora.apache.org Delivered-To: mailing list dev@gora.apache.org Received: (qmail 23824 invoked by uid 99); 20 Jun 2016 08:42:05 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Jun 2016 08:42:05 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8ECBC2C1F61 for ; Mon, 20 Jun 2016 08:42:05 +0000 (UTC) Date: Mon, 20 Jun 2016 08:42:05 +0000 (UTC) From: "Giorgos Adam (JIRA)" To: dev@gora.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (GORA-416) Error when populating data into Cassandra super column - InvalidRequestException(why:supercolumn parameter is not optional for super CF sc MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 20 Jun 2016 08:42:08 -0000 [ https://issues.apache.org/jira/browse/GORA-416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15339163#comment-15339163 ] Giorgos Adam commented on GORA-416: ----------------------------------- Hi [~lewismc], I bumped as well into this issue and I tried to update the cassandra driver to 2.0.16 but the issue still appears. Then I tried to apply your [patch|https://github.com/apache/gora/pull/22] and FetcherJob is not complaining anymore. Could you please elaborate more on why your initial patch is not working properly? > Error when populating data into Cassandra super column - InvalidRequestException(why:supercolumn parameter is not optional for super CF sc > ------------------------------------------------------------------------------------------------------------------------------------------ > > Key: GORA-416 > URL: https://issues.apache.org/jira/browse/GORA-416 > Project: Apache Gora > Issue Type: Bug > Components: gora-cassandra > Affects Versions: 0.6 > Environment: Nutch 2.4-SNAPSHOT, Gora 0.6.1-SNAPSHOT, Hadoop 2.5.2, Cassandra 2.0.7 > Reporter: Lewis John McGibbney > Assignee: Lewis John McGibbney > Fix For: 0.8 > > Attachments: GORA-416.patch > > > Error when populating data into Cassandra super column. > {code} > lmcgibbn@LMC-032857 /usr/local/2webgui/runtime/local(master) $ ./bin/nutch fetch 1425410774-370456822 > FetcherJob: starting at 2015-03-03 11:27:57 > FetcherJob: batchId: 1425410774-370456822 > FetcherJob: threads: 10 > FetcherJob: parsing: false > FetcherJob: resuming: false > FetcherJob : timelimit set for : -1 > 2015-03-03 11:27:58.101 java[3267:1903] Unable to load realm info from SCDynamicStore > Using queue mode : byHost > Fetcher: threads: 10 > QueueFeeder finished: total 1 records. Hit by time limit :0 > fetching http://nutch.apache.org/ (queue crawl delay=5000ms) > -finishing thread FetcherThread1, activeThreads=1 > -finishing thread FetcherThread2, activeThreads=1 > -finishing thread FetcherThread3, activeThreads=1 > -finishing thread FetcherThread4, activeThreads=1 > -finishing thread FetcherThread5, activeThreads=1 > -finishing thread FetcherThread6, activeThreads=1 > -finishing thread FetcherThread7, activeThreads=1 > -finishing thread FetcherThread8, activeThreads=1 > Fetcher: throughput threshold: -1 > -finishing thread FetcherThread9, activeThreads=1 > Fetcher: throughput threshold sequence: 5 > -finishing thread FetcherThread0, activeThreads=0 > 0/0 spinwaiting/active, 1 pages, 0 errors, 0.2 0 pages/s, 82 82 kb/s, 0 URLs in 0 queues > -activeThreads=0 > me.prettyprint.hector.api.exceptions.HInvalidRequestException: InvalidRequestException(why:supercolumn parameter is not optional for super CF sc) > at me.prettyprint.cassandra.service.ExceptionsTranslatorImpl.translate(ExceptionsTranslatorImpl.java:52) > at me.prettyprint.cassandra.connection.HConnectionManager.operateWithFailover(HConnectionManager.java:260) > at me.prettyprint.cassandra.model.ExecutingKeyspace.doExecuteOperation(ExecutingKeyspace.java:113) > at me.prettyprint.cassandra.model.MutatorImpl.execute(MutatorImpl.java:243) > at me.prettyprint.cassandra.model.MutatorImpl.insert(MutatorImpl.java:69) > at org.apache.gora.cassandra.store.HectorUtils.insertColumn(HectorUtils.java:46) > at org.apache.gora.cassandra.store.CassandraClient.addColumn(CassandraClient.java:293) > at org.apache.gora.cassandra.store.CassandraStore.addOrUpdateField(CassandraStore.java:512) > at org.apache.gora.cassandra.store.CassandraStore.addOrUpdateField(CassandraStore.java:598) > at org.apache.gora.cassandra.store.CassandraStore.flush(CassandraStore.java:316) > at org.apache.gora.cassandra.store.CassandraStore.close(CassandraStore.java:160) > at org.apache.gora.mapreduce.GoraRecordWriter.close(GoraRecordWriter.java:56) > at org.apache.hadoop.mapred.ReduceTask$NewTrackingRecordWriter.close(ReduceTask.java:550) > at org.apache.hadoop.mapred.ReduceTask.runNewReducer(ReduceTask.java:629) > at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:389) > at org.apache.hadoop.mapred.LocalJobRunner$Job$ReduceTaskRunnable.run(LocalJobRunner.java:319) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > at java.util.concurrent.FutureTask.run(FutureTask.java:262) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:745) > Caused by: InvalidRequestException(why:supercolumn parameter is not optional for super CF sc) > at org.apache.cassandra.thrift.Cassandra$batch_mutate_result$batch_mutate_resultStandardScheme.read(Cassandra.java:28082) > at org.apache.cassandra.thrift.Cassandra$batch_mutate_result$batch_mutate_resultStandardScheme.read(Cassandra.java:28068) > at org.apache.cassandra.thrift.Cassandra$batch_mutate_result.read(Cassandra.java:28002) > at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78) > at org.apache.cassandra.thrift.Cassandra$Client.recv_batch_mutate(Cassandra.java:1060) > at org.apache.cassandra.thrift.Cassandra$Client.batch_mutate(Cassandra.java:1046) > at me.prettyprint.cassandra.model.MutatorImpl$3.execute(MutatorImpl.java:246) > at me.prettyprint.cassandra.model.MutatorImpl$3.execute(MutatorImpl.java:243) > at me.prettyprint.cassandra.service.Operation.executeAndSetResult(Operation.java:104) > at me.prettyprint.cassandra.connection.HConnectionManager.operateWithFailover(HConnectionManager.java:253) > ... 19 more > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)