incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aliou SOW <aliouji...@hotmail.com>
Subject RE: INserting data in Cassandra
Date Wed, 11 Apr 2012 16:38:21 GMT

Thanks :)

But finally i used Hector and it works fine :D

Date: Wed, 11 Apr 2012 17:19:15 +0200
From: bernarpa@gmail.com
To: user@cassandra.apache.org
Subject: Re: INserting data in Cassandra


  


    
  
  
    On 04/11/12 11:42, Aliou SOW wrote:
    
      
      
        
            And I used
            the
              tool json2sstable, but that does
            not work,
            I
              always have an error:

            

          java.lang.RuntimeException:
Can't
            write Super columns to the Standard Column Family.

            

            So I have
            two
            questions:

            1) What I did
              wrong, must I define the complete structure of my
            column family before
            using json2sstable or is it the structure of my json file
            which is not good?

          
      
    
    I think that you just have to specify column_type = 'super' when
    creating your column family (see
http://stackoverflow.com/questions/6835183/set-super-column-family-in-cassandra-cli)

    

    Paolo

    
 		 	   		  
Mime
View raw message