impala-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vincent Tran <vtt...@cloudera.com>
Subject Re: How to control max memory usage in JNI
Date Mon, 11 Dec 2017 02:56:21 GMT
Hi Yu Feng,

You can try to start catalogd with the "-jvm_args" argument.
Ref: https://github.com/apache/impala/blob/master/bin/start-catalogd.sh#L45

i.e.
bin/start-catalogd.sh  -jvm_args="-Xms4294967296 -Xmx4294967296"


On Dec 10, 2017 9:18 PM, "yu feng" <olaptestyu@gmail.com> wrote:

> how impala control the max memory to be allocated in JNICatalogd and
> JniFronted, I get java OOM in Catalogd, and doubt how to slove it。
>
> Is there  a way to change it in impala ? maybe set JAVA_TOOL_OPTIONS
> environment variable is a choose, But how to do it in impala without modify
> code.
>

Mime
View raw message