You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by bi...@apache.org on 2023/07/02 02:53:29 UTC

[storm] branch master updated: [STORM-3927] Change python to python3 in examples (#3549)

This is an automated email from the ASF dual-hosted git repository.

bipinprasad pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/storm.git


The following commit(s) were added to refs/heads/master by this push:
     new cc33e5e4b [STORM-3927] Change python to python3 in examples (#3549)
cc33e5e4b is described below

commit cc33e5e4ba89de37f419e3262d3dd278b4d77936
Author: Bipin Prasad <bi...@apache.org>
AuthorDate: Sat Jul 1 19:53:23 2023 -0700

    [STORM-3927] Change python to python3 in examples (#3549)
---
 .../src/jvm/org/apache/storm/starter/BlobStoreAPIWordCountTopology.java | 2 +-
 .../src/jvm/org/apache/storm/starter/WordCountTopology.java             | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/storm-starter/src/jvm/org/apache/storm/starter/BlobStoreAPIWordCountTopology.java b/examples/storm-starter/src/jvm/org/apache/storm/starter/BlobStoreAPIWordCountTopology.java
index 46df78eeb..f8059f3c1 100644
--- a/examples/storm-starter/src/jvm/org/apache/storm/starter/BlobStoreAPIWordCountTopology.java
+++ b/examples/storm-starter/src/jvm/org/apache/storm/starter/BlobStoreAPIWordCountTopology.java
@@ -247,7 +247,7 @@ public class BlobStoreAPIWordCountTopology {
     public static class SplitSentence extends ShellBolt implements IRichBolt {
 
         public SplitSentence() {
-            super("python", "splitsentence.py");
+            super("python3", "splitsentence.py");
         }
 
         @Override
diff --git a/examples/storm-starter/src/jvm/org/apache/storm/starter/WordCountTopology.java b/examples/storm-starter/src/jvm/org/apache/storm/starter/WordCountTopology.java
index ff3e4c337..71a3b42ed 100644
--- a/examples/storm-starter/src/jvm/org/apache/storm/starter/WordCountTopology.java
+++ b/examples/storm-starter/src/jvm/org/apache/storm/starter/WordCountTopology.java
@@ -61,7 +61,7 @@ public class WordCountTopology extends ConfigurableTopology {
     public static class SplitSentence extends ShellBolt implements IRichBolt {
 
         public SplitSentence() {
-            super("python", "splitsentence.py");
+            super("python3", "splitsentence.py");
         }
 
         @Override