Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 407229E45 for ; Thu, 19 Jan 2012 17:02:04 +0000 (UTC) Received: (qmail 61113 invoked by uid 500); 19 Jan 2012 17:02:04 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 61058 invoked by uid 500); 19 Jan 2012 17:02:03 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 60956 invoked by uid 99); 19 Jan 2012 17:02:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jan 2012 17:02:03 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jan 2012 17:02:02 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 2700E15563F for ; Thu, 19 Jan 2012 17:01:42 +0000 (UTC) Date: Thu, 19 Jan 2012 17:01:42 +0000 (UTC) From: "Brandon Williams (Updated) (JIRA)" To: commits@cassandra.apache.org Message-ID: <447530968.56571.1326992502161.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1430634474.37683.1326456880558.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (CASSANDRA-3740) While using BulkOutputFormat unneccessarily look for the cassandra.yaml file. 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/CASSANDRA-3740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brandon Williams updated CASSANDRA-3740: ---------------------------------------- Attachment: 0004-update-BOF-for-new-dir-layout.txt > While using BulkOutputFormat unneccessarily look for the cassandra.yaml file. > ------------------------------------------------------------------------------ > > Key: CASSANDRA-3740 > URL: https://issues.apache.org/jira/browse/CASSANDRA-3740 > Project: Cassandra > Issue Type: Bug > Components: Hadoop > Affects Versions: 1.1 > Reporter: Samarth Gahire > Assignee: Brandon Williams > Labels: cassandra, hadoop, mapreduce > Fix For: 1.1 > > Attachments: 0001-Make-DD-the-canonical-partitioner-source.txt, 0002-Prevent-loading-from-yaml.txt, 0003-use-output-partitioner.txt, 0004-update-BOF-for-new-dir-layout.txt > > > I am trying to use BulkOutputFormat to stream the data from map of Hadoop job. I have set the cassandra related configuration using ConfigHelper ,Also have looked into Cassandra code seems Cassandra has taken care that it should not look for the cassandra.yaml file. > But still when I run the job i get the following error: > { > 12/01/13 11:30:04 WARN mapred.JobClient: Use GenericOptionsParser for parsing the arguments. Applications should implement Tool for the same. > 12/01/13 11:30:04 INFO input.FileInputFormat: Total input paths to process : 1 > 12/01/13 11:30:04 INFO mapred.JobClient: Running job: job_201201130910_0015 > 12/01/13 11:30:05 INFO mapred.JobClient: map 0% reduce 0% > 12/01/13 11:30:23 INFO mapred.JobClient: Task Id : attempt_201201130910_0015_m_000000_0, Status : FAILED > java.lang.Throwable: Child Error > at org.apache.hadoop.mapred.TaskRunner.run(TaskRunner.java:271) > Caused by: java.io.IOException: Task process exit with nonzero status of 1. > at org.apache.hadoop.mapred.TaskRunner.run(TaskRunner.java:258) > attempt_201201130910_0015_m_000000_0: Cannot locate cassandra.yaml > attempt_201201130910_0015_m_000000_0: Fatal configuration error; unable to start server. > } > Also let me know how can i make this cassandra.yaml file available to Hadoop mapreduce job? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira