Skip to content

Commit

Permalink
SAMZA-1702: Prepare 0.14.1 release on the 0.14.1 branch
Browse files Browse the repository at this point in the history
Author: xiliu <xiliu@linkedin.com>

Reviewers: Prateek M <prateekm@apache.org>

Closes #505 from xinyuiscool/SAMZA-1702
  • Loading branch information
xinyuiscool committed May 7, 2018
1 parent 3f2c077 commit 5ca7fac
Show file tree
Hide file tree
Showing 13 changed files with 27 additions and 26 deletions.
2 changes: 1 addition & 1 deletion docs/learn/documentation/versioned/azure/eventhubs.md
Expand Up @@ -169,7 +169,7 @@ With the environment setup complete, let us move on to building the hello-samza
```
mvn clean package
mkdir -p deploy/samza
tar -xvf ./target/hello-samza-0.14.1-SNAPSHOT-dist.tar.gz -C deploy/samza
tar -xvf ./target/hello-samza-0.14.1-dist.tar.gz -C deploy/samza
```

We are now all set to deploy the application locally.
Expand Down
Expand Up @@ -24,7 +24,7 @@ This tutorial uses [hello-samza](../../../startup/hello-samza/{{site.version}}/)
### Upload the package

{% highlight bash %}
hadoop fs -put ./target/hello-samza-0.14.0-dist.tar.gz /path/for/tgz
hadoop fs -put ./target/hello-samza-0.14.1-dist.tar.gz /path/for/tgz
{% endhighlight %}

### Add HDFS configuration
Expand Down
4 changes: 2 additions & 2 deletions docs/learn/tutorials/versioned/deploy-samza-to-CDH.md
Expand Up @@ -34,15 +34,15 @@ mvn clean package -Dhadoop.version=cdh5.4.0
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

{% highlight bash %}
hadoop fs -put path/to/hello-samza-0.14.0-dist.tar.gz /path/for/tgz
hadoop fs -put path/to/hello-samza-0.14.1-dist.tar.gz /path/for/tgz
{% endhighlight %}

### Get Deploying Scripts

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

{% highlight bash %}
tar -xvf path/to/samza-job-package-0.14.0-dist.tar.gz -C ./
tar -xvf path/to/samza-job-package-0.14.1-dist.tar.gz -C ./
{% endhighlight %}

### Add Package Path to Properties File
Expand Down
Expand Up @@ -63,7 +63,7 @@ Then, you can continue w/ the following command in hello-samza project:
{% highlight bash %}
mvn clean package
mkdir -p deploy/samza
tar -xvf ./target/hello-samza-0.14.1-SNAPSHOT-dist.tar.gz -C deploy/samza
tar -xvf ./target/hello-samza-0.14.1-dist.tar.gz -C deploy/samza
{% endhighlight %}

### Run a Samza Application
Expand Down
Expand Up @@ -59,7 +59,7 @@ With the environment setup complete, let us move on to building the hello-samza
{% highlight bash %}
mvn clean package
mkdir -p deploy/samza
tar -xvf ./target/hello-samza-0.14.1-SNAPSHOT-dist.tar.gz -C deploy/samza
tar -xvf ./target/hello-samza-0.14.1-dist.tar.gz -C deploy/samza
{% endhighlight %}

We are now all set to deploy the application locally.
Expand Down
2 changes: 1 addition & 1 deletion docs/learn/tutorials/versioned/remote-debugging-samza.md
Expand Up @@ -83,7 +83,7 @@ Once the grid starts, you can start the wikipedia-feed Samza job.
{% highlight bash %}
mvn clean package
mkdir -p deploy/samza
tar -xvf ./target/hello-samza-0.14.0-dist.tar.gz -C deploy/samza
tar -xvf ./target/hello-samza-0.14.1-dist.tar.gz -C deploy/samza
deploy/samza/bin/run-job.sh --config-factory=org.apache.samza.config.factories.PropertiesConfigFactory --config-path=file://$PWD/deploy/samza/config/wikipedia-feed.properties
{% endhighlight %}

Expand Down
4 changes: 2 additions & 2 deletions docs/learn/tutorials/versioned/run-in-multi-node-yarn.md
Expand Up @@ -145,15 +145,15 @@ vi src/main/config/wikipedia-feed.properties
Change the yarn.package.path property to be:

{% highlight jproperties %}
yarn.package.path=http://yourHostname:8000/target/hello-samza-0.14.0-dist.tar.gz
yarn.package.path=http://yourHostname:8000/target/hello-samza-0.14.1-dist.tar.gz
{% endhighlight %}

3\. Compile hello-samza.

{% highlight bash %}
mvn clean package
mkdir -p deploy/samza
tar -xvf ./target/hello-samza-0.14.0-dist.tar.gz -C deploy/samza
tar -xvf ./target/hello-samza-0.14.1-dist.tar.gz -C deploy/samza
{% endhighlight %}

4\. Deploy Samza job package to Http server..
Expand Down
Expand Up @@ -48,7 +48,7 @@ Run the following commands:
{% highlight bash %}
cd samza-rest/build/distributions/
mkdir -p deploy/samza-rest
tar -xvf ./samza-rest-0.14.1-SNAPSHOT.tgz -C deploy/samza-rest
tar -xvf ./samza-rest-0.14.1.tgz -C deploy/samza-rest
{% endhighlight %}

#### Configure the Installations Path
Expand Down
19 changes: 10 additions & 9 deletions docs/startup/download/index.md
Expand Up @@ -31,10 +31,11 @@ Starting from 2016, Samza will begin requiring JDK8 or higher. Please see [this

Samza tools package contains command line tools that user can run to use Samza and it's input/output systems.

* [samza-tools-0.14.0.tgz](http://www-us.apache.org/dist/samza/0.14.0/samza-tools-0.14.0.tgz)
* [samza-tools-0.14.1.tgz](http://www-us.apache.org/dist/samza/0.14.1/samza-tools-0.14.1.tgz)

### Source Releases

* [samza-sources-0.14.1.tgz](http://www.apache.org/dyn/closer.lua/samza/0.14.1)
* [samza-sources-0.14.0.tgz](http://www.apache.org/dyn/closer.lua/samza/0.14.0)
* [samza-sources-0.13.1.tgz](http://www.apache.org/dyn/closer.lua/samza/0.13.1)
* [samza-sources-0.13.0.tgz](http://www.apache.org/dyn/closer.lua/samza/0.13.0)
Expand All @@ -60,50 +61,50 @@ A Maven-based Samza project can pull in all required dependencies Samza dependen
<dependency>
<groupId>org.apache.samza</groupId>
<artifactId>samza-api</artifactId>
<version>0.14.0</version>
<version>0.14.1</version>
</dependency>
<dependency>
<groupId>org.apache.samza</groupId>
<artifactId>samza-core_2.11</artifactId>
<version>0.14.0</version>
<version>0.14.1</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.samza</groupId>
<artifactId>samza-shell</artifactId>
<classifier>dist</classifier>
<type>tgz</type>
<version>0.14.0</version>
<version>0.14.1</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.samza</groupId>
<artifactId>samza-yarn_2.11</artifactId>
<version>0.14.0</version>
<version>0.14.1</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.samza</groupId>
<artifactId>samza-kv_2.11</artifactId>
<version>0.14.0</version>
<version>0.14.1</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.samza</groupId>
<artifactId>samza-kv-rocksdb_2.11</artifactId>
<version>0.14.0</version>
<version>0.14.1</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.samza</groupId>
<artifactId>samza-kv-inmemory_2.11</artifactId>
<version>0.14.0</version>
<version>0.14.1</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.samza</groupId>
<artifactId>samza-kafka_2.11</artifactId>
<version>0.14.0</version>
<version>0.14.1</version>
<scope>runtime</scope>
</dependency>
{% endhighlight %}
Expand Down
2 changes: 1 addition & 1 deletion docs/startup/hello-samza/versioned/index.md
Expand Up @@ -61,7 +61,7 @@ Then, you can continue w/ the following command in hello-samza project:
{% highlight bash %}
mvn clean package
mkdir -p deploy/samza
tar -xvf ./target/hello-samza-0.14.1-SNAPSHOT-dist.tar.gz -C deploy/samza
tar -xvf ./target/hello-samza-0.14.1-dist.tar.gz -C deploy/samza
{% endhighlight %}

### Run a Samza Job
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Expand Up @@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.
group=org.apache.samza
version=0.14.1-SNAPSHOT
version=0.14.1
scalaVersion=2.11

gradleVersion=2.8
Expand Down
8 changes: 4 additions & 4 deletions samza-test/src/main/config/join/README
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-0.14.1-SNAPSHOT.tgz
Update the "yarn.package.path" to $DEPLOY_DIR/samza-test_2.11-0.14.1.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-0.14.1-SNAPSHOT.tgz
yarn.package.path=file:///path/to/samza-hello-samza/deploy/samza-test_2.11-0.14.1.tgz

Then release and extract the test tarball:
> cd $SAMZA_SRC
> ./gradlew releaseTestJobs
> cp samza-test/build/distributions/samza-test_2.11-0.14.1-SNAPSHOT.tgz $DEPLOY_DIR
> cp samza-test/build/distributions/samza-test_2.11-0.14.1.tgz $DEPLOY_DIR
> mkdir $DEPLOY_DIR/samza
> tar -xvf $DEPLOY_DIR/samza-test_2.11-0.14.1-SNAPSHOT.tgz -C $DEPLOY_DIR/samza
> tar -xvf $DEPLOY_DIR/samza-test_2.11-0.14.1.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
@@ -1,5 +1,5 @@
{
"samza_executable": "samza-test_2.11-0.14.1-SNAPSHOT.tgz",
"samza_executable": "samza-test_2.11-0.14.1.tgz",
"samza_install_path": "deploy/smoke_tests",
"samza_config_factory": "org.apache.samza.config.factories.PropertiesConfigFactory"
}

0 comments on commit 5ca7fac

Please sign in to comment.