Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6004209
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T01:13:52+00:00 2026-05-23T01:13:52+00:00

I cannot retrieve data from Cassandra after I exit the cli. When I go

  • 0

I cannot retrieve data from Cassandra after I exit the cli. When I go back to get the data in another session, I get this error:

org.apache.cassandra.db.marshal.MarshalException: cannot parse ‘jsmith’ as hex bytes

It seems the column family stays and the keyspace too.

I also changed the keys format to ascii (assume Users keys as ascii;)… And that does not stay set either.

Is there a reason why? What is going on?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T01:13:53+00:00Added an answer on May 23, 2026 at 1:13 am

    All of the “assume” commands are temporary and limited to a single cli session. For those not sitting in front of the cli right now, we’re referring to these:

    assume <cf> comparator as <type>;
    assume <cf> sub_comparator as <type>;
    assume <cf> validator as <type>;
    assume <cf> keys as <type>;
    
    Assume one of the attributes (comparator, sub_comparator, validator or keys)
    of the given column family match specified type. The specified type will
    be used when displaying data returned from the column family.
    

    These are purely client side.

    What you want to do instead is to record that metadata permanently in the ColumnFamily definition, e.g. from the readme,

    create column family Users with comparator=UTF8Type and default_validation_class=UTF8Type and key_validation_class=UTF8Type;
    

    This is different from “assume” in 3 ways:

    1. It is permanently recorded in Cassandra
    2. Cassandra will enforce the specified type against data inserted
    3. All clients can query and use this metadata to do intelligent things with it, not just the cli

    Assume is primarily there as a workaround for old data sets that cannot be updated to use a “real” server-side type.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I had Repeater which bind method this method retrieve data from data base by
I'm trying to retrieve data from an SQL Server 2000 server, and place into
I'd like to retrieve data from a specific webpage by using urllib library. The
I am trying to use a textreader to retrieve data from a text file
Am running a sql query with php to retrieve some data from mysql database.
I have a problem in getting some data out from Cassandra using c# and
I am using ListView control in ASP.NET to retrieve data from my database. I
I'm using hibernate template to retrieve a data from the table course which has
I cannot understand how this is possible. Please help!! I have an app with
I cannot get a two-way bind in WPF to work. I have a string

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.