none
submit job by api on web application RRS feed

  • Question

  • Hi,

    we develop an web application basedon hpc pack api. when we use ischeduler.submit funcation to submit a job, we find the owner of the job is not the username which we pass to the submit, but is the username which runs the web applicaton on IIS(the runas username of the job is the username which we pass to the submit), so can we set the both owner and runas to be the same through api?

    Also we find the report of the HPC Cluster Manager  is focus on the owner of job but not the runas of the job, is it right?

    thanks,

    Thursday, April 29, 2010 4:51 AM

Answers

  • Hi,

    To have specific job's owner you will need to impersonate the context from which you're calling IScheduler.Submit() with desired owner's identity.

    HPC Cluster Manager can show both RunAs and Owner, where Owner is displayed by default in main job view and RunAs when you double click on the job in its details. RunAs can be added to main view via 'Column Chooser' as well.

    Please let me know if this answers your question.

    Regards,
    Łukasz

    Monday, May 10, 2010 5:34 PM