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

Arpit Agarwal commented on YARN-5400:
-------------------------------------

Looks like this commit broke the build for branch-2. [~rkanter] can you please 
take a look?

{code}
[ERROR] COMPILATION ERROR :
[ERROR] 
/Users/aagarwal/src/commit/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/recovery/ZKRMStateStore.java:[415,40]
 method put in interface java.util.Map<K,V> cannot be applied to given types;
  required: 
java.lang.String,java.util.Map<org.apache.hadoop.yarn.api.records.ReservationId,org.apache.hadoop.yarn.proto.YarnProtos.ReservationAllocationStateProto>
  found: java.lang.String,java.util.HashMap<java.lang.Object,java.lang.Object>
  reason: actual argument java.util.HashMap<java.lang.Object,java.lang.Object> 
cannot be converted to 
java.util.Map<org.apache.hadoop.yarn.api.records.ReservationId,org.apache.hadoop.yarn.proto.YarnProtos.ReservationAllocationStateProto>
 by method invocation conversion
{code}

> Light cleanup in ZKRMStateStore
> -------------------------------
>
>                 Key: YARN-5400
>                 URL: https://issues.apache.org/jira/browse/YARN-5400
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: resourcemanager
>    Affects Versions: 2.9.0
>            Reporter: Daniel Templeton
>            Assignee: Daniel Templeton
>            Priority: Trivial
>             Fix For: 2.9.0, 3.0.0-alpha2
>
>         Attachments: YARN-5400.001.patch, YARN-5400.002.patch, 
> YARN-5400.003.patch
>
>
> of {{ZKRMStateStore}} contains a plethora whitespace issues as well as some 
> icky bits, like unused variables.  This JIRA is to clean that up.  It should 
> have no functional impact.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to