清空表里的所有数据 Truncate falcon_gps; TRUNCATE accepts a single argument for the column family name, and permanently removes all data from said column family ...
分类:
其他好文 时间:
2016-07-05 22:33:19
阅读次数:
241
Use the nodetool tool that under the cassandra/bin directory nodetool status There are two nodes have been off line. nodetool removenode 199553f1-f310 ...
分类:
其他好文 时间:
2016-07-05 20:52:30
阅读次数:
192
1、逆熵 Cassandra数据库在分布式的架构上借鉴了Amazon的Dynamo,而在数据的存储模型上参考了Google的Bigtable,因而在数据一致性方面与Dynamo和Bigtable有着很深的联系,逆熵机制就是这种联系的一种体现。 逆熵与gossip协议一样也是基于传染病理论的算法,它主 ...
分类:
其他好文 时间:
2016-07-04 21:50:54
阅读次数:
309
类似于如下情况: Traceback (most recent call last): File "python_del_cassandra.py", line 21, in <module> d_time = K_devdata.execute(" select dtime from device ...
分类:
其他好文 时间:
2016-07-04 21:49:51
阅读次数:
380
ERROR 04:18:00 Configuration exception merging remote schemaorg.apache.cassandra.exceptions.ConfigurationException: Column family ID mismatch (found 2 ...
分类:
其他好文 时间:
2016-07-04 20:34:23
阅读次数:
260
摘要本文主要介绍cassandra线程技术,cassandra的实现是基于java的,所以线程技术使用的也是jdk包提供的线程类。cassandra是分布式数据库,整个并发架构是基于阶段事件驱动架构(staged envent-driven architecture)它能够利用queue将复杂的事件驱动分解为各个阶段。java并发Executor 框架
http://docs.oracle.com...
分类:
其他好文 时间:
2016-07-02 10:32:14
阅读次数:
469
Copy from: http://blog.csdn.net/y_h_t/article/details/11917531 Cassandra中所有的运行配置都是在配置文件cassandra.yaml中进行配置。 下面依次讲解Cassandra中的配置项:cluster_name设置Cassand ...
分类:
其他好文 时间:
2016-07-01 01:11:14
阅读次数:
237
摘要本文主要介绍在部署cassandra集群以及使用cassandra过程中遇到的一些问题。文章只发布在CSDN 和个人站点更多nosql文章可以访问stone fang 个人主页
正文Q1:cassandra 如何将一个节点设置为seed node,seed node与其他node有什么区别A1:设置seed node很简单,在cassandra.yaml 中 -seeds 选项中设置。可以设置...
分类:
其他好文 时间:
2016-06-21 07:29:02
阅读次数:
305
这篇文章入选CSDN极客头条 http://geek.csdn.net/news/detail/71572 当前,要保证业务的市场竞争力,仅靠设计一个可用并且好看的产品,已经完全不能满足要求。全球消费者都希望产品能够足够的智能化,通过大数据分析来改善他们的用户体验。简言之,物联网和大数据终将成为改变 ...
分类:
系统相关 时间:
2016-06-14 22:23:17
阅读次数:
651
describe keyspaces; use falcon_gps; select * from gps; INSERT INTO gps (gprscode,gpstime,acc,alarmdes,direct,lat,lng,offset,posinfo,power,sendmodel,sp ...
分类:
其他好文 时间:
2016-06-13 17:13:51
阅读次数:
118