- 浏览: 659 次
- 性别:
- 来自: 厦门
最新评论
文章列表
JAVA代码如下:
try {
Runtime rt = Runtime.getRuntime();
String str[] = {"/bin/sh", "-c", "/usr/hadoop-0.19.0/bin/load.sh"};
Process pcs = rt.exec(str);
BufferedReader br = new BufferedReader(new In ...