Skip to content
This repository was archived by the owner on Dec 15, 2025. It is now read-only.

Commit f36ea0b

Browse files
committed
Fix the scripts and pom in streaming bench
1 parent c351d9c commit f36ea0b

5 files changed

Lines changed: 22 additions & 27 deletions

File tree

bin/workloads/streaming/wordcount/flink/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ show_bannar start
2525

2626
START_TIME=`timestamp`
2727
printFullLog
28-
run-flink-job -c com.intel.flinkbench.RunBench
28+
run-flink-job -c com.intel.hibench.flinkbench.RunBench
2929
END_TIME=`timestamp`
3030

3131
gen_report ${START_TIME} ${END_TIME} 0

bin/workloads/streaming/wordcount/gearpump/run.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
workload_folder=`dirname "$0"`
18-
workload_folder=`cd "$workload_folder"; pwd`
19-
workload_root=${workload_folder}/../..
20-
echo $workload_root
21-
. "${workload_root}/../../bin/functions/load-bench-config.sh"
17+
current_dir=`dirname "$0"`
18+
current_dir=`cd "$current_dir"; pwd`
19+
root_dir=${current_dir}/../../../../..
20+
workload_config=${root_dir}/conf/workloads/streaming/wordcount.conf
21+
. "${root_dir}/bin/functions/load-bench-config.sh"
2222

23-
enter_bench GearpumpWordcount ${workload_root} ${workload_folder}
23+
enter_bench GearpumpWordcount ${workload_config} ${current_dir}
2424
show_bannar start
2525

2626
START_TIME=`timestamp`
2727
printFullLog
28-
run-gearpump-app com.intel.hibench.streambench.gearpump.RunBench ${SPARKBENCH_PROPERTIES_FILES}
28+
run-gearpump-app com.intel.hibench.gearpumpbench.RunBench ${SPARKBENCH_PROPERTIES_FILES}
2929
END_TIME=`timestamp`
3030

3131
gen_report ${START_TIME} ${END_TIME} 0

bin/workloads/streaming/wordcount/storm/run.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
workload_folder=`dirname "$0"`
18-
workload_folder=`cd "$workload_folder"; pwd`
19-
workload_root=${workload_folder}/../..
20-
echo "workload root: " + $workload_root
21-
. "${workload_root}/../../bin/functions/load-bench-config.sh"
17+
current_dir=`dirname "$0"`
18+
current_dir=`cd "$current_dir"; pwd`
19+
root_dir=${current_dir}/../../../../..
20+
workload_config=${root_dir}/conf/workloads/streaming/wordcount.conf
21+
. "${root_dir}/bin/functions/load-bench-config.sh"
2222

23-
enter_bench StormWordcount ${workload_root} ${workload_folder}
23+
enter_bench StormWordcount ${workload_config} ${current_dir}
2424
show_bannar start
2525

2626
START_TIME=`timestamp`
2727
printFullLog
28-
run-storm-job com.intel.hibench.streambench.storm.RunBench ${SPARKBENCH_PROPERTIES_FILES} storm
28+
run-storm-job com.intel.hibench.stormbench.RunBench ${SPARKBENCH_PROPERTIES_FILES} storm
2929
END_TIME=`timestamp`
3030

3131
gen_report ${START_TIME} ${END_TIME} 0

bin/workloads/streaming/wordcount/trident/run.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
workload_folder=`dirname "$0"`
18-
workload_folder=`cd "$workload_folder"; pwd`
19-
workload_root=${workload_folder}/../..
20-
echo $workload_root
21-
. "${workload_root}/../../bin/functions/load-bench-config.sh"
17+
current_dir=`dirname "$0"`
18+
current_dir=`cd "$current_dir"; pwd`
19+
root_dir=${current_dir}/../../../../..
20+
workload_config=${root_dir}/conf/workloads/streaming/wordcount.conf
21+
. "${root_dir}/bin/functions/load-bench-config.sh"
2222

23-
enter_bench StormTridentWordcount ${workload_root} ${workload_folder}
23+
enter_bench StormTridentWordcount ${workload_config} ${current_dir}
2424
show_bannar start
2525

2626
START_TIME=`timestamp`
2727
printFullLog
28-
run-storm-job com.intel.hibench.streambench.storm.RunBench ${SPARKBENCH_PROPERTIES_FILES} trident
28+
run-storm-job com.intel.hibench.stormbench.RunBench ${SPARKBENCH_PROPERTIES_FILES} trident
2929
END_TIME=`timestamp`
3030

3131
gen_report ${START_TIME} ${END_TIME} 0

pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,6 @@
3939
</properties>
4040

4141
<dependencies>
42-
<dependency>
43-
<groupId>org.scala-lang</groupId>
44-
<artifactId>scala-library</artifactId>
45-
<version>${scala.version}</version>
46-
</dependency>
4742
<dependency>
4843
<groupId>junit</groupId>
4944
<artifactId>junit</artifactId>

0 commit comments

Comments
 (0)