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 A1C6C173F6 for ; Sat, 11 Apr 2015 17:14:11 +0000 (UTC) Received: (qmail 27989 invoked by uid 500); 11 Apr 2015 17:14:07 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 27948 invoked by uid 500); 11 Apr 2015 17:14:06 -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 27938 invoked by uid 99); 11 Apr 2015 17:14:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Apr 2015 17:14:06 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_IMAGE_RATIO_06,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_REMOTE_IMAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sebastian.estevez@datastax.com designates 209.85.220.173 as permitted sender) Received: from [209.85.220.173] (HELO mail-qk0-f173.google.com) (209.85.220.173) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Apr 2015 17:14:03 +0000 Received: by qku63 with SMTP id 63so87469593qku.3 for ; Sat, 11 Apr 2015 10:13:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=datastax.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=nYS07QCKYWXVGN22XkJMI549N0Wc0y0ieUDO2AIAuXc=; b=wdddeURwVZNXLo2XToI5wKZ/mNnRHl/kJMdSp3V0v5ds8lp9ZKJf3V94elCmxT+96+ 6Yp+f9XrFm4BH8G1eKdX0L9Oyqod7X9g4yAgQjzYCGPEiX9CxhMGf/ahlGWOAzB/bFtH UMfFyZcnobj4EeGk+mSFeqU9CRdQfGTDIqlmU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=nYS07QCKYWXVGN22XkJMI549N0Wc0y0ieUDO2AIAuXc=; b=EU0zlkw46AQUuu0NUoXFzy+nvL8WcNVOOLeIoUDZYPdw8tTh1vJGPwVWZGOw6dJcS9 C76tFFSv0Ie6nebhJid7L6sIVbFVL+dSw2UMYKvPDdz0YA/6rbNzUwjoIEunZp6Um+YE C2Yrl1AwcrVDhIGTUC025DMwJVjQzUTYnBOcA05AlMukehrcSYG4oMv7BSLEhGMuWj05 0/rSF1ljyaeHeOZeiP4h4YCxL1vLlTjlqE3ZxWt/xFFD/jMKw99vTmCO0CYSLc5QSJ3f 1Bq25REr0083icglG5Qb2PncQEbSb9p/l89Wgp4VZRTieCpRhFkoMx4gUCqIQpMb2QnK M8hg== X-Gm-Message-State: ALoCoQkc4+xmy+dn6fx6NIO9VOh1OViKIIBYicGbb67V7oCMpBmjuEUxOSuWszAEqtWFbF61brS5 X-Received: by 10.140.40.74 with SMTP id w68mr8187899qgw.58.1428772422654; Sat, 11 Apr 2015 10:13:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.226.17 with HTTP; Sat, 11 Apr 2015 10:13:22 -0700 (PDT) In-Reply-To: References: From: Sebastian Estevez Date: Sat, 11 Apr 2015 12:13:22 -0500 Message-ID: Subject: Re: hi error in importing the csv file to cassandra To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=001a11c13792b7b6ef05137600eb X-Virus-Checked: Checked by ClamAV on apache.org --001a11c13792b7b6ef05137600eb Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Is that an error with the copy command? Give this loader a try. It's pretty user friendly: https://github.com/brianmhess/cassandra-loader All the best, [image: datastax_logo.png] Sebasti=C3=A1n Est=C3=A9vez Solutions Architect | 954 905 8615 | sebastian.estevez@datastax.com [image: linkedin.png] [image: facebook.png] [image: twitter.png] [image: g+.png] DataStax is the fastest, most scalable distributed database technology, delivering Apache Cassandra to the world=E2=80=99s most innovative enterpri= ses. Datastax is built to be agile, always-on, and predictably scalable to any size. With more than 500 customers in 45 countries, DataStax is the database technology and transactional backbone of choice for the worlds most innovative companies such as Netflix, Adobe, Intuit, and eBay. On Sat, Apr 11, 2015 at 10:23 AM, Divya Divs wrote: > hi everyone, > Please help me to rectify the following error. tell me > how to import the csv files in to cassandra. give me sample > queries.Thanks in advance. > > Error starting import process: > > Can't pickle : it's not found as thread.lock > can only join a started process > cqlsh:sample> Traceback (most recent call last): > File "", line 1, in > File "C:\Python27\lib\multiprocessing\forking.py", line 346, in main > prepare(preparation_data) > File "C:\Python27\lib\multiprocessing\forking.py", line 455, in prepare > file, path_name, etc =3D imp.find_module(main_name, dirs) > > > Regards, > Divya > --001a11c13792b7b6ef05137600eb Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Is that an error with the copy command?

Give this loader a try. It's pretty user friendly:

All the best,


3D"datastax_logo.png"

Sebasti=C3=A1n Est=C3=A9vez

Solutions Architect | 954 905= 8615 | sebastian.estevez@datastax.com

3D"l= 3D"twitter.png" 3D"g+.png" =



DataStax is = the fastest, most scalable distributed database technology, delivering Apache C= assandra to the world=E2=80=99s most innovative enterprises. Datastax is bu= ilt to be agile, always-on, and predictably scalable to any size. With more= than 500 customers in 45 countries, DataStax is = the database technology and transactional backbone of choice for the worlds= most innovative companies such as Netflix, Adobe, Intuit, and eBay.=

On Sat, Apr 11, 2015 at 10:23 AM, Divya Divs= <divya.divi2412@gmail.com> wrote:
hi everyone,
Please help = me to rectify the following error. tell me
=C2=A0how to import th= e csv files in to cassandra. give me sample queries.Thanks in advance.

Error starting import process:

Can't pickle <type 'thread.lock'>: it's not found a= s thread.lock
can only join a started process
cqlsh:sam= ple> Traceback (most recent call last):
=C2=A0 File "<= string>", line 1, in <module>
=C2=A0 File "C:\= Python27\lib\multiprocessing\forking.py", line 346, in main
= =C2=A0 =C2=A0 prepare(preparation_data)
=C2=A0 File "C:\Pyth= on27\lib\multiprocessing\forking.py", line 455, in prepare
= =C2=A0 =C2=A0 file, path_name, etc =3D imp.find_module(main_name, dirs)


Regards,
Divya

--001a11c13792b7b6ef05137600eb--