Support Questions

Find answers, ask questions, and share your expertise

Java. Lang. OutOfMemoryError

avatar
Contributor

Iam using Ambari. I ran few queries and got the following errors: Vertex failed, vertexName=Map 1, vertexId=vertex_1469016431837_0001_1_00, diagnostics= Task failed, taskId=task_1469016431837_0001_1_00_000000, diagnostics= TaskAttempt 0 failed, info= Error: Failure while running task:java.lang.RuntimeException: java.lang.OutOfMemoryError: Java heap space at org.apache.hadoop.hive.ql.exec.tez.TezProcessor.initializeAndRunProcessor(TezProcessor.java:159) at org.apache.hadoop.hive.ql.exec.tez.TezProcessor.run(TezProcessor.java:139)

1 ACCEPTED SOLUTION

avatar
@Rajinder Kaur

If you are using Ambari, then you can modify the properties from Ambari and restart affected services. If performing the changes manually, check the owner of the file and modify the file as owner of the file. Regarding configurations, refer to below post with similar issue:

https://community.hortonworks.com/questions/5780/hive-on-tez-query-map-output-outofmemoryerror-java....

Hope this helps.

Thanks and Regards,

Sindhu

View solution in original post

2 REPLIES 2

avatar
Contributor

I tried to go in tez-site.xml and increased the resource size but i can't write in that file

avatar
@Rajinder Kaur

If you are using Ambari, then you can modify the properties from Ambari and restart affected services. If performing the changes manually, check the owner of the file and modify the file as owner of the file. Regarding configurations, refer to below post with similar issue:

https://community.hortonworks.com/questions/5780/hive-on-tez-query-map-output-outofmemoryerror-java....

Hope this helps.

Thanks and Regards,

Sindhu