Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: resourcemanager
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Configure capacity scheduler
      Configure node label an submit application queue=A Label=X
      Move application to queue B and x is not having access

      2015-07-20 19:46:19,626 INFO org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler: Application attempt appattempt_1437385548409_0005_000001 released container container_e08_1437385548409_0005_01_000002 on node: host: host-10-19-92-117:64318 #containers=1 available=<memory:2560, vCores:15> used=<memory:512, vCores:1> with event: KILL
      2015-07-20 19:46:20,970 WARN org.apache.hadoop.yarn.server.resourcemanager.ApplicationMasterService: Invalid resource ask by application appattempt_1437385548409_0005_000001
      org.apache.hadoop.yarn.exceptions.InvalidResourceRequestException: Invalid resource request, queue=b1 doesn't have permission to access all labels in resource request. labelExpression of resource request=x. Queue labels=y
              at org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerUtils.validateResourceRequest(SchedulerUtils.java:304)
              at org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerUtils.normalizeAndValidateRequest(SchedulerUtils.java:234)
              at org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerUtils.normalizeAndvalidateRequest(SchedulerUtils.java:250)
              at org.apache.hadoop.yarn.server.resourcemanager.RMServerUtils.normalizeAndValidateRequests(RMServerUtils.java:106)
              at org.apache.hadoop.yarn.server.resourcemanager.ApplicationMasterService.allocate(ApplicationMasterService.java:515)
              at org.apache.hadoop.yarn.api.impl.pb.service.ApplicationMasterProtocolPBServiceImpl.allocate(ApplicationMasterProtocolPBServiceImpl.java:60)
              at org.apache.hadoop.yarn.proto.ApplicationMasterProtocol$ApplicationMasterProtocolService$2.callBlockingMethod(ApplicationMasterProtocol.java:99)
              at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:636)
              at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:976)
              at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2174)
              at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2170)
              at java.security.AccessController.doPrivileged(Native Method)
              at javax.security.auth.Subject.doAs(Subject.java:422)
              at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1666)
              at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2168)
      
      

      Same exception will be thrown till heartbeat timeout
      Then application state will be updated to FAILED

        Attachments

        1. YARN-3940.0009.patch
          10 kB
          Bibin Chundatt
        2. YARN-3940.0008.patch
          9 kB
          Bibin Chundatt
        3. YARN-3940.0007.patch
          9 kB
          Bibin Chundatt
        4. 0006-YARN-3940.patch
          9 kB
          Bibin Chundatt
        5. 0005-YARN-3940.patch
          9 kB
          Bibin Chundatt
        6. 0004-YARN-3940.patch
          9 kB
          Bibin Chundatt
        7. 0003-YARN-3940.patch
          9 kB
          Bibin Chundatt
        8. 0002-YARN-3940.patch
          7 kB
          Bibin Chundatt
        9. 0001-YARN-3940.patch
          7 kB
          Bibin Chundatt

          Activity

            People

            • Assignee:
              bibinchundatt Bibin Chundatt
              Reporter:
              bibinchundatt Bibin Chundatt
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: