[ 
https://issues.apache.org/jira/browse/CASSANDRA-11574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15253157#comment-15253157
 ] 

Stefania commented on CASSANDRA-11574:
--------------------------------------

Thanks everyone for your input and for the review Tyler.

I've created [CSTAR-505|https://datastax.jira.com/browse/CSTAR-505](private) in 
order to test cqlsh copy with Cython extensions built.

I've created CASSANDRA-11630 in order to modify _pylib/setup.py_ to exclude 
Cython extensions during packaging. I don't think we need the extensions by 
default. This was never the intention of CASSANDRA-11053. The intention was for 
people to build them manually when needed for performance reasons, as explained 
in [this 
blog|http://www.datastax.com/dev/blog/six-parameters-affecting-cqlsh-copy-from-performance].

I've committed this patch to 2.1 as 666bee6125af04602a61d4781435598085a503d5 
and merged upwards.

> clqsh: COPY FROM throws TypeError with Cython extensions enabled
> ----------------------------------------------------------------
>
>                 Key: CASSANDRA-11574
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11574
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>         Environment: Operating System: Ubuntu Server 14.04
> JDK: Oracle JDK 8 update 77
> Python: 2.7.6
>            Reporter: Mahafuzur Rahman
>            Assignee: Stefania
>              Labels: cqlsh
>             Fix For: 2.1.x, 2.2.x, 3.0.x, 3.x
>
>
> Any COPY FROM command in cqlsh is throwing the following error:
> "get_num_processes() takes no keyword arguments"
> Example command: 
> COPY inboxdata 
> (to_user_id,to_user_network,created_time,attachments,from_user_id,from_user_name,from_user_network,id,message,to_user_name,updated_time)
>  FROM 'inbox.csv';
> Similar commands worked parfectly in the previous versions such as 3.0.4



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to