Skip to content

Commit 08355ce

Browse files
author
Chris Wilkes
committed
Add ipython and use via env variable
1 parent 4f6a0d4 commit 08355ce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
FROM sequenceiq/hadoop-ubuntu:2.6.0
22
MAINTAINER SequenceIQ
33

4+
RUN apt-get install -y ipython
45
RUN curl -s http://d3kbcqa49mib13.cloudfront.net/spark-1.2.1-bin-hadoop2.4.tgz | tar -xz -C /usr/local/
56
RUN cd /usr/local && ln -s spark-1.2.1-bin-hadoop2.4 spark
67
ENV SPARK_HOME /usr/local/spark
@@ -12,5 +13,6 @@ RUN $BOOTSTRAP && $HADOOP_PREFIX/bin/hadoop dfsadmin -safemode leave && $HADOOP_
1213
ENV YARN_CONF_DIR $HADOOP_PREFIX/etc/hadoop
1314
ENV SPARK_JAR hdfs:///spark/spark-assembly-1.2.1-hadoop2.4.0.jar
1415
ENV PATH $PATH:$SPARK_HOME/bin:$HADOOP_PREFIX/bin
16+
ENV PYSPARK_DRIVER_PYTHON ipython
1517

1618
CMD ["/etc/bootstrap.sh", "-d"]

0 commit comments

Comments
 (0)