From a2a4928ebe3bdbda8f7c1fb2f3c197da601a010c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BD=97=E7=A5=A5?= <1366971433@qq.com> Date: Thu, 30 May 2019 10:32:27 +0800 Subject: [PATCH] =?UTF-8?q?Storm=E7=BC=96=E7=A8=8B=E6=A8=A1=E5=9E=8B?= =?UTF-8?q?=E8=AF=A6=E8=A7=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- notes/Storm编程模型详解.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/notes/Storm编程模型详解.md b/notes/Storm编程模型详解.md index f54f618..784b4a1 100644 --- a/notes/Storm编程模型详解.md +++ b/notes/Storm编程模型详解.md @@ -390,7 +390,7 @@ public class LocalWordCountApp { ### 6.1 代码更改 -提交到服务器的代码和本地代码略有不同,提交到服务器集群时需要使用`StormSubmitter`进行提交。主要代码如下。 +提交到服务器的代码和本地代码略有不同,提交到服务器集群时需要使用`StormSubmitter`进行提交。主要代码如下: > 为了结构清晰,这里新建ClusterWordCountApp类来演示集群模式的提交。实际开发中可以将两种模式的代码写在同一个类中,通过外部传参来决定启动何种模式。 @@ -499,7 +499,7 @@ private String productData() { } ``` -此时直接使用`mvn clean package`打包运行,就会抛出下图异常的。因此这种直接打包的方式并不适用于实际的开发,因为实际开发中通常都是需要第三方的JAR包。 +此时直接使用`mvn clean package`打包运行,就会抛出下图的异常。因此这种直接打包的方式并不适用于实际的开发,因为实际开发中通常都是需要第三方的JAR包。