摘要: package csdn; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; /** * @author nineday */ public class Test { public 阅读全文
posted @ 2016-07-05 21:52 薛晓东 阅读(7465) 评论(0) 推荐(0) 编辑
摘要: 清空表里的所有数据 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 薛晓东 阅读(9963) 评论(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 薛晓东 阅读(215) 评论(0) 推荐(0) 编辑
摘要: ./xxxx.run 阅读全文
posted @ 2016-07-05 16:05 薛晓东 阅读(1239) 评论(0) 推荐(0) 编辑
摘要: 在配置JMX远程访问的时候,设置jmxremote.password文件权限,修改该文件时添加写权限,chmod +w jmxremote.password ,放开角色信息那俩行的注释,保存,再使用chmod 0400 jmxremote.password 这样就是它正确的权限设置 jmxremot 阅读全文
posted @ 2016-07-05 15:36 薛晓东 阅读(5080) 评论(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) 编辑