Astyanax: simple write throwing this exception: Not enough bytes to read value of component

前端 未结 2 1508
一整个雨季
一整个雨季 2021-01-12 01:36

I am new to astyanax and trying some sample programs and getting this error. This is a simple write and looks like am doing some thing basic wrong. Not using composite keys.

2条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-12 02:05

    I solution provided by user2251060 does the job. In addition, Netflix is working on a new version of Astyanax that depends on the Datastax java driver to convert the thrift objects to the underlying CQL based ones. You can find more information at https://github.com/Netflix/astyanax/wiki/Astyanax-over-Java-Driver

提交回复
热议问题