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

Nandakishore Arvapaly commented on CASSANDRA-11574:
---------------------------------------------------

Thanks for explaining about get_num_processes.

I'm running Spark and Cassandra on 2 nodes where spark already took the 
available 1 core in that machine which Cassandra is getting zero for that 
value. This is the main problem I guess. please let me know if this is issue.

I have 2 nodes where I only 1 core each. When I start spark with these 2 as 
slaves and one of them as master, its taking the 1 core for each node making it 
unavailable for get_num_processes.

So Can't I run the COPY command with 1 core machine?

> COPY FROM command in cqlsh throws error
> ---------------------------------------
>
>                 Key: CASSANDRA-11574
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11574
>             Project: Cassandra
>          Issue Type: Bug
>          Components: CQL
>         Environment: Operating System: Ubuntu Server 14.04
> JDK: Oracle JDK 8 update 77
> Python: 2.7.6
>            Reporter: Mahafuzur Rahman
>            Assignee: Stefania
>             Fix For: 3.0.6
>
>
> 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