rename Druid binary assembly

This commit is contained in:
Xavier Léauté 2015-02-18 17:25:09 -08:00
parent d459235af5
commit 8e33e58422
6 changed files with 28 additions and 12 deletions

View File

@ -25,11 +25,11 @@ git checkout druid-0.7.0-rc3
### Downloading the DSK (Druid Standalone Kit)
[Download](http://static.druid.io/artifacts/releases/druid-services-0.7.0-rc3-bin.tar.gz) a stand-alone tarball and run it:
[Download](http://static.druid.io/artifacts/releases/druid-0.7.0-rc3-bin.tar.gz) a stand-alone tarball and run it:
``` bash
tar -xzf druid-services-0.X.X-bin.tar.gz
cd druid-services-0.X.X
tar -xzf druid-0.7.0-rc3-bin.tar.gz
cd druid-0.7.0-rc3
```
Twitter Example

View File

@ -47,18 +47,18 @@ There are two ways to setup Druid: download a tarball, or [Build From Source](Bu
### Download a Tarball
We've built a tarball that contains everything you'll need. You'll find it [here](http://static.druid.io/artifacts/releases/druid-services-0.7.0-rc3-bin.tar.gz). Download this file to a directory of your choosing.
We've built a tarball that contains everything you'll need. You'll find it [here](http://static.druid.io/artifacts/releases/druid-0.7.0-rc3-bin.tar.gz). Download this file to a directory of your choosing.
You can extract the content within by issuing:
```
tar -zxvf druid-services-*-bin.tar.gz
tar -zxvf druid-0.7.0-rc3-bin.tar.gz
```
If you cd into the directory:
```
cd druid-services-0.7.0-rc3
cd druid-0.7.0-rc3
```
You should see a bunch of files:

View File

@ -13,13 +13,13 @@ In this tutorial, we will set up other types of Druid nodes and external depende
If you followed the first tutorial, you should already have Druid downloaded. If not, let's go back and do that first.
You can download the latest version of druid [here](http://static.druid.io/artifacts/releases/druid-services-0.7.0-rc3-bin.tar.gz)
You can download the latest version of druid [here](http://static.druid.io/artifacts/releases/druid-0.7.0-rc3-bin.tar.gz)
and untar the contents within by issuing:
```bash
tar -zxvf druid-services-*-bin.tar.gz
cd druid-services-*
tar -zxvf druid-0.7.0-rc3-bin.tar.gz
cd druid-0.7.0-rc3
```
You can also [Build From Source](Build-from-source.html).

View File

@ -61,7 +61,7 @@
"type": "hadoop",
"inputSpec": {
"type": "static",
"paths": "/myPath/druid-services-0.7.0-rc3/examples/indexing/wikipedia_data.json"
"paths": "/myPath/druid-0.7.0-rc3/examples/indexing/wikipedia_data.json"
},
"metadataUpdateSpec": {
"type": "db",

View File

@ -98,9 +98,10 @@
<id>distro-assembly</id>
<phase>package</phase>
<goals>
<goal>assembly</goal>
<goal>single</goal>
</goals>
<configuration>
<finalName>${project.parent.artifactId}-${project.parent.version}</finalName>
<descriptors>
<descriptor>src/assembly/assembly.xml</descriptor>
</descriptors>

View File

@ -3,4 +3,19 @@
#
# Script to upload tarball of assembly build to static.druid.io for serving
#
s3cmd put services/target/druid-services-*-bin.tar.gz s3://static.druid.io/artifacts/releases/
if [ $# -lt 1 ]; then
echo "Usage: $0 <version>" >&2
exit 2
fi
VERSION=$1
TAR=druid-$VERSION-bin.tar.gz
S3PATH=s3://static.druid.io/artifacts/releases
if [ ! -z "`s3cmd ls "$S3PATH/$TAR"`" ]; then
echo "ERROR: Refusing to overwrite $S3PATH/$TAR" >&2
exit 2
fi
s3cmd put services/target/$TAR $S3PATH/$TAR