[ 
https://issues.apache.org/jira/browse/ACCUMULO-4136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15143181#comment-15143181
 ] 

Josh Elser commented on ACCUMULO-4136:
--------------------------------------

{noformat}
--- PRISTINE/bin/start-server.sh        2016-02-11 13:02:55.000000000 -0500
+++ start-server.sh     2016-02-11 13:02:15.000000000 -0500
@@ -26,6 +26,8 @@
 script=$( basename "$SOURCE" )
 # Stop: Resolve Script Directory

+set -x
+
 . "$bin"/config.sh
 . "$bin"/config-server.sh

--- PRISTINE/bin/config-server.sh       2016-02-11 13:02:55.000000000 -0500
+++ config-server.sh    2016-02-11 13:00:54.000000000 -0500
@@ -66,7 +66,7 @@
   fi
 fi

-SSH='ssh -qnf -o ConnectTimeout=2'
+SSH='ssh -nf -o ConnectTimeout=2'

 # ACCUMULO-1985 provide a way to use the scripts and still bind to all network 
interfaces
 export ACCUMULO_MONITOR_BIND_ALL=${ACCUMULO_MONITOR_BIND_ALL:-"false"}

 --- PRISTINE/assemble/bin/start-all.sh 2016-02-11 13:02:55.000000000 -0500
+++ start-all.sh        2016-02-11 13:00:03.000000000 -0500
@@ -25,6 +25,8 @@
 bin="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
 # Stop: Resolve Script Directory

+set -x
+
 . "$bin"/config.sh
 . "$bin"/config-server.sh
 unset DISPLAY
{noformat}

[~epicdave], can you make these changes in your install and send us the output 
of a start-all.sh (when Accumulo isn't running), please?

Also, if you have somewhere to post a snapshot of the VM, I'm sure one of us 
will pull it down and can look at your exact environment (we're a bit more VM 
savvy than docker savvy).

> monitor fails to start when accumulo is running in a docker container when 
> host is set to either localhost or 0.0.0.0
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: ACCUMULO-4136
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4136
>             Project: Accumulo
>          Issue Type: Bug
>         Environment: accumulo 1.7.0
> Docker version 1.7.1, build 786b29d
> docker image ubuntu 14.04
>            Reporter: David Holiday
>            Priority: Minor
>
> when running accumulo inside a docker container, the accumulo monitor service 
> won't start unless line 61 of ../accumulo-1.7.0/bin/start-all.sh is changed 
> from
>     {{$\{bin\}/start-server.sh $MONITOR monitor}}
>     to
>     {{$\{bin\}/start-server.sh $HOSTNAME monitor}}
> or specifying $HOSTNAME in the ../accumulo-1.7.9/conf/monitor file. Enabling 
> variable ACCUMULO_MONITOR_BIND_ALL has no effect. The only way to bring the 
> monitor service up is to use the hostname explicitly. 
> here is a working accumulo/zookeeper/hadoop stack that's been dockerized. 
> commenting out line 58 of  ../dockerized_accumulo/accumulo/Dockerfile before 
> provisioning the containers will demonstrate the problem.
> https://github.com/davidholiday/dockerized_accumulo



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to