From f9c3241b87ce5d7a568368d3ffec5dea174f7692 Mon Sep 17 00:00:00 2001 From: Haolan Ye Date: Fri, 2 Aug 2024 16:43:11 -0700 Subject: [PATCH] Output Current Timestamp at run-class.sh script (#1702) * print current timestamp * Fix typo * fix build issue about grolifant okhttp --------- Co-authored-by: Haolan Ye --- docs/learn/documentation/versioned/api/beam-api.md | 2 +- gradle/buildscript.gradle | 1 + samza-shell/src/main/bash/run-class.sh | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/learn/documentation/versioned/api/beam-api.md b/docs/learn/documentation/versioned/api/beam-api.md index f65a9b9fed..2da4c77067 100644 --- a/docs/learn/documentation/versioned/api/beam-api.md +++ b/docs/learn/documentation/versioned/api/beam-api.md @@ -26,7 +26,7 @@ title: Apache Beam API ### Introduction -Apache Beam brings an easy-to-usen but powerful API and model for state-of-art stream and batch data processing with portability across a variety of languages. The Beam API and model has the following characteristics: +Apache Beam brings an easy-to-use but powerful API and model for state-of-art stream and batch data processing with portability across a variety of languages. The Beam API and model has the following characteristics: - *Simple constructs, powerful semantics*: the whole beam API can be simply described by a `Pipeline` object, which captures all your data processing steps from input to output. Beam SDK supports over [20 data IOs](https://beam.apache.org/documentation/io/built-in/), and data transformations from simple [Map](https://beam.apache.org/releases/javadoc/2.11.0/org/apache/beam/sdk/transforms/MapElements.html) to complex [Combines and Joins](https://beam.apache.org/releases/javadoc/2.11.0/index.html?org/apache/beam/sdk/transforms/Combine.html). diff --git a/gradle/buildscript.gradle b/gradle/buildscript.gradle index 2abedd63c2..e11039ba9b 100644 --- a/gradle/buildscript.gradle +++ b/gradle/buildscript.gradle @@ -22,6 +22,7 @@ repositories { maven { url "https://plugins.gradle.org/m2/" } + jcenter() } } diff --git a/samza-shell/src/main/bash/run-class.sh b/samza-shell/src/main/bash/run-class.sh index e2cb04ea8b..1669332b52 100755 --- a/samza-shell/src/main/bash/run-class.sh +++ b/samza-shell/src/main/bash/run-class.sh @@ -28,6 +28,8 @@ cd $base_dir base_dir=`pwd` cd $home_dir +echo "Current time: $(date '+%Y-%m-%d %H:%M:%S')" + echo home_dir=$home_dir echo "framework base (location of this script). base_dir=$base_dir"