[ 
https://issues.apache.org/jira/browse/YARN-1550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

caolong updated YARN-1550:
--------------------------

    Description: 
three Steps :
1、debug at RMAppManager#submitApplication after code
if (rmContext.getRMApps().putIfAbsent(applicationId, application) !=
        null) {
      String message = "Application with id " + applicationId
          + " is already present! Cannot add a duplicate!";
      LOG.warn(message);
      throw RPCUtil.getRemoteException(message);
    }

2、submit one application:hadoop jar 
~/hadoop-current/share/hadoop/mapreduce/hadoop-mapreduce-client-jobclient-2.0.0-ydh2.2.0-tests.jar
 sleep -Dhadoop.job.ugi=test2,#111111 -Dmapreduce.job.queuename=p1 -m 1 -mt 1 
-r 1

3、go in page :http://ip:50030/cluster/scheduler and find 500 ERROR!

  was:
three Step :
1、debug at RMAppManager#submitApplication after code
if (rmContext.getRMApps().putIfAbsent(applicationId, application) !=
        null) {
      String message = "Application with id " + applicationId
          + " is already present! Cannot add a duplicate!";
      LOG.warn(message);
      throw RPCUtil.getRemoteException(message);
    }

2、submit one application:hadoop jar 
~/hadoop-current/share/hadoop/mapreduce/hadoop-mapreduce-client-jobclient-2.0.0-ydh2.2.0-tests.jar
 sleep -Dhadoop.job.ugi=test2,#111111 -Dmapreduce.job.queuename=p1 -m 1 -mt 1 
-r 1

3、go in page :http://ip:50030/cluster/scheduler and find 500 ERROR!


> the page http:/ip:50030/cluster/scheduler has  500 error fairScheduler
> ----------------------------------------------------------------------
>
>                 Key: YARN-1550
>                 URL: https://issues.apache.org/jira/browse/YARN-1550
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: scheduler
>    Affects Versions: 2.2.0
>            Reporter: caolong
>            Priority: Critical
>
> three Steps :
> 1、debug at RMAppManager#submitApplication after code
> if (rmContext.getRMApps().putIfAbsent(applicationId, application) !=
>         null) {
>       String message = "Application with id " + applicationId
>           + " is already present! Cannot add a duplicate!";
>       LOG.warn(message);
>       throw RPCUtil.getRemoteException(message);
>     }
> 2、submit one application:hadoop jar 
> ~/hadoop-current/share/hadoop/mapreduce/hadoop-mapreduce-client-jobclient-2.0.0-ydh2.2.0-tests.jar
>  sleep -Dhadoop.job.ugi=test2,#111111 -Dmapreduce.job.queuename=p1 -m 1 -mt 1 
> -r 1
> 3、go in page :http://ip:50030/cluster/scheduler and find 500 ERROR!



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to