Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

impala java heap config

Solved Go to solution

impala java heap config

Contributor

HI,

 

In impala config, i am setting mem limit to 24G, there is also a java heap size, i dont know if this is used by impala queries? and whats the relation with mem limit, and what should i set, if i have physical say 32G, how big can i set on java heap?

 

Thanks

Shannon

1 ACCEPTED SOLUTION

Accepted Solutions

Re: impala java heap config

Master Collaborator

Llama is deprecated and shouldn't be in use - you should be safe to ignore that option.

5 REPLIES 5

Re: impala java heap config

Champion

The best practice is to set 8 gb aside  for the os and remaining for the dameons .

Are you refering to JAVA_TOOL_OPTIONS property . 

I would start with 8G bump it when hit outofMemory during intial setup . 

Re: impala java heap config

Contributor

Java Heap Size of Catalog Server in Bytes - i set to 4G

 

Java Heap Size of Impala Llama ApplicationMaster in Bytes  - does this have anything to do with impala query?

Re: impala java heap config

Master Collaborator

Llama is deprecated and shouldn't be in use - you should be safe to ignore that option.

Highlighted

Re: impala java heap config

Explorer

Hi Tim,

 

Looks like there're no places to control the max JVM heap size of impalads in Cloudera Manager. (Only one for the catalogd) How can we set JAVA_TOOL_OPTIONS for impalads (coordinators)?

Re: impala java heap config

Master Collaborator

We have "Java Heap Size of Impala Daemon in Bytes" in CM 6.1+ and 5.16+. Before that you had to use the "Impala Daemon Environment Advanced Configuration Snippet" safety valve. Here's an example from an internal cluster with dedicated coordinators set up.

 

safety.png

Don't have an account?
Coming from Hortonworks? Activate your account here