Manish Pansari
Manish Pansari

Reputation: 401

Tez vertex error shown while execution of query in hive

can any one explain what is VERTEX_FAILURE error in Hive while using Tez execution engine ? Also what is the root cause of it?

Upvotes: 0

Views: 9581

Answers (1)

Sahil Desai
Sahil Desai

Reputation: 3696

This error is because Tez containers are not allocating enough memory to run the query.

Solution: you have to increase memory for resources with adjusting following parameters.

tez.am.resource.memory.mb=4096 
tez.am.java.opts=-server -Xmx3276m -Djava.net.preferIPv4Stack=true -XX:+UseNUMA -XX:+UseParallelGC 
hive.tez.container.size=4096 
hive.tez.java.opts=-server -Xmx3276m -Djava.net.preferIPv4Stack=true -XX:+UseNUMA -XX:+UseParallelGC 

Upvotes: 3

Related Questions