리그캣의 개발놀이터

[elasticsearch on docker] error OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release. 본문

인프라/Docker

[elasticsearch on docker] error OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.

리그캣 2019. 9. 9. 13:34

OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.

 

elasticsearch를 mesos위에 올리는데 에러가 났다.

 

할당 default ram크기를 1gb에서 2gb로 올렸더니 해결되었다.

 

{

  "id": "/elk/elasticsearch",

  "cmd": null,

  "cpus": 1,

  "mem": 2048,

  "disk": 0,

  "instances": 1,

  "constraints": [

    [

      "hostname",

      "CLUSTER",

      "10.231.238.13"

    ]

  ],

  "container": {

    "type": "DOCKER",

    "docker": {

      "forcePullImage": false,

      "image": "10.231.238.13:31372/elasticsearch:0.1",

      "parameters": [],

      "privileged": false

    },

    "volumes": [

      {

        "containerPath": "/usr/share/elasticsearch/data",

        "hostPath": "/nas01/elk/data/elasticsearch",

        "mode": "RW"

      }

    ],

    "portMappings": [

      {

        "containerPort": 9200,

        "hostPort": 31401

      },

      {

        "containerPort": 9300,

        "hostPort": 31402

      }

    ]

  },

  "env": {

    "discovery.type" : "single-node" 

  },

  "networks": [

    {

      "mode": "container/bridge"

    }

  ],

  "portDefinitions": []

}

Comments