Hi, We’re having some OOM permgen exceptions when running on yarn. We’re not yet sure if it is either a consequence or a cause of our crashes, but we’ve been trying to increase that value… And we did not find how to do it. I’ve seen that the yarn-daemon.sh sets a 256m value.
It looks to me that it’s also possible to customize the YarnClient JVM args, but it will only be for the client, not for the TaskManagers. Do you know of a way to do it ? B.R. Gwenhaël PASQUIERS |
Hi Gwen, there is a configuration value called "env.java.opts", that allows you to pass custom JVM args to JM and TM JVMs. I hope that helps. On Mon, Nov 16, 2015 at 5:30 PM, Gwenhael Pasquiers <[hidden email]> wrote:
|
We tried to add :
-yD env.java.opts="-XX:MaxPermSize=256m"
But we’ve got to investigate since we have to following error : Improperly specified VM option 'MaxPermSize' Either is the option is badly supported, or it is incorrectly passed to the VM (maybe the “-XX:” causes some issues in the scripts). We’ll investigate. From: Robert Metzger [mailto:[hidden email]]
Hi Gwen, there is a configuration value called "env.java.opts", that allows you to pass custom JVM args to JM and TM JVMs. I hope that helps. On Mon, Nov 16, 2015 at 5:30 PM, Gwenhael Pasquiers <[hidden email]> wrote: Hi, We’re having some OOM permgen exceptions when running on yarn. We’re not yet sure if it is either a consequence or a cause of our crashes, but we’ve been trying to increase that value… And we did not find how to do it. I’ve seen that the yarn-daemon.sh sets a 256m value.
It looks to me that it’s also possible to customize the YarnClient JVM args, but it will only be for the client, not for the TaskManagers. Do you know of a way to do it ? B.R. Gwenhaël PASQUIERS |
You can also put the configuration option into the flink-conf.yaml file. On Tue, Nov 17, 2015 at 12:01 PM, Gwenhael Pasquiers <[hidden email]> wrote:
|
The option was accepted using the yaml file and it looks likes it solved our issue. Thanks again. From: Robert Metzger [mailto:[hidden email]]
You can also put the configuration option into the flink-conf.yaml file. On Tue, Nov 17, 2015 at 12:01 PM, Gwenhael Pasquiers <[hidden email]> wrote: We tried to add :
-yD env.java.opts="-XX:MaxPermSize=256m"
But we’ve got to investigate since we have to following error :
Improperly specified VM option 'MaxPermSize' Either is the option is badly supported, or it is incorrectly passed to the VM (maybe
the “-XX:” causes some issues in the scripts). We’ll investigate. From: Robert
Metzger [mailto:[hidden email]]
Hi Gwen, there is a configuration value called "env.java.opts", that allows you to pass custom JVM args to JM and TM JVMs. I hope that helps. On Mon, Nov 16, 2015 at 5:30 PM, Gwenhael Pasquiers <[hidden email]> wrote: Hi, We’re having some OOM permgen exceptions when running on yarn. We’re not yet sure if it is either a consequence or a cause of our crashes, but we’ve been trying to increase that value… And we did not find how to do it. I’ve seen that the yarn-daemon.sh sets a 256m value.
It looks to me that it’s also possible to customize the YarnClient JVM args, but it will only be for the client, not for the TaskManagers. Do you know of a way to do it ? B.R. Gwenhaël PASQUIERS |
Free forum by Nabble | Edit this page |