树妖问题:找不到网络路径 [英] Dryad question:can not find the network path
问题描述
我在头节点和计算节点上安装了HPC Pack 2008 R2 SP2 Beta。头节点和计算节点的系统是Windows Server 2008 R2。关于DSC的信息如下:
I installed HPC Pack 2008 R2 SP2 Beta on head node and compute node.The system of head node and compute node is Windows Server 2008 R2.The informations about DSC are as follows:
C:\Users \Administrator> dsc节点列表
COMPUT
HEAD
C:\Users\Administrator>dsc node list
COMPUT
HEAD
COMPUTE是一个计算node.HEAD是头节点。
The COMPUTE is a compute node.The HEAD is the head node.
C:\Users \Administrator> dsc node view compute
节点计算:
State = ReadWrite
存储UNC路径= \\COMPUTE\HpcData
存储本地路径= c:\Dadad \HpcData
已分配大小= 0
可用空间= 5787881266
C:\Users\Administrator>dsc node view compute
Node compute:
State = ReadWrite
Storage UNC Path = \\COMPUTE\HpcData
Storage Local Path = c:\Dryad\HpcData
Allocated Size = 0
Free Space = 5787881266
C:\Users \Administrator> dsc节点查看头
节点头:
;  State = ReadWrite
存储UNC路径= \\HEAD\HpcData
存储本地路径= c:\Dadad \HpcData
已分配大小= 0
可用空间= 28830396416
C:\Users\Administrator>dsc node view head
Node head:
State = ReadWrite
Storage UNC Path = \\HEAD\HpcData
Storage Local Path = c:\Dryad\HpcData
Allocated Size = 0
Free Space = 28830396416
我在DSC上创建了一个名为MyFileSet2的文件集。有关MyFileSet2的信息如下:
I created a fileset named MyFileSet2 on DSC.The information about MyFileSet2 is as follows:
C:\ Users \管理员> dsc文件集视图MyFileSet2
FileSet MyFileSet2:
密封=真实
文件数= 1
总文件大小= 103
创作时间= 2011/5/15 23:01:49
上次使用时间= 2011/5/15 23:01:49
租赁时间=无
复制因子= 1
权限:
BUILTIN\Administrators          ReadOrModify
BUILTIN \Power Users 阅读¥b $ b COMPUTE\Administrator           ReadOrModify   所有者
C:\Users\Administrator>dsc fileset view MyFileSet2
FileSet MyFileSet2:
Sealed = True
File Count = 1
Total File Size = 103
Creation Time = 2011/5/15 23:01:49
Last Used Time = 2011/5/15 23:01:49
Lease Time = None
Replication Factor = 1
Permissions:
BUILTIN\Administrators ReadOrModify
BUILTIN\Power Users Read
COMPUTE\Administrator ReadOrModify Owner
C:\ Users \Administrator> dsc fileset view MyFileSet2 / files
FileSet MyFileSet2:
 密封=真实
