[jira] [Commented] (CASSANDRA-6276) CQL: Map can not be created with the same name as a previously dropped list

2016-08-04 Thread Mahafuzur Rahman (JIRA)

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

Mahafuzur Rahman commented on CASSANDRA-6276:
-

Facing the same problem in cassandra v3.7. Btw, it works when you drop the 
column, recreate a non collection column such as int with the same name and 
then drop that again. After that you can add the same name column with a 
different collection type and cassandra allows the operation. Dirty workaround 
though!

> CQL: Map can not be created with the same name as a previously dropped list
> ---
>
> Key: CASSANDRA-6276
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6276
> Project: Cassandra
>  Issue Type: Bug
> Environment:  Cassandra 2.0.2 | CQL spec 3.1.0
> centos 64 bit
> Java(TM) SE Runtime Environment (build 1.7.0-b147)
>Reporter: Oli Schacher
>Assignee: Benjamin Lerer
>Priority: Minor
>  Labels: cql
> Fix For: 2.0.10
>
> Attachments: 6272-2.0.txt, CASSANDRA-6276-V2.txt, CASSANDRA-6276.txt
>
>
> If create a list, drop it and create a map with the same name, i get "Bad 
> Request: comparators do not match or are not compatible."
> {quote}
> cqlsh:os_test1> create table thetable(id timeuuid primary key, somevalue 
> text);
> cqlsh:os_test1> alter table thetable add mycollection list;  
> cqlsh:os_test1> alter table thetable drop mycollection;
> cqlsh:os_test1> alter table thetable add mycollection map;  
> Bad Request: comparators do not match or are not compatible.
> {quote}



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


[jira] [Commented] (CASSANDRA-11574) COPY FROM command in cqlsh throws error

2016-04-16 Thread Mahafuzur Rahman (JIRA)

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

Mahafuzur Rahman commented on CASSANDRA-11574:
--

Looks like the problem is in this line:

https://github.com/apache/cassandra/blob/trunk/pylib/cqlshlib/copyutil.py#L321

Here get_num_processes is being called as a kwarg. Looks like this should be a 
simple fix, though i'm not very sure. As i'm currently stuck with this problem, 
i wanted to know if changing this file in my installed cassandra would solve 
the problem or do i need to do some compilation steps to reload the changed 
python source? I've installed cassandra from package installation (using 
apt-get). 

> 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
> 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)


[jira] [Updated] (CASSANDRA-11574) COPY FROM command in cqlsh throws error

2016-04-14 Thread Mahafuzur Rahman (JIRA)

 [ 
https://issues.apache.org/jira/browse/CASSANDRA-11574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mahafuzur Rahman updated CASSANDRA-11574:
-
Description: 
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

  was:
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';




> 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
> 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)


[jira] [Created] (CASSANDRA-11574) COPY FROM command in cqlsh throws error

2016-04-14 Thread Mahafuzur Rahman (JIRA)
Mahafuzur Rahman created CASSANDRA-11574:


 Summary: 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
 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';





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