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.

Java. Lang. OutOfMemoryError

Solved Go to solution

Java. Lang. OutOfMemoryError

New 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

Accepted Solutions

Re: Java. Lang. OutOfMemoryError

@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

2 REPLIES 2

Re: Java. Lang. OutOfMemoryError

New Contributor

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

Re: Java. Lang. OutOfMemoryError

@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