文件数= 1
总文件大小= 103
创作时间= 2011/5/15 23:01:49
上次使用时间= 2011/5/15 23:01:49
租赁时间=无
复制因子= 1
权限:
BUILTIN\Administrators          ReadOrModify
BUILTIN \Power Users 阅读¥b $ b COMPUTE\Administrator           ReadOrModify   所有者
文件:
0000000000000002.data
C:\Users\Administrator>dsc fileset view MyFileSet2 /files
FileSet MyFileSet2:
Sealed = True
File Count = 1
Total File Size = 103
Creation Time = 2011/5/15 23:01:49
Last Used Time = 2011/5/15 23:01:49
Lease Time = None
Replication Factor = 1
Permissions:
BUILTIN\Administrators ReadOrModify
BUILTIN\Power Users Read
COMPUTE\Administrator ReadOrModify Owner
Files:
0000000000000002.data
当我提交作业时,错误是"找不到网络路径"。我的程序是:
When i submit a job,the error is "can not find the network path".My program is:
使用系统;
使用System.Collections.Generic;
使用System.Linq;
使用System.Text;
使用Microsoft.Hpc.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Hpc.Linq;
命名空间MyProject
{
课程计划
{
static void Main(string [] args)
{
var config = new HpcLinqConfiguration(" head");
var context = new HpcLinqContext(config);
namespace MyProject
{
class Program
{
static void Main(string[] args)
{
var config = new HpcLinqConfiguration("head");
var context = new HpcLinqContext(config);
VAR长度= context.FromDsc< LineRecord>(" MyFileSet2")
&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP ;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP; 。选择(r => r.Line.Length);
Console.WriteLine("最大行长度为{0}",lengths.Max());
var lengths = context.FromDsc<LineRecord>("MyFileSet2")
.Select(r => r.Line.Length);
Console.WriteLine("The maximum line length is {0}", lengths.Max());
}
}
}
}
}
}
有关错误的详细信息如下:
The details about the error is:
Unhandle Microsoft.Hpc.Linq.HpcLinqException
消息=提交作业的错误。有关详细信息,请参阅内部例外。
来源= Microsoft.Hpc.Linq
ErrorCode = 50331656
StackTrace:
在Microsoft.Hpc.Linq.HpcJobSubmission.SubmitJob()
在Microsoft.Hpc.Linq.JobExecutor.ExecuteAsync(String dryadProgram)
在Microsoft.Hpc.Linq.HpcLinqQueryGen.InvokeDryad()
在Microsoft.Hpc.Linq.HpcLinqQuery`1.ToTable(HpcLinqContext上下文,字符串targetURI中,布尔
Unhandle Microsoft.Hpc.Linq.HpcLinqException
Message=Error submitting job to head. Refer to inner exception for more detail.
Source=Microsoft.Hpc.Linq
ErrorCode=50331656
StackTrace:
at Microsoft.Hpc.Linq.HpcJobSubmission.SubmitJob()
at Microsoft.Hpc.Linq.JobExecutor.ExecuteAsync(String dryadProgram)
at Microsoft.Hpc.Linq.HpcLinqQueryGen.InvokeDryad()
at Microsoft.Hpc.Linq.HpcLinqQuery`1.ToTable(HpcLinqContext context, String targetUri, Boolean
isTempOutput)
&NBSP;&NBSP;&NBSP;&NBSP;&NBSP ;&NBSP;在Microsoft.Hpc.Linq.HpcLinqQuery`1.GetEnumerator()
at System.Linq.Enumerable.Single [TSource](IEnumerable`1 source)
在Microsoft.Hpc.Linq.DryadLinqProvider.Execute [TResult](表达式表达式)
在System.Linq.Queryable.Max [TSource](IQueryable`1来源)
at MyProject.Program.Main(String [] args)location D:\ MyProject \ MyProject\Program.cs:line 20
在System.AppDomain._nExecuteAssembly(Assembly assembly,String [] args)
在Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
在System.Threading.ExecutionContext.Run(的ExecutionContext的ExecutionContext,ContextCallback
isTempOutput)
at Microsoft.Hpc.Linq.HpcLinqQuery`1.GetEnumerator()
at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)
at Microsoft.Hpc.Linq.DryadLinqProvider.Execute[TResult](Expression expression)
at System.Linq.Queryable.Max[TSource](IQueryable`1 source)
at MyProject.Program.Main(String[] args) location D:\MyProject\MyProject\Program.cs:line 20
at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback
回调,对象状态)
&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;在System.Threading.ThreadHelper.ThreadStart()
InnerException:System.ApplicationException
Message = DryadJobSumission.SubmitJob:尝试将文件复制到登台目录时出错。 '找不到
callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException: System.ApplicationException
Message=DryadJobSumission.SubmitJob: Error trying to copy files to staging directory. 'can not find
网络路径。
'
Source = Microsoft.Hpc.Query.JobSubmission
StackTrace:
在Microsoft.Hpc.Dryad.DryadJobSubmission.CopyJobFilesToStagingCluster(字符串
the network path。
'
Source=Microsoft.Hpc.Query.JobSubmission
StackTrace:
at Microsoft.Hpc.Dryad.DryadJobSubmission.CopyJobFilesToStagingCluster(String
DryadJobSpecificStagingDir)
&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP ;&NBSP;&NBSP;在Microsoft.Hpc.Dryad.DryadJobSubmission.CopyJobFilesToStaging(字符串
DryadJobSpecificStagingDir)
at Microsoft.Hpc.Dryad.DryadJobSubmission.CopyJobFilesToStaging(String
DryadJobSpecificStagingDir)
&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP ;&NBSP;&NBSP;在Microsoft.Hpc.Dryad.DryadJobSubmission.SubmitJob()
在Microsoft.Hpc.Linq.HpcJobSubmission.SubmitJob()
InnerException:System.IO.IOException
消息=找不到网络路径。
DryadJobSpecificStagingDir)
at Microsoft.Hpc.Dryad.DryadJobSubmission.SubmitJob()
at Microsoft.Hpc.Linq.HpcJobSubmission.SubmitJob()
InnerException: System.IO.IOException
Message=not find the network path。
来源= mscorlib
StackTrace:
在System.IO .__ Error.WinIOError(的Int32的errorCode,字符串maybeFullPath)
&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP ;&NBSP;&NBSP;在System.IO.Directory.InternalCreateDirectory(字符串FULLPATH,字符串路径,
Source=mscorlib
StackTrace:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.InternalCreateDirectory(String fullPath, String path,
DirectorySecurity dirSecurity)
&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP ;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;在System.IO.Directory.CreateDirectory(字符串路径,DirectorySecurity directorySecurity)
&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP ;&NBSP;&NBSP;在Microsoft.Hpc.Dryad.DryadJobSubmission.CopyJobFilesToStagingCluster(字符串
DirectorySecurity dirSecurity)
at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity)
at Microsoft.Hpc.Dryad.DryadJobSubmission.CopyJobFilesToStagingCluster(String
DryadJobSpecificStagingDir)
&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP ;&NBSP;&NBSP; InnerException:
DryadJobSpecificStagingDir)
InnerException:
我该怎么办?期待你的帮助!谢谢。
What can i do with it?Looking forward for your help!Thanks.
xfengm
推荐答案
我认为你有同样的问题
<标题= "关于hmilyrr" 相对= "nofollow的" href ="http://social.msdn.microsoft.com/profile/hmilyrr/?type=forum&referrer=http://social.msdn.microsoft .com /论坛/ en-US / dryad / threads">
hmilyrr
您需要确保用于运行Dryad作业的帐户是HPCUsers组的成员或群集上的管理员。 请参阅此处了解详细信息至于如何做到这一点
http://technet.microsoft.com/en-us/library/gg250674(WS.10).aspx 。
Note.a)测试版的文档缺少此步骤。我将为RTM添加它(我的道歉)。对于测试版,可以使用DSC而不是HPCUsers组的成员,这也是RTM固定的
。
Ade
这篇关于树妖问题:找不到网络路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!