You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by xi...@apache.org on 2019/03/08 00:55:21 UTC
[samza] branch 1.1.0 updated: Update Samza version for 1.1.0
release branch (#943)
This is an automated email from the ASF dual-hosted git repository.
xinyu pushed a commit to branch 1.1.0
in repository https://gitbox.apache.org/repos/asf/samza.git
The following commit(s) were added to refs/heads/1.1.0 by this push:
new ca95f27 Update Samza version for 1.1.0 release branch (#943)
ca95f27 is described below
commit ca95f275ef02178874101fd93d9a6050fbaa7eff
Author: Daniel Chen <xr...@uwaterloo.ca>
AuthorDate: Thu Mar 7 16:55:17 2019 -0800
Update Samza version for 1.1.0 release branch (#943)
---
gradle.properties | 2 +-
samza-test/src/main/config/join/README | 10 +++++-----
samza-test/src/main/python/configs/tests.json | 2 +-
samza-test/src/main/python/stream_processor.py | 2 +-
4 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/gradle.properties b/gradle.properties
index c5b705f..3e88338 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.
group=org.apache.samza
-version=1.0.1-SNAPSHOT
+version=1.1.0
scalaSuffix=2.11
gradleVersion=2.8
diff --git a/samza-test/src/main/config/join/README b/samza-test/src/main/config/join/README
index 2268985..8467765 100644
--- a/samza-test/src/main/config/join/README
+++ b/samza-test/src/main/config/join/README
@@ -44,17 +44,17 @@ Deploy Zookeeper, YARN and Kafka:
> cd $HELLO_SAMZA_SRC
> for i in zookeeper kafka yarn; do ./bin/grid install $i; ./bin/grid start $i; done
-Update the "yarn.package.path" to $DEPLOY_DIR/samza-test_2.11-1.0.1-SNAPSHOT.tgz
+Update the "yarn.package.path" to $DEPLOY_DIR/samza-test_2.11-1.1.0.tgz
> cd $SAMZA_SRC
> vi samza-test/src/main/config/join/common.properties
-yarn.package.path=file:///path/to/samza-hello-samza/deploy/samza-test_2.11-1.0.1-SNAPSHOT.tgz
+yarn.package.path=file:///path/to/samza-hello-samza/deploy/samza-test_2.11-1.1.0.tgz
Then release and extract the test tarball:
> cd $SAMZA_SRC
> ./gradlew releaseTestJobs
-> cp samza-test/build/distributions/samza-test_2.11-1.0.1-SNAPSHOT.tgz $DEPLOY_DIR
+> cp samza-test/build/distributions/samza-test_2.11-1.1.0.tgz $DEPLOY_DIR
> mkdir $DEPLOY_DIR/samza
-> tar -xvf $DEPLOY_DIR/samza-test_2.11-1.0.1-SNAPSHOT.tgz -C $DEPLOY_DIR/samza
+> tar -xvf $DEPLOY_DIR/samza-test_2.11-1.1.0.tgz -C $DEPLOY_DIR/samza
Finally, create the kafka topics and start the samza jobs:
> ./bin/setup-int-test.sh $DEPLOY_DIR
@@ -82,4 +82,4 @@ Then run the python script to start the test:
--yarn-dir=$DEPLOY_DIR/yarn \
--yarn-host=localhost \
--kill-kafka \
- --kill-container
\ No newline at end of file
+ --kill-container
diff --git a/samza-test/src/main/python/configs/tests.json b/samza-test/src/main/python/configs/tests.json
index 33ec9e3..32e40d2 100644
--- a/samza-test/src/main/python/configs/tests.json
+++ b/samza-test/src/main/python/configs/tests.json
@@ -1,5 +1,5 @@
{
- "samza_executable": "samza-test_2.11-1.0.1-SNAPSHOT.tgz",
+ "samza_executable": "samza-test_2.11-1.1.0.tgz",
"samza_install_path": "deploy/smoke_tests",
"samza_config_factory": "org.apache.samza.config.factories.PropertiesConfigFactory"
}
diff --git a/samza-test/src/main/python/stream_processor.py b/samza-test/src/main/python/stream_processor.py
index dacd59c..e6682cb 100644
--- a/samza-test/src/main/python/stream_processor.py
+++ b/samza-test/src/main/python/stream_processor.py
@@ -43,7 +43,7 @@ class StreamProcessor:
logger.info('Running processor start command: {0}'.format(self.processor_start_command))
self.deployment_config = {
'install_path': os.path.join(runtime.get_active_config('remote_install_path'), 'deploy/{0}'.format(self.processor_id)),
- 'executable': 'samza-test_2.11-1.0.1-SNAPSHOT.tgz',
+ 'executable': 'samza-test_2.11-1.1.0.tgz',
'post_install_cmds': [],
'start_command': self.processor_start_command,
'stop_command': '',