You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@griffin.apache.org by XUEXU GUO <gr...@gmail.com> on 2018/05/28 14:59:38 UTC

Issues with running Griffin Docker

Hi,

I am running Docker stuff on my local(Mac).

I always got ES container quit for some unknown reason. I checked the ES
contain logs, the last log is the following:
     [2018-05-28T13:07:53,441][INFO ][o.e.n.Node               ] []
initializing ..

And the same time, griffin container doesn't respond the request to
http://locahost:38080


the following is the result of "docker ps -a"

CONTAINER ID        IMAGE                            COMMAND
  CREATED             STATUS                     PORTS




              NAMES
b2ba28a3744e        bhlx3lyx7/griffin_spark2:0.2.0
 "/etc/bootstrap-all.…"   2 hours ago         Up 2 hours
 6066/tcp, 8030-8033/tcp, 8040/tcp, 9000/tcp, 10020/tcp, 19888/tcp,
27017/tcp, 49707/tcp, 50010/tcp, 50020/tcp, 50070/tcp, 50075/tcp,
50090/tcp, 0.0.0.0:32122->2122/tcp, 0.0.0.0:33306->3306/tcp,
0.0.0.0:35432->5432/tcp,
0.0.0.0:38042->8042/tcp, 0.0.0.0:38080->8080/tcp, 0.0.0.0:38088->8088/tcp,
0.0.0.0:38998->8998/tcp, 0.0.0.0:39083->9083/tcp   griffin
5c0354da7fe2        bhlx3lyx7/elasticsearch
"/docker-entrypoint.…"   2 hours ago         Exited (137) 2 hours ago




                                      es

Re: Issues with running Griffin Docker

Posted by Lionel Liu <li...@apache.org>.
Hi Xuexu,

In the document of griffin docker guide:
https://github.com/apache/incubator-griffin/blob/master/griffin-doc/docker/griffin-docker-guide.md#environment-preparation

In step 2, we need to increase vm.max_map_count to use elasticsearch docker
image
*sysctl -w vm.max_map_count=262144*

It's the command for linux, for mac, would you google for the similar
command ?


Thanks,
Lionel



On Mon, May 28, 2018 at 10:59 PM, XUEXU GUO <gr...@gmail.com>
wrote:

> Hi,
>
> I am running Docker stuff on my local(Mac).
>
> I always got ES container quit for some unknown reason. I checked the ES
> contain logs, the last log is the following:
>      [2018-05-28T13:07:53,441][INFO ][o.e.n.Node               ] []
> initializing ..
>
> And the same time, griffin container doesn't respond the request to
> http://locahost:38080
>
>
> the following is the result of "docker ps -a"
>
> CONTAINER ID        IMAGE                            COMMAND
>   CREATED             STATUS                     PORTS
>
>
>
>
>               NAMES
> b2ba28a3744e        bhlx3lyx7/griffin_spark2:0.2.0
>  "/etc/bootstrap-all.…"   2 hours ago         Up 2 hours
>  6066/tcp, 8030-8033/tcp, 8040/tcp, 9000/tcp, 10020/tcp, 19888/tcp,
> 27017/tcp, 49707/tcp, 50010/tcp, 50020/tcp, 50070/tcp, 50075/tcp,
> 50090/tcp, 0.0.0.0:32122->2122/tcp, 0.0.0.0:33306->3306/tcp,
> 0.0.0.0:35432->5432/tcp,
> 0.0.0.0:38042->8042/tcp, 0.0.0.0:38080->8080/tcp, 0.0.0.0:38088->8088/tcp,
> 0.0.0.0:38998->8998/tcp, 0.0.0.0:39083->9083/tcp   griffin
> 5c0354da7fe2        bhlx3lyx7/elasticsearch
> "/docker-entrypoint.…"   2 hours ago         Exited (137) 2 hours ago
>
>
>
>
>                                       es
>