Storm thrift服务入坑记
来源:互联网 发布:mac终端访问服务器 编辑:程序博客网 时间:2024/06/06 15:36
利用nimbus的thrift服务,获取集群上已经提交的任务,与数据库中的配置信息对比,找出没有提交的任务,实现自动提交。
由于storm为了避免与其他版本的thrift产生冲突,自己对thrif进行了一个封装,依赖的jar包为libthrift7.
----------------------------------此为背景----------------------------------------
代码写好之后,本地跑的一切正常,提交到线上,一直报thrift7.*的ClassNotFound,本以为storm - core .jar里面已经包含了thrift7,但是折腾许久才发现,需要单独把thrift7的jar包下下来。此为starkOverFlow原贴:
http://stackoverflow.com/questions/17806331/org-apache-thrift7-tbase-vs-org-apache-thrift-tbase
折腾了一晚上的问题解决了,顿时神清气爽
https://clojars.org/repo/ ,此为下载依赖的地址
PS:终于理解大神都用google,国内的帖子太少,根本无法解决问题
顿时弃用百度,if you have any question , then google
0 0
- Storm thrift服务入坑记
- 关于Storm和Thrift
- 服务开发框架 Thrift
- 搭建thrift服务
- hbase开启thrift服务
- hbase的thrift服务
- Hive的thrift服务
- Gunicorn启动Thrift服务
- Hive 的Thrift服务
- Storm源码阅读(三):Thrift
- 使用Thrift API监控Storm集群
- org.apache.storm.thrift.transport.TTransportException
- 聊聊Thrift(三) thrift 服务篇-TThreadPoolServer
- 聊聊Thrift(四) thrift 服务篇-TNonblockingServer
- Thrift协议的服务模型
- Hive thrift服务--beeline使用
- Thrift服务搭建和调用
- Thrift使用入门-RPC服务
- 经典语录 -- 心情down或者hot的时候 来瞅瞅 有新的收获 同时也要留下足迹
- usaco2.3.1 Longest Prefix
- 用python判断闰年
- Facebook 内部高效工作 PPT 指南
- ROS安装出错
- Storm thrift服务入坑记
- APK签名原理
- 深度探索C++对象模型-Data语意学01
- VS2012编译cocos2d-x-3.10官方tests总结
- svn“Previous operation has not finished; run 'cleanup' if it was interrupted“报错的解决方法
- Eclipse启动出现:a java runtime environment(JRE) or java development kit(JDK) must be....
- Jni开发基础入门(二)
- commons-logging实现日志解耦
- zeromq 中的消息