0

在尝试使用 MAKES(Microsoft Academic Knowledge Exploration Service)API 时,我无法走得更远。

  1. 我一直在参考指南文档(https://docs.microsoft.com/en-us/academic-services/knowledge-exploration-service/get-started-create-api-instances

  2. 我的存储帐户中有 MAKES 实例(当前版本:makes/2020-12-07/),我的所有资源都在美国东部地区(eastus)

  3. 我正在使用从当前版本目录下载的 kesm.exe 的最新版本。

  4. 我请求并授予了足够数量的 Standard DS4v2 Cores (30)

  5. 到目前为止,我已经通过输入以下命令行成功创建了要托管的资源的图像(我必须通过在以下命令行中使用“”来屏蔽一些信息)

    kesm.exe CreateHostResources --AzureActiveDirectoryDomainName "my active directory" --HostResourceName "my resource name" --MakesPackage https://"my storage".blob.core.windows.net/makes/2020-12-07/ --AzureSubscriptionId "my subscription id" --Region eastus

  6. 如上所示,成功创建主机映像后,我进一步了解了 DeployHost 部分(在指南文档中)。我使用的命令行如下:

    kesm.exe DeployHost --HostName <my host name> --MakesPackage https://"my storage".blob.core.windows.net/makes/2020-12-07/ --MakesHostImageId /subscriptions/"my subscription id"/resourceGroups/"my resource group"/providers/Microsoft.Compute/images/"host image name" --AzureSubscriptionId "my subscription id" --AzureActiveDirectoryDomainName "my active directory domain name" --Region eastus --HostMachineSku Standard_DS4_v2 --HostMachineDataDiskSizeInGb 2048

  7. 在上面的命令行中,我通过参考指南文档添加了 2048 Gb 的数据磁盘(--HostMachineDataDiskSizeInGb 2048),因为我一直收到“空间不足”的错误。

  8. 以下是上面 #6 中命令行结果的成功部分:

     To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code HL3V5ZGB6 to authenticate. *(I did the successful authentication)*
    
     [2020-12-30 3:13:12 PM] info: Kesm.Kesm[0]
           Begin host resource deployment
    
     [2020-12-30 3:13:12 PM] info: Kesm.Kesm[0]
           Deploying host virtual network resource
    
     [2020-12-30 3:13:22 PM] info: Kesm.Kesm[0]
           Deploying host public ip address resource
    
     [2020-12-30 3:13:27 PM] info: Kesm.Kesm[0]
           Deploying host load balancer resource
    
     [2020-12-30 3:13:30 PM] info: Kesm.Kesm[0]
           Deploying host network security group resource
    
     [2020-12-30 3:13:36 PM] info: Kesm.Kesm[0]
           Deploying host virtual machine scaleset resource. AdminUserName: kesm, AdminPassword: "password"
    
  9. 但是,在上述成功部分之后,我对继续为多个页面生成的以下错误感到迷茫和沮丧:

    [2020-12-30 3:18:42 PM] info: Kesm.Kesm[0] Waiting for host to come online

    Instance 0: {"ClassName":"System.Exception","Message":"**Something went wrong downloading kes resources","Data":null**,"InnerException":{"ClassName":"System.Exception","Message":"**Cannot create/recreate kes resource download folder","Data":null**,"InnerException":{"ClassName":"System.Exception","Message":"**Could not find a part of the path 'Y:\\Indexes'.","Data":null**,"InnerException":null,"HelpURL":null,"StackTraceString":" at System.IO.FileSystem.CreateDirectory(String fullPath, Byte[] securityDescriptor)\r\n at System.IO.Directory.CreateDirectory(String path)\r\n at Microsoft.Academic.Knowledge.Core.Service.KesResourceTransferService.DownloadKesResources(String indexFilesUrl, String indexFileKey, String grammarFileUrl, String grammarFileKey, String localResourceDestination, String localResourcePrefix) in D:\\a\\1\\s\\Core\\MakesServiceHost\\ServicesHost.Common\\KesResourceTransfer\\KesResourceTransferService.cs:line 162","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2147024893,"Source":"System.IO.FileSystem","WatsonBuckets":null},"HelpURL":null,"StackTraceString":" at Microsoft.Academic.Knowledge.Core.Service.KesResourceTransferService.DownloadKesResources(String indexFilesUrl, String indexFileKey, String grammarFileUrl, String grammarFileKey, String localResourceDestination, String localResourcePrefix) in D:\\a\\1\\s\\Core\\MakesServiceHost\\ServicesHost.Common\\KesResourceTransfer\\KesResourceTransferService.cs:line 166\r\n at Microsoft.Academic.Knowledge.Core.Service.KesResourceTransferService.StartKesResourceDownload(String indexFilesUrl, String indexFileKey, String grammarFileUrl, String grammarFileKey, String localResourceDestination, String localResourcePrefix) in D:\\a\\1\\s\\Core\\MakesServiceHost\\ServicesHost.Common\\KesResourceTransfer\\KesResourceTransferService.cs:line 141","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2146232800,"Source":"ServiceHost.Common","WatsonBuckets":null},"HelpURL":null,"StackTraceString":" at Microsoft.Academic.Knowledge.Core.Service.ServiceInitialization.<>c__DisplayClass8_0.<<Initialize>b__0>d.MoveNext() in D:\\a\\1\\s\\Core\\MakesServiceHost\\ServiceHost\\Common\\ServiceInitialization.cs:line 43","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2146232800,"Source":"ServiceHost","WatsonBuckets":nulInstance 0: {"ClassName":"System.Exception","Message":"Something went wrong downloading kes resources","Data":null,"InnerException":{"ClassName":"System.Exception","Message":"Cannot create/recreate kes resource download folder","Data":null,"InnerException":{"ClassName":"System.Exception","Message":"Could not find a part of the path 'Y:\\Indexes'." *(the error message continues for multiple pages)

  10. 请求技术帮助后,我被重定向到此页面。Azure 专家说错误来自 MAKES 产品本身,因为我的 kesm 命令似乎在正确的轨道上。

我需要任何提示来进一步使用 Microsoft Academic 材料。

4

0 回答 0