[ 
https://issues.apache.org/jira/browse/LENS-1175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15430380#comment-15430380
 ] 

Rajat Khandelwal commented on LENS-1175:
----------------------------------------

Looking at 
https://builds.apache.org/job/PreCommit-Lens-Build/810/testReport/junit/org.apache.lens.server/TestServerRestart/testQueryService/,
 it seems the failure reason is OOM:

{noformat}
Status:
  Progress: 1.0
  Status: FAILED
  Status Message: Query execution failed!
  Is Result Set Available: false
  Progress Message: 
[{"beginTime":1471856168084,"endTime":1471856172026,"taskId":"Stage-1","externalHandle":"job_local1065694957_0052","taskState":"FINISHED","taskType":"MAPRED","name":"MAPRED","statusMessage":"2016-08-22
 08:56:11,939 Stage-1 map = 0%,  reduce = 
0%","elapsedTime":3942,"returnValue":2}]
  Error Message: Query failed with errorCode:2 with errorMessage: Error while 
processing statement: FAILED: Execution Error, return code 2 from 
org.apache.hadoop.hive.ql.exec.mr.MapRedTask
Driver Op Handle: OperationHandle [opType=EXECUTE_STATEMENT, 
getHandleIdentifier()=71f7877d-e582-4666-b967-5727d4b4d621]
{noformat}

{noformat}
22 Aug 2016 08:56:11 [1266f1f9-862b-4f30-b307-e880ab8c2a6b] [Thread-4806] WARN  
org.apache.hadoop.mapred.LocalJobRunner - job_local1065694957_0052
java.lang.Exception: java.lang.OutOfMemoryError: Java heap space
        at 
org.apache.hadoop.mapred.LocalJobRunner$Job.runTasks(LocalJobRunner.java:462) 
~[hadoop-mapreduce-client-common-2.6.0.jar:na]
        at 
org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:522) 
~[hadoop-mapreduce-client-common-2.6.0.jar:na]
Caused by: java.lang.OutOfMemoryError: Java heap space
        at 
org.apache.hadoop.mapred.MapTask$MapOutputBuffer.init(MapTask.java:983) 
~[hadoop-mapreduce-client-core-2.6.0.jar:na]
        at 
org.apache.hadoop.mapred.MapTask.createSortingCollector(MapTask.java:401) 
~[hadoop-mapreduce-client-core-2.6.0.jar:na]
        at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:439) 
~[hadoop-mapreduce-client-core-2.6.0.jar:na]
        at org.apache.hadoop.mapred.MapTask.run(MapTask.java:343) 
~[hadoop-mapreduce-client-core-2.6.0.jar:na]
        at 
org.apache.hadoop.mapred.LocalJobRunner$Job$MapTaskRunnable.run(LocalJobRunner.java:243)
 ~[hadoop-mapreduce-client-common-2.6.0.jar:na]
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 
~[na:1.8.0_102]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
~[na:1.8.0_102]
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 
~[na:1.8.0_102]
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 
~[na:1.8.0_102]
        at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_102]
22 Aug 2016 08:56:11 [1266f1f9-862b-4f30-b307-e880ab8c2a6b] 
[HiveServer2-Background-Pool: Thread-6136] WARN  
{noformat}

> Intermittent mr job failure in restart tests
> --------------------------------------------
>
>                 Key: LENS-1175
>                 URL: https://issues.apache.org/jira/browse/LENS-1175
>             Project: Apache Lens
>          Issue Type: Bug
>            Reporter: Rajat Khandelwal
>
> https://builds.apache.org/job/PreCommit-Lens-Build/524/testReport/junit/org.apache.lens.server/TestServerRestart/testQueryService/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to