Tranquility: how-to install

Hi guys,

I would like to install tranquility for ingesting data to druid.

Looking at:

  1. https://github.com/druid-io/tranquility/blob/master/docs/configuration.md
  2. https://github.com/druid-io/tranquility/blob/master/docs/server.md
    It seems that I am missing the bin directory that comes from compiling the source with sbt.

But the README files do not mention how I can do that ?

Could you please advise how get it up and running please ?

After download the GitHub repo, I get:

$ ls -salt

total 92

4 drwxrwxr-x. 4 app app 4096 Oct 19 15:01 …

4 drwxr-xr-x. 12 app app 4096 Jun 1 14:47 .

4 -rwxr-xr-x. 1 app app 176 Jun 1 14:47 .gitignore

4 -rwxr-xr-x. 1 app app 188 Jun 1 14:47 .travis.yml

4 -rwxr-xr-x. 1 app app 663 Jun 1 14:47 CONTRIBUTING.md

12 -rwxr-xr-x. 1 app app 11358 Jun 1 14:47 LICENSE

4 -rwxr-xr-x. 1 app app 4096 Jun 1 14:47 README.md

12 -rwxr-xr-x. 1 app app 11276 Jun 1 14:47 build.sbt

4 drwxr-xr-x. 3 app app 4096 Jun 1 14:47 core

4 drwxr-xr-x. 3 app app 4096 Jun 1 14:47 distribution

4 drwxr-xr-x. 2 app app 4096 Jun 1 14:47 docs

4 drwxr-xr-x. 3 app app 4096 Jun 1 14:47 flink

4 drwxr-xr-x. 3 app app 4096 Jun 1 14:47 kafka

4 drwxr-xr-x. 2 app app 4096 Jun 1 14:47 project

4 drwxr-xr-x. 3 app app 4096 Jun 1 14:47 samza

4 drwxr-xr-x. 3 app app 4096 Jun 1 14:47 server

4 drwxr-xr-x. 3 app app 4096 Jun 1 14:47 spark

4 drwxr-xr-x. 3 app app 4096 Jun 1 14:47 storm

4 -rwxr-xr-x. 1 app app 40 Jun 1 14:47 version.sbt

``

If you cloned the repo, you must build the project - the instructions are in the readme:
Tranquility is built with SBT. If you want to build the jars yourself, you can run sbt +package. **To build a distribution tarball, run **sbt ++2.11.8 'project distribution' universal:packageZipTarball.

The readme also includes a link to a downloadable distribution tarball, but the link is dead so building from source is your only option.
Kyle

Hey Nikos, Kyle,

Sorry for the confusion on the github link. The distribution is actually not dead, you can download it at the official Druid download page here: http://druid.io/downloads.html. The current version is 0.8.2.

The issue is that the github page is a development repo so it lives “in the future” and so it points to the next (not-yet-existing) version 0.9.0.

Thank you guys.

Could you please advise why I do not see the “bin” directory after building it with sbt ?

tranquility]$ sbt +package

[info] Loading project definition from /home/app/ip-spotlight/oss/tranquility/project

[info] Set current project to root (in build file:/home/xxx/tranquility/)

[info] Setting version to 2.11.8

[info] Reapplying settings…

[info] Set current project to root (in build file:/home/xxx/tranquility/)

[success] Total time: 42 s, completed Nov 2, 2017 11:05:14 AM

[info] Setting version to 2.11.8

[info] Reapplying settings…

[info] Set current project to root (in build file:/home/xxx/tranquility/)

The command I use to build the release distributions is: sbt ++2.11.7 ‘project distribution’ universal:packageZipTarball

It does a few extra steps that “package” doesn’t.