Skip to content

Commit

Permalink
1.7.0 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
dxichen committed Feb 28, 2022
1 parent 95f9e0d commit de9a0ec
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ redcarpet:
extensions: ['with_toc_data', 'smart', 'strikethrough', 'tables']
exclude: [_docs]
baseurl: https://samza.apache.org
version: latest
version: 1.6.0
# this is the version you will go if you click 'switch version' in "latest" pages.
latest-release: '1.6.0'
collections:
Expand Down
2 changes: 2 additions & 0 deletions docs/_menu/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
items_attributes: 'data-documentation="/learn/documentation/version/"'
- menu_title: Releases
items:
- menu_title: 1.7.0
url: '/releases/1.7.0'
- menu_title: 1.6.0
url: '/releases/1.6.0'
- menu_title: 1.5.1
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.
group=org.apache.samza
version=1.7.0-SNAPSHOT
version=1.7.0
scalaSuffix=2.11

# after changing this value, run `$ ./gradlew wrapper` and commit the resulting changed files
Expand Down
8 changes: 4 additions & 4 deletions samza-test/src/main/config/join/README
Original file line number Diff line number Diff line change
Expand Up @@ -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.7.0-SNAPSHOT.tgz
Update the "yarn.package.path" to $DEPLOY_DIR/samza-test_2.11-1.7.0.tgz
> cd $SAMZA_SRC
> vi samza-test/src/main/config/join/common.properties
yarn.package.path=file:https:///path/to/samza-hello-samza/deploy/samza-test_2.11-1.7.0-SNAPSHOT.tgz
yarn.package.path=file:https:///path/to/samza-hello-samza/deploy/samza-test_2.11-1.7.0.tgz

Then release and extract the test tarball:
> cd $SAMZA_SRC
> ./gradlew releaseTestJobs
> cp samza-test/build/distributions/samza-test_2.11-1.7.0-SNAPSHOT.tgz $DEPLOY_DIR
> cp samza-test/build/distributions/samza-test_2.11-1.7.0.tgz $DEPLOY_DIR
> mkdir $DEPLOY_DIR/samza
> tar -xvf $DEPLOY_DIR/samza-test_2.11-1.7.0-SNAPSHOT.tgz -C $DEPLOY_DIR/samza
> tar -xvf $DEPLOY_DIR/samza-test_2.11-1.7.0.tgz -C $DEPLOY_DIR/samza

Finally, create the kafka topics and start the samza jobs:
> ./bin/setup-int-test.sh $DEPLOY_DIR
Expand Down
2 changes: 1 addition & 1 deletion samza-test/src/main/python/configs/tests.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"samza_executable": "samza-test_2.11-1.7.0-SNAPSHOT.tgz",
"samza_executable": "samza-test_2.11-1.7.0.tgz",
"samza_install_path": "deploy/smoke_tests",
"samza_config_loader_factory": "org.apache.samza.config.loaders.PropertiesConfigLoaderFactory"
}
2 changes: 1 addition & 1 deletion samza-test/src/main/python/stream_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def __init__(self, host_name, processor_id):
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.7.0-SNAPSHOT.tgz',
'executable': 'samza-test_2.11-1.7.0.tgz',
'post_install_cmds': [],
'start_command': self.processor_start_command,
'stop_command': '',
Expand Down

0 comments on commit de9a0ec

Please sign in to comment.