Locked DscFileSet.AddNewFile error

  • Monday, May 16, 2011 6:05 PM
     
     

    Hi-

    I'm trying to run the samples for the new beta.I'm running into this error:

    {"Failed to add new file to fileset /Histogram_input: NoAvailableNode"}

    As far as I can tell, my HPC cluster seems to be configured properly.  What should I be checking for?

    Here's the stack trace:

       at Microsoft.Hpc.Dsc.Internal.DscStream.AddNewPartition(UInt64 estimatedFileSizeInBytes, String preferredNodeName)
       at Microsoft.Hpc.Dsc.DscFileSet.AddNewFile(UInt64 estimatedFileSizeInBytes)
       at HpcLinqExtras.DscFileSetExtensions.AddNewFile(DscFileSet fileSet, String path) in D:\dev\Research\samples\Common\DscFileSetExtensions.cs:line 26
       at HpcLinqExtras.DscFileSetExtensions.AddFiles(DscFileSet fileSet, IEnumerable`1 filePaths) in D:\dev\Research\samples\Common\DscFileSetExtensions.cs:line 42
       at HpcLinqExtras.Utilities.LoadData(HpcLinqContext context, String inputFileSetName, String[] inputFiles) in D:\dev\Research\samples\Common\Utilities.cs:line 116
       at Histogram.Program.Main() in D:\dev\Research\samples\Histogram\Program.cs:line 27
       at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()


    Thanks- Steve

All Replies

  • Monday, May 16, 2011 6:29 PM
     
     Answered

    How many nodes do you have in your cluster and how many of them are added to DSC? You need at least two DSC nodes for this to work correctly.

    Thanks,

    Ade


    Ade
    • Marked As Answer by SAFti618 Monday, May 16, 2011 8:17 PM
    •  
  • Monday, May 16, 2011 8:14 PM
     
     

    I found the problem.  I hadn't manually added each node to DSC.  This is a new step compared to the older CTP.

    Doing so makes everything work fine now.

    Thanks-

    Steve


    Thanks- Steve