本文介绍了在DupPic2中未处理Microsoft.Hpc.Scheduler.Properties.SchedulerException的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我随后尝试了DupPic2示例代码,但它还没有工作。

I subsequently tried DupPic2 sample code, but it hasn't work yet.

DupPic2代码中的foreach语句导致Microsoft.Hpc.Scheduler.Properties.SchedulerException 。

The foreach statement in DupPic2 code causes a Microsoft.Hpc.Scheduler.Properties.SchedulerException.

发生了什么?

以下 是异常输出。

The following is exception output.

Microsoft.Hpc.Scheduler。 Properties.SchedulerExceptionはハンドルされませんでした。(未被处理。)

 消息=意外异常:ID参照の一部またはすべてを変换できませんでした。(部分或全部身份证明无法翻译。)

  Source = Microsoft.Hpc.Scheduler.Store

 代码= -2147220892

  Params = ID参照の一部またはすべてを変换できませんでした。  StackTrace:

      在Microsoft.Hpc.Scheduler.Store.CallResult.Throw()

      在Microsoft.Hpc.Scheduler.Store.JobEx.BeginSubmit(StoreProperty [] props,AsyncCallback callback,Object param)

      在Microsoft.Hpc.Scheduler.Store.JobEx.Submit(StoreProperty [] submitProps)

      在Microsoft.Hpc.Scheduler.SchedulerJob.Submit(ISchedulerStore store,String username,String password)

      在Microsoft.Hpc.Scheduler.Scheduler.SubmitJob(ISchedulerJob job,String username,String password)

      在Microsoft.Hpc.Dryad.DryadJobSubmission.SubmitClusterJobPerNodeAllocation()

      在Microsoft.Hpc.Dryad.DryadJobSubmission.SubmitClusterJob()

      在Microsoft.Hpc.Dryad.DryadJobSubmission.SubmitJob()

      在Microsoft.Distributed.Runtime.Dryad.DryadExecutor.SubmitJob()

      在Microsoft.Distributed.Runtime.Dryad.DryadExecutor.Execute()

      在Microsoft.Distributed.Linq.DistributedQuery`1.ExecuteInternal(DistributedQueryConfiguration config,Uri outputUri,IReaderWriterFactory`1 readerWriterFactory)

      在Microsoft.Distributed.Linq.DistributedQuery`1.ExecuteInternal(Uri outputUri,IReaderWriterFactory`1 readerWriterFactory)

       at Microsoft.Distributed.Linq.DistributedQuery.Execute [TSource](DistributedQuery`1 source)

      在Microsoft.Distributed.Linq.DistributedQuery`1。< GetEnumerator> d__1.MoveNext()

      在DupPic2.Program.Main(String [] args)中C:&日元;用户和日元;管理员和日元;文件和日元; Visual Studio 2010¥项目和日元; ConsoleApplication2¥ ConsoleApplication2¥ Program.cs:第25行

   ;&NBSP;&NBSP;&NBSP;&NBSP;在System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly,String [] args)

      在Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()

       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext,ContextCallback callback,Object state,Boolean ignoreSyncCtx)

      在System.Threading.ExecutionContext.Run(ExecutionContext executionContext,ContextCallback回调,对象状态)

      在System.Threading.ThreadHelper.ThreadStart()

  InnerException:

Microsoft.Hpc.Scheduler.Properties.SchedulerException はハンドルされませんでした。(was unhandled.)
  Message=Unexpected exception: ID 参照の一部またはすべてを変換できませんでした。(Some or all identity references could not be translated.)
  Source=Microsoft.Hpc.Scheduler.Store
  Code=-2147220892
  Params=ID 参照の一部またはすべてを変換できませんでした。  StackTrace:
       at Microsoft.Hpc.Scheduler.Store.CallResult.Throw()
       at Microsoft.Hpc.Scheduler.Store.JobEx.BeginSubmit(StoreProperty[] props, AsyncCallback callback, Object param)
       at Microsoft.Hpc.Scheduler.Store.JobEx.Submit(StoreProperty[] submitProps)
       at Microsoft.Hpc.Scheduler.SchedulerJob.Submit(ISchedulerStore store, String username, String password)
       at Microsoft.Hpc.Scheduler.Scheduler.SubmitJob(ISchedulerJob job, String username, String password)
       at Microsoft.Hpc.Dryad.DryadJobSubmission.SubmitClusterJobPerNodeAllocation()
       at Microsoft.Hpc.Dryad.DryadJobSubmission.SubmitClusterJob()
       at Microsoft.Hpc.Dryad.DryadJobSubmission.SubmitJob()
       at Microsoft.Distributed.Runtime.Dryad.DryadExecutor.SubmitJob()
       at Microsoft.Distributed.Runtime.Dryad.DryadExecutor.Execute()
       at Microsoft.Distributed.Linq.DistributedQuery`1.ExecuteInternal(DistributedQueryConfiguration config, Uri outputUri, IReaderWriterFactory`1 readerWriterFactory)
       at Microsoft.Distributed.Linq.DistributedQuery`1.ExecuteInternal(Uri outputUri, IReaderWriterFactory`1 readerWriterFactory)
       at Microsoft.Distributed.Linq.DistributedQuery.Execute[TSource](DistributedQuery`1 source)
       at Microsoft.Distributed.Linq.DistributedQuery`1.<GetEnumerator>d__1.MoveNext()
       at DupPic2.Program.Main(String[] args) in C:¥Users¥Administrator¥Documents¥Visual Studio 2010¥Projects¥ConsoleApplication2¥ConsoleApplication2¥Program.cs:line 25
       at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
  InnerException:

 

-Ken

推荐答案

"部分或全部身份参考无法翻译"表示调度程序无法在ActiveDirectory中查找所有者或RunAs帐户。这不是Dryad特有的问题。

"Some or all identity references could not be translated" means that the scheduler is unable to look up the Owner or RunAs account in ActiveDirectory. It's not a problem specific to Dryad.

可能是您的ActiveDirectory配置存在一般问题

It could be that there is a general problem with your ActiveDirectory configuration


  • 你能成功地完成其他工作吗?是否"作业提交主机名"成功?
  • "域名连接"是否属于"域名连接"?诊断测试表明有什么问题?

可能是您运行此作业时使用的凭据存在问题

It could be that there is some problem with the credentials you are using to run this job


  • 从命令行运行"cluscfg setcreds";并将凭据设置为群集授权用户
  • 然后尝试重新运行作业并查看是否成功。

如果这些步骤中的任何一个有助于解决您的问题,或者它们是否会产生更多信息以便进一步排查,请告诉我。

Let me know if any of these steps helps fix your problem, or if they produce more information for further troubleshooting.

谢谢, - 约翰


这篇关于在DupPic2中未处理Microsoft.Hpc.Scheduler.Properties.SchedulerException的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-27 12:29