8000 merged Dockerfile · codeaudit/pipeline-1@1799d27 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1799d27

Browse files
committed
merged Dockerfile
2 parents 0552e86 + 3513c3c commit 1799d27

File tree

5 files changed

+9
-2
lines changed

5 files changed

+9
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ RUN \
225225

226226
# Airflow
227227
&& cd ~ \
228-
&& pip install airflow[devel] \
228+
&& pip install airflow \
229229

230230
# Presto
231231
&& cd ~ \
@@ -256,7 +256,7 @@ RUN \
256256
&& unzip stanford-corenlp-full-2015-12-09.zip \
257257
&& rm stanford-corenlp-full-2015-12-09.zip \
258258
&& cd ~/pipeline/myapps/ml \
259-
&& cp ~/stanford-corenlp-full-2015-12-09/stanford-corenlp-${CASSANDRA_VERSION}-models.jar lib/ \
259+
&& cp ~/stanford-corenlp-full-2015-12-09/stanford-corenlp-${STANFORD_CORENLP_VERSION}-models.jar lib/ \
260260
&& sbt package \
261261

262262
# Sbt Streaming

bin/docker-start-worker.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
docker exec pipeline$1 bash && nohup /root/spark-1.6.0-bin-fluxcapacitor/sbin/start-slave.sh --cores 2 --memory 2048m --webui-port 6061 -h 172.17.0.$1 spark://172.17.0.1:7080

bin/docker-stop-workers.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
docker exec pipeline$1 nohup /root/spark-1.6.0-bin-fluxcapacitor/sbin/stop-slaves.sh
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
connector.name=cassandra
2+
cassandra.contact-points=127.0.0.1
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
connector.name=kafka
2+
kafka.table-names=item_ratings
3+
kafka.nodes=127.0.0.1:9092

0 commit comments

Comments
 (0)
0