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

Jayesh commented on EAGLE-561:
------------------------------

Hi [~wu_q...@yahoo.com], 
I have hit this issue before and hence filed that YARN bug. so let me sharing 
my workaround if its helpful to you.

workaround is : I simply removed (commented) "type" field from Queue.java
For queue "type", the value is basically indicating that its a leaf queue node 
of the "type" of SchedulerInfo.java ( ex: for SchedulerInfo.type = 
"capacityScheduler" the queue.type would be "capacitySchedulerLeafQueueInfo" 
and so on...)
Also "type" filed in Queue.java is almost never directly used and can also be 
derived from "type" in SchedulerInfo.java if its required, and anyway the issue 
is fixed for newer hadoop version.
 




 

> JsonMappingException in Hadoop queue feeder
> -------------------------------------------
>
>                 Key: EAGLE-561
>                 URL: https://issues.apache.org/jira/browse/EAGLE-561
>             Project: Eagle
>          Issue Type: Bug
>    Affects Versions: v0.5.0
>            Reporter: Zhao, Qingwen
>            Assignee: Michael Wu
>             Fix For: v0.5.0
>
>
> This exception is caused by a yarn rest api bug: 
> https://issues.apache.org/jira/browse/YARN-4785
> the "type" field for LeafQueueInfo in response of RM REST API  has 
> inconsistent value type ( String and Array ) . While String type is expected



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

Reply via email to