上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 14 下一页
摘要: 清空表里的所有数据 Truncate falcon_gps; TRUNCATE accepts a single argument for the column family name, and permanently removes all data from said column family 阅读全文
posted @ 2016-07-05 21:51 薛晓东 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 确实是打断睡眠状态了,在使用线程池中,等线程启动完毕,开始运行,却执行了exe.shutdown()方法,该方法使得主线程强行打断子线程的sleep状态,因此抛出此异常,根据实际情况,去掉了shutdown()这个不合理的方法,解决该异常。 阅读全文
posted @ 2016-07-05 21:42 薛晓东 阅读(9946) 评论(0) 推荐(0) 编辑
摘要: Use the nodetool tool that under the cassandra/bin directory nodetool status There are two nodes have been off line. nodetool removenode 199553f1-f310 阅读全文
posted @ 2016-07-05 19:04 薛晓东 阅读(317) 评论(0) 推荐(0) 编辑
摘要: 1.Configure the file cassandra.yaml set authenticator: PasswordAuthenticator the default value of authenticator is AllowAllAuthenticator 2.Loggin by t 阅读全文
posted @ 2016-07-05 16:16 薛晓东 阅读(214) 评论(0) 推荐(0) 编辑
摘要: ./xxxx.run 阅读全文
posted @ 2016-07-05 16:05 薛晓东 阅读(1238) 评论(0) 推荐(0) 编辑
摘要: 在配置JMX远程访问的时候,设置jmxremote.password文件权限,修改该文件时添加写权限,chmod +w jmxremote.password ,放开角色信息那俩行的注释,保存,再使用chmod 0400 jmxremote.password 这样就是它正确的权限设置 jmxremot 阅读全文
posted @ 2016-07-05 15:36 薛晓东 阅读(5077) 评论(0) 推荐(0) 编辑
摘要: 错误: 代理抛出异常 : java.net.MalformedURLException: Local host name unknown: java.net.UnknownHostException: 你的主机名: 你的主机名 在linux部署下不能启动了: 解决办法: vi /etc/syscon 阅读全文
posted @ 2016-07-05 14:08 薛晓东 阅读(4007) 评论(0) 推荐(0) 编辑
摘要: http://cassandra.apache.org/doc/cql/CQL.html 阅读全文
posted @ 2016-07-05 10:45 薛晓东 阅读(175) 评论(0) 推荐(0) 编辑
摘要: Gossip算法又被称为反熵(Anti-Entropy),熵是物理学上的一个概念,代表杂乱无章,而反熵就是在杂乱无章中寻求一致,这充分说明了Gossip的特点: 在一个有界网络中,每个节点都随机地与其他节点通信,经过一番杂乱无章的通信,最终所有节点的状态都会达成一致。 每个节点可能知道所有其他节点, 阅读全文
posted @ 2016-07-04 21:09 薛晓东 阅读(3731) 评论(0) 推荐(0) 编辑
摘要: Cassandra通过写一条“tombstone”来标记一个数据被删除了。被标记的数据默认要10天(配置文件中的gc_grace_seconds)后且被compaction或cleanup执行到对应的SSTable时才会被真正从磁盘删除,因为如果当时这个delete操作只在3个节点中的2个执行成功, 阅读全文
posted @ 2016-07-04 20:57 薛晓东 阅读(4823) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 14 下一页