Hi!
  I have created a volume for the the docker container and put the data in
that volume. I'm using docker compose and the docker compose for zeppelin
looks like this

interactive-analytics:

    build: interactive-analytics
    container_name: "zeppelin-analytics"
    environment:

      - KAFKA_BROKER=kafka-conn:9092

    ports:

      - "8080:8080"

    volumes:

      - './interactive-analytics/resources/conf:/zeppelin/conf'

      - './interactive-analytics/resources/notebook:/zeppelin/notebook'

      - './interactive-analytics/resources/data:/data' #this is the part
where I'm handling my data. In notebook I'm referring to /data/my.csv

Please check the docker documentation on how to run your docker container
with an attached volume.

I hope it helps.
Florin



On Fri, Nov 2, 2018 at 2:40 PM Eric Pugh <ep...@opensourceconnections.com>
wrote:

> I am using the %python interpreter, and I want to write out a .csv file.
> Can I do that and store it with my Zeppelin notebook?
>
> I’m running Zeppelin in a Docker compose script, so I could also mount a
> “data dir” of some variety….
>
>
>
> Eric
>
> _______________________
> *Eric Pugh **| *Founder & CEO | OpenSource Connections, LLC | 434.466.1467
> | http://www.opensourceconnections.com | My Free/Busy
> <http://tinyurl.com/eric-cal>
> Co-Author: Apache Solr Enterprise Search Server, 3rd Ed
> <https://www.packtpub.com/big-data-and-business-intelligence/apache-solr-enterprise-search-server-third-edition-raw>
> This e-mail and all contents, including attachments, is considered to be
> Company Confidential unless explicitly stated otherwise, regardless
> of whether attachments are marked as such.
>
>

Reply via email to