[jira] [Commented] (EAGLE-561) JsonMappingException in Hadoop queue feeder
[ https://issues.apache.org/jira/browse/EAGLE-561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15515485#comment-15515485 ] Jayesh commented on EAGLE-561: -- [~chitin], sure, exactly, scheduler.getType() is useful I suggested to ignore "type" in Queue.java, keeping the scheduler.type as it is. which can be even used to derive queue type. > 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)
[jira] [Commented] (EAGLE-561) JsonMappingException in Hadoop queue feeder
[ https://issues.apache.org/jira/browse/EAGLE-561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15515200#comment-15515200 ] Lingang Deng commented on EAGLE-561: [~jhsenjaliya] After deserializing the SchedulerWrapper object, there is a onMetric function, the "type" field is used in this function{code:java}_entity.setScheduler(scheduler.getType());{code} Maybe we need directly process it. > 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)
[jira] [Commented] (EAGLE-561) JsonMappingException in Hadoop queue feeder
[ 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)