在u-sql脚本中查找错误原因. [英] Find cause of error in u-sql script.

查看:74
本文介绍了在u-sql脚本中查找错误原因.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

ECLARE @input string = "wasb://xxx/{FileName}.JPG";

REFERENCE ASSEMBLY ImageCommon;
REFERENCE ASSEMBLY FaceSdk;
REFERENCE ASSEMBLY ImageEmotion;
REFERENCE ASSEMBLY ImageTagging;
REFERENCE ASSEMBLY ImageOcr;

@tags =
    EXTRACT FileName string, 
            NumObjects int,
            Tags SQL.MAP<string, float?>
    FROM @input
    USING new Cognition.Vision.ImageTagsExtractor();

@tags_serialized =
    SELECT FileName,
           NumObjects,
           String.Join(";", Tags.Select(x => String.Format("{0}:{1}", x.Key, x.Value))) AS TagsString
    FROM @tags;

OUTPUT @tags_serialized
    TO "/tags.csv"
    USING Outputters.Csv();

但是如果失败并显示此错误:

but if fails with this error:

{

错误":{
"diagnosticCode":223346732,
严重性":错误",
"component":"Yarn",
源":系统",
" errorId":"VertexRetriedTooMany",
" message":顶点重试了太多次",
" description":"顶点SV1_Extract [0] [1]重试了24次.",
"resolution":",
" helpLink":",
" details":",
"userData":"
}
}

"jobId": "https://adlsexpecho.azuredatalakeanalytics.net/jobLink/9eb0b2c2-b8f9-458b-9be7-6313dfbbea02",
"errors": {
"diagnosticCode": 223346732,
"severity": "Error",
"component": "Yarn",
"source": "System",
"errorId": "VertexRetriedTooMany",
"message": "Vertex retried too many times",
"description": "Vertex SV1_Extract[0][1] retried 24 times.",
"resolution": "",
"helpLink": "",
"details": "",
"userData": ""
}
}

但是它没有给我任何关于错误之处的线索.重新提交工作无济于事.

but it does not give me any clue on what is wrong. Resubmitting the job does not help.

如何找出问题所在?

推荐答案

当我尝试使用较小的设置时,它似乎可以工作.每分钟对认知服务的有限数量的请求是否可能对这个问题有所作为?如果是这样,我该怎么解决. 
When I try it with a smaller set it seems to work. Might the limited number of requests per minute to the cognitive services have to do something with this problem? And if so, how could I solve it. 


这篇关于在u-sql脚本中查找错误原因.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