Reply
Contributor
Posts: 28
Registered: ‎07-11-2017

Hive error : 'java.lang.RuntimeException(Error caching map.xml: java.io.InterruptedIOException:)

Hi 

 

When I am trying to run the hive query I am getting the below error. Could anyone tell me what the issue can be ?

 

Total jobs = 11
Launching Job 1 out of 11
Number of reduce tasks not specified. Estimated from input data size: 2
In order to change the average load for a reducer (in bytes):
set hive.exec.reducers.bytes.per.reducer=<number>
In order to limit the maximum number of reducers:
set hive.exec.reducers.max=<number>
In order to set a constant number of reducers:
set mapreduce.job.reduces=<number>
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.mr.MapredLocalTask
java.lang.RuntimeException: Error caching map.xml: java.io.InterruptedIOException: Call interrupted
at org.apache.hadoop.hive.ql.exec.Utilities.setBaseWork(Utilities.java:757)
at org.apache.hadoop.hive.ql.exec.Utilities.setMapWork(Utilities.java:692)
at org.apache.hadoop.hive.ql.exec.Utilities.setMapRedWork(Utilities.java:684)
at org.apache.hadoop.hive.ql.exec.mr.ExecDriver.execute(ExecDriver.java:370)
at org.apache.hadoop.hive.ql.exec.mr.MapRedTask.execute(MapRedTask.java:142)
at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:214)
at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:99)
at org.apache.hadoop.hive.ql.exec.TaskRunner.run(TaskRunner.java:79)
Caused by: java.io.InterruptedIOException: Call interrupted
at org.apache.hadoop.ipc.Client.call(Client.java:1496)
at org.apache.hadoop.ipc.Client.call(Client.java:1439)
at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:230)
at com.sun.proxy.$Proxy17.mkdirs(Unknown Source)
at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.mkdirs(ClientNamenodeProtocolTranslatorPB.java:558)
at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:260)
at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:104)
at com.sun.proxy.$Proxy18.mkdirs(Unknown Source)
at org.apache.hadoop.hdfs.DFSClient.primitiveMkdir(DFSClient.java:3113)
at org.apache.hadoop.hdfs.DFSClient.mkdirs(DFSClient.java:3080)
at org.apache.hadoop.hdfs.DistributedFileSystem$19.doCall(DistributedFileSystem.java:1001)
at org.apache.hadoop.hdfs.DistributedFileSystem$19.doCall(DistributedFileSystem.java:997)
at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
at org.apache.hadoop.hdfs.DistributedFileSystem.mkdirsInternal(DistributedFileSystem.java:997)
at org.apache.hadoop.hdfs.DistributedFileSystem.mkdirs(DistributedFileSystem.java:989)
at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:1970)
at org.apache.hadoop.hive.ql.exec.Utilities.setPlanPath(Utilities.java:775)
at org.apache.hadoop.hive.ql.exec.Utilities.setBaseWork(Utilities.java:701)
... 7 more
Job Submission failed with exception 'java.lang.RuntimeException(Error caching map.xml: java.io.InterruptedIOException: Call interrupted)'

Champion
Posts: 545
Registered: ‎05-16-2016

Re: Hive error : 'java.lang.RuntimeException(Error caching map.xml: java.io.InterruptedIOException:)

[ Edited ]

whats your CDH / Hive version ? could you let me know

whether you had set the below properties

if not set and could you let me know if that helps .

set hive.exec.reducers.bytes.per.reducer=<number>
set hive.exec.reducers.max=<number>
set mapreduce.job.reduces=<number>
Contributor
Posts: 28
Registered: ‎07-11-2017

Re: Hive error : 'java.lang.RuntimeException(Error caching map.xml: java.io.InterruptedIOException:)

Hi,

Setting those values didnot help.
CDH/Hive : hive-common-1.1.0-cdh5.12.0.jar

Announcements