VoltDB本地调试指南
来源:互联网 发布:药学专业网络教育 编辑:程序博客网 时间:2024/05/17 04:39
在eclipse里可以运行那些test之后
使用如下完整代码
public static void main(String[] args) throws IOException { String simpleSchema = "create table blah (" + "ival bigint default 0 not null, " + "PRIMARY KEY(ival));"; VoltProjectBuilder builder = new VoltProjectBuilder(); builder.addLiteralSchema(simpleSchema); builder.addProcedures(CrashVoltDBProc.class); LocalCluster cluster = new LocalCluster("crash.jar", 2, 2, 1, BackendTarget.NATIVE_EE_JNI); cluster.setHasLocalServer(true); boolean success = cluster.compile(builder); assert (success); cluster.startUp(true); }
用bin/sqlcmd.sh就可以连了
在AsyncCompilerAgent.java的compileAdHocPlan方法里打断点
另外
根据https://github.com/VoltDB/voltdb/wiki/Setting-up-an-Eclipse-Project里面的
-ea -Xmx1g -Dlog4j.configuration=file:${workspace_loc:voltdb/tests}/log4j-allconsole.xml
可以让打印信息都出来 0 0
- VoltDB本地调试指南
- Linux下VoltDB-5.8.7安装指南
- 本地调试
- voltDB简介
- VoltDB架构
- VoltDB概念
- voltDB性能
- voltDB链接
- VoltDB 简介
- VoltDB介绍
- VoltDB 实战
- intellij调试本地hadoop代码(hadoop权威指南学习篇)
- 本地tomcat调试
- 本地asp调试工具
- 在线本地调试大观
- nginx配置本地调试
- Linux 命令 本地调试
- openfire本地调试
- posix 信号量---生产者消费者(二)
- java运行环境变量
- ajax参数用法
- C语言基于GTK+Libvlc实现的简易视频播放器
- 电话拨号盘(带触摸振动反馈)
- VoltDB本地调试指南
- 导入GitHub上已经下载的项目
- not in/not exists 的 null 陷阱
- D3D9Texture::_loadNormTex
- Why are .goutputstream-xxxxx files created in home folder?
- Redis消息通知
- TPA3112D1 试验
- D3DXCreateTextureFromFileInMemoryEx
- httpservlet, struts1, struts2线程安全,单实例,多实例几个关系