You saved my day,

this was the culprit
https://github.com/datalayer/zeppelin-docker/issues/1#issuecomment-159094193

The image contains hard-coded settings in interpreter.json.

Thank you, Jakub

On Mon, Nov 23, 2015 at 11:24 PM, moon soo Lee <m...@apache.org> wrote:

> Hi,
>
> You'll need to set 'master' property in 'Interpreter' menu, in your GUI.
>
> MASTER env variable set default value for this 'master' property. So once
> 'master' is decided and saved in conf/interpreter.json, it'll not be
> changed by MASTER env variable unless you remove conf/interpreter.json.
>
> Hope this helps
>
> Best,
> moon
>
> On Tue, Nov 24, 2015 at 4:29 AM Jakub Liska <liska.ja...@gmail.com> wrote:
>
>> Hey,
>>
>> I'm starting zeppelin.sh from within docker container:
>>
>> /usr/bin/docker run \
>>     -p 4040:4040 \
>>     -p 8080:8080 \
>>     -e ZEPPELIN_JAVA_OPTS="-Dspark.executor.memory=5g" \
>>     -e ZEPPELIN_PORT=8080 \
>>     -e ZEPPELIN_NOTEBOOK_DIR=foo/bar \
>>     -e MASTER=spark://${SPARK_MASTER_IP}:7077 \
>>     foo/zeppelin
>>
>> And since my Master IP is dynamic, I need to set it via Environment
>> variable as you can see above...
>>
>> root@3d1c2c3bc389:/opt/zeppelin# printenv | grep MASTER
>> MASTER=spark://10.1.4.4:7077
>>
>> But Zeppelin doesn't use it, I see this in it's logs :
>>
>> ------ Create new SparkContext local[*] -------
>>
>> Any idea what might be wrong? I cannot use zeppelin-env.sh because the IP
>> address is dynamic.
>>
>

Reply via email to