org.apache.hadoop.yarn.client.api.async.impl.AMRMClientAsyncImpl

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

org.apache.hadoop.yarn.client.api.async.impl.AMRMClientAsyncImpl

rimin515
hi,i read file from hdfs,but there is error when run jon on yarn clutster,
-----------------------------------------------
val dataSeg = env.readTextFile("hdfs:///user/hadoop/text").filter(!_.startsWith("#")).map { x => val values = x.split("\t") (values.apply(0),values.apply(1).split(" ")) }
logger.info("****dataSeg****="+dataSeg.count())

the error is following:
--------------------------------------------------------------
2017-03-24 11:32:15,012 INFO org.apache.hadoop.yarn.client.api.async.impl.AMRMClientAsyncImpl - Interrupted while waiting for queue
java.lang.InterruptedException at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2017) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2052) at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
at org.apache.hadoop.yarn.client.api.async.impl.AMRMClientAsyncImpl$CallbackHandlerThread.run(AMRMClientAsyncImpl.java:274)
-----------------------------
hadoop is 2.6
flink is 1.1.0-hadoop2.6-scala-2.11
(the org.apache.hadoop.yarn.client.api.async.impl.AMRMClientAsyncImpl is in flink-shaded-hadoop2-1.1.0 )

Reply | Threaded
Open this post in threaded view
|

Re: org.apache.hadoop.yarn.client.api.async.impl.AMRMClientAsyncImpl

rmetzger0
Hi,

I don't think that his error is actually an issue: https://issues.apache.org/jira/browse/YARN-1022
Is something not working as expected in your application?

On Fri, Mar 24, 2017 at 5:53 AM, <[hidden email]> wrote:
hi,i read file from hdfs,but there is error when run jon on yarn clutster,
-----------------------------------------------
val dataSeg = env.readTextFile("hdfs:///user/hadoop/text").filter(!_.startsWith("#")).map { x => val values = x.split("\t") (values.apply(0),values.apply(1).split(" ")) }
logger.info("****dataSeg****="+dataSeg.count())

the error is following:
--------------------------------------------------------------
2017-03-24 11:32:15,012 INFO org.apache.hadoop.yarn.client.api.async.impl.AMRMClientAsyncImpl - Interrupted while waiting for queue
java.lang.InterruptedException at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2017) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2052) at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
at org.apache.hadoop.yarn.client.api.async.impl.AMRMClientAsyncImpl$CallbackHandlerThread.run(AMRMClientAsyncImpl.java:274)
-----------------------------
hadoop is 2.6
flink is 1.1.0-hadoop2.6-scala-2.11
(the org.apache.hadoop.yarn.client.api.async.impl.AMRMClientAsyncImpl is in flink-shaded-hadoop2-1.1.0 )