Comments (2)
可以的, 你提一个issue吧
hustjackie
发件人: chenxu
发送时间: 2014-04-01 11:47
收件人: alibaba/jstorm
主题: [jstorm] jstorm-server/bin/jstorm.py 结束时返回Java子进程的返回值 (#40)
jstorm.py退出时,可否返回java子进程的返回值,方便脚本调用判断是否有异常。
类似这样:
--- a/jstorm-server/bin/jstorm.py
+++ b/jstorm-server/bin/jstorm.py
@@ -91,7 +91,8 @@ def exec_storm_class(klass, jvmtype="-server", childopts="", extrajars=[], args=
args_str = " ".join(map(lambda s: """ + s + """, args))
command = "java " + jvmtype + " -Djstorm.home=" + JSTORM_DIR + " " + get_config_opts() + " -Djava.library.path=" + nativepath + " " + childopts + " -cp " +
print "Running: " + command
- os.system(command)
- ret = os.system(command)
- sys.exit(ret)
def jar(jarfile, klass, *args):
"""Syntax: [jstorm jar topology-jar-path class ...]
—
Reply to this email directly or view it on GitHub.
from jstorm.
close in 0.9.3-snapshot
from jstorm.
Related Issues (20)
- Jstorm连接带sasl的kafka HOT 1
- 一处XSS问题
- jstorm rebalance时支持增加task数量吗?如何配置?
- Jstorm 没人维护了么?这么多问题都没一个人回答。。。 HOT 2
- Where I can fin the CI service?
- jstorm 2.4.0版本在storm.yaml中打开topology.enable.classloader true,在流式计算项目中配置自定义logback.xml,不能够打印日志;关闭后即可打印,请问是什么原理?
- python version bug HOT 1
- Not clear about how to use User Defined Scheduler
- 编译为啥报错
- 请问一下,jstorm可以支持在yarn上跑了吗?
- 求助jstorm Connection refused
- jstorm跑在docker里面 但是使用内存超出docker容器的内存限制? HOT 1
- 强烈建议继续维护该项目 HOT 3
- 问题已解决
- Inconsistent library versions notice.
- Unused Field
- jstorm官网在哪? jstorm.io打不开啊
- jstorm官网在哪? jstorm.io打不开啊 HOT 1
- A bug occurs in centos8_aarch64 during the test when test: jstorm nimbus about [email protected]
- Path Traversal when unzip zip file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jstorm.