Support Questions
Find answers, ask questions, and share your expertise

Increase (configure) PIG_HEAPSIZE

Highlighted

Increase (configure) PIG_HEAPSIZE

New Contributor

I have few question about PIG_HEAPSIZE, Is anyone can please help me to understand.

 

Is this PIG_HEAPSIZE can be changed globally? if so where we need to change?

Is there will be problem if we increase or decrease this PIG_HEAPSIZE? If so what are those?

 

Thanks

Sai

3 REPLIES 3
Highlighted

Re: Increase (configure) PIG_HEAPSIZE

@Sai2222 

Yes, it can be change  globally by adding it in the Oozie properties.

export PIG_HEAPSIZE=2096

 

My suggestion of making change global for one job failure is not a good reason because it unnecessarily take some memory even though it's not required in each execution. 

Highlighted

Re: Increase (configure) PIG_HEAPSIZE

New Contributor

Thanks for the reply.

Would you please share more info how to configure this on oozie and are there any more downside effects increasing or decreasing PIG_HEAPSIZE. Any best practices ? would you please share.

Highlighted

Re: Increase (configure) PIG_HEAPSIZE

New Contributor

Also PIG actually takes configured heap memory or just allow memory to be taken as needed up to that limit? Anyone can explain this please.

Don't have an account?