Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-6069

Volume mount configuration for interpreter.json

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • 0.12.0
    • None

    Description

      I want to connect to the database for each environment—development, staging, and production—and control it by mounting the interpreter.json file, but this is currently not possible. You can check a simple test as follows:

       

      I added the following content to the original conf/interpreter.json file: I copied the contents of the md interpreter and only modified the interpreter name to md_test.

       

      I want to mount this file with the container and use it, but an error occurs, and I cannot access the website. The contents of the Docker Compose file I used are as follows:

       

      services:

        zeppelin-server:

          hostname: zeppelin

          container_name: zeppelin

          image: apache/zeppelin:0.11.2

          ports:

            - "8080:8080"

          environment:

            ZEPPELIN_PORT: 8080

            ZEPPELIN_MEM: -Xmx1024m -XX:MaxMetaspaceSize=512m

          volumes:

            - ./conf/interpreter.json:/opt/zeppelin/conf/interpreter.json

       

      docker-compose-zeppelin-only.yml

       

      interpreter.json (md)

       

      interpreter.json (md_test)

      Attachments

        1. image-2024-08-29-01-30-09-220.png
          68 kB
          Gyeongtae Park
        2. image-2024-08-29-01-31-31-648.png
          160 kB
          Gyeongtae Park
        3. image-2024-08-29-01-32-02-777.png
          146 kB
          Gyeongtae Park

        Activity

          People

            Unassigned Unassigned
            gyeongtaepark Gyeongtae Park
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 144h
                144h
                Remaining:
                Remaining Estimate - 144h
                144h
                Logged:
                Time Spent - Not Specified
                Not Specified