Skip to content

Commit 29cf374

Browse files
author
Jacob Maes
committed
Website updates for 0.13.0 release
Author: Jacob Maes <jmaes@linkedin.com> Reviewers: Jagadish <jvenkatr@linkedin.com>, Prateek Maheshwari <pmaheshw@linkedin.com> Closes apache#215 from jmakes/samza-0.13.0-website
1 parent 95bb8e2 commit 29cf374

File tree

16 files changed

+48
-28
lines changed

16 files changed

+48
-28
lines changed

RELEASE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ And before you proceed, do the following steps:
2424

2525
* create a branch $VERSION from the latest master branch
2626
* checkout the $VERSION branch
27-
* update the gradle.property s.t. the following property is $VERSION w/o the suffix '-SNAPSHOT':
27+
* update the gradle.properties s.t. the following property is $VERSION w/o the suffix '-SNAPSHOT':
2828
version=$VERSION
2929
* change the samza_executable variable in samza-test/src/main/python/configs/tests.json to point to a Samza version w/o the suffix '-SNAPSHOT'
3030
* push the changes to the $VERSION branch

docs/README.md

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,19 +68,29 @@ Following can be done when updating the gradle.properties file
6868

6969
1. in x.x.x branch,
7070

71-
* modify the docs/_config.yml to make the "version" and "latest-release" to x.x.x
71+
* modify the docs/_config.yml to make both the "version" and "latest-release" properties to x.x.x
7272

73-
* remove "git checkout latest" in docs/startup/hello-samza/versioned/index.md
73+
* remove "git checkout latest" line and the "-SNAPSHOT" version suffix in each of the tutorials
74+
* docs/startup/hello-samza/versioned/index.md
75+
* docs/learn/tutorials/versioned/hello-samza-high-level-code.md
76+
* docs/learn/tutorials/versioned/hello-samza-high-level-yarn.md
77+
* docs/learn/tutorials/versioned/hello-samza-high-level-zk.md
7478

7579
2. in master branch,
7680

7781
* modify the docs/_config.yml to make the "latest-release" to x.x.x
7882

79-
* add the x.x.x release to Archive category in docs/_layout/default.html and x.x.x release part in docs/archive/index.html
83+
* add the x.x.x release to Archive category in docs/_layouts/default.html and x.x.x release part in docs/archive/index.html
8084

8185
* update the download page to use x.x.x release
82-
83-
* update the version number in "tar -xvf ./target/hello-samza-y.y.y-dist.tar.gz -C deploy/samza" in docs/startup/hello-samza/versioned/index.md
86+
* docs/startup/download/index.md
87+
88+
* update the version number in "tar -xvf ./target/hello-samza-y.y.y-dist.tar.gz -C deploy/samza" in each of the tutorials (and search for other uses of version x.x.x which may need to be replaced with y.y.y)
89+
* docs/startup/hello-samza/versioned/index.md
90+
* docs/learn/tutorials/versioned/hello-samza-high-level-code.md
91+
* docs/learn/tutorials/versioned/hello-samza-high-level-yarn.md
92+
* docs/learn/tutorials/versioned/hello-samza-high-level-zk.md
93+
* docs/learn/tutorials/versioned/samza-rest-getting-started.md
8494

8595
After apache mirrors pick up the new release,
8696

docs/_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ exclude: [_docs]
2525
baseurl: http://samza.apache.org
2626
version: latest
2727
# this is the version you will go if you click 'switch version' in "latest" pages.
28-
latest-release: '0.12'
28+
latest-release: '0.13'

docs/_layouts/default.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ <h1><i class="fa fa-code"></i> Contribute</h1>
103103
<h1><i class="fa fa-history"></i> Archive</h1>
104104
<ul>
105105
<li><a href="/archive/index.html#latest">latest</a></li>
106+
<li><a href="/archive/index.html#13">0.13</a></li>
106107
<li><a href="/archive/index.html#12">0.12</a></li>
107108
<li><a href="/archive/index.html#11">0.11</a></li>
108109
<li><a href="/archive/index.html#10">0.10</a></li>

docs/archive/index.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@ <h4 id="latest">Latest Release</h4>
2727
<li><a href="../startup/hello-samza/latest">Hello Samza</a></li>
2828
</ul>
2929

30+
<h4 id="13">0.13 Release</h4>
31+
32+
<ul class="documentation-list">
33+
<li><a href="../learn/documentation/0.13">Documentation</a></li>
34+
<li><a href="../learn/tutorials/0.13">Tutorials</a></li>
35+
<li><a href="../startup/hello-samza/0.13">Hello Samza</a></li>
36+
</ul>
37+
3038
<h4 id="12">0.12 Release</h4>
3139

3240
<ul class="documentation-list">

docs/learn/tutorials/versioned/deploy-samza-job-from-hdfs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ This tutorial uses [hello-samza](../../../startup/hello-samza/{{site.version}}/)
2424
### Upload the package
2525

2626
{% highlight bash %}
27-
hadoop fs -put ./target/hello-samza-0.12.0-dist.tar.gz /path/for/tgz
27+
hadoop fs -put ./target/hello-samza-0.13.1-dist.tar.gz /path/for/tgz
2828
{% endhighlight %}
2929

3030
### Add HDFS configuration

docs/learn/tutorials/versioned/deploy-samza-to-CDH.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@ mvn clean package -Dhadoop.version=cdh5.4.0
3434
There are a few ways of uploading the package to the cluster's HDFS. If you do not have the job package in your cluster, **scp** from you local machine to the cluster. Then run
3535

3636
{% highlight bash %}
37-
hadoop fs -put path/to/hello-samza-0.12.0-dist.tar.gz /path/for/tgz
37+
hadoop fs -put path/to/hello-samza-0.13.1-dist.tar.gz /path/for/tgz
3838
{% endhighlight %}
3939

4040
### Get Deploying Scripts
4141

4242
Untar the job package (assume you will run from the current directory)
4343

4444
{% highlight bash %}
45-
tar -xvf path/to/samza-job-package-0.12.0-dist.tar.gz -C ./
45+
tar -xvf path/to/samza-job-package-0.13.1-dist.tar.gz -C ./
4646
{% endhighlight %}
4747

4848
### Add Package Path to Properties File

docs/learn/tutorials/versioned/hello-samza-high-level-yarn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Then, you can continue w/ the following command in hello-samza project:
6363
{% highlight bash %}
6464
mvn clean package
6565
mkdir -p deploy/samza
66-
tar -xvf ./target/hello-samza-0.13.0-SNAPSHOT-dist.tar.gz -C deploy/samza
66+
tar -xvf ./target/hello-samza-0.13.1-SNAPSHOT-dist.tar.gz -C deploy/samza
6767
{% endhighlight %}
6868

6969
### Run a Samza Application

docs/learn/tutorials/versioned/hello-samza-high-level-zk.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ With the environment setup complete, let us move on to building the hello-samza
5959
{% highlight bash %}
6060
mvn clean package
6161
mkdir -p deploy/samza
62-
tar -xvf ./target/hello-samza-0.13.0-SNAPSHOT-dist.tar.gz -C deploy/samza
62+
tar -xvf ./target/hello-samza-0.13.1-SNAPSHOT-dist.tar.gz -C deploy/samza
6363
{% endhighlight %}
6464

6565
We are now all set to deploy the application locally.

docs/learn/tutorials/versioned/remote-debugging-samza.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Once the grid starts, you can start the wikipedia-feed Samza job.
8383
{% highlight bash %}
8484
mvn clean package
8585
mkdir -p deploy/samza
86-
tar -xvf ./target/hello-samza-0.12.0-dist.tar.gz -C deploy/samza
86+
tar -xvf ./target/hello-samza-0.13.1-dist.tar.gz -C deploy/samza
8787
deploy/samza/bin/run-job.sh --config-factory=org.apache.samza.config.factories.PropertiesConfigFactory --config-path=file://$PWD/deploy/samza/config/wikipedia-feed.properties
8888
{% endhighlight %}
8989

0 commit comments

Comments
 (0)