Thanks :)

But finally i used Hector and it works fine :D

Date: Wed, 11 Apr 2012 17:19:15 +0200
From: berna...@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

    
                                          

Reply via email to