简体   繁体   English

错误代码:从 Azure 流分析作业采样数据时出现 BadArgument 错误消息

[英]Error code: BadArgument Error message while sampling data from Azure Stream Analytics Job

I tried to take sample data from a running Azure Stream Analytics Job.我尝试从正在运行的 Azure 流分析作业中获取示例数据。 The job is running successfully and the output is writing into cosmos DB successfully.作业运行成功,输出成功写入 Cosmos DB。

But when I tried to take sample data from the streaming input, Sampling is failed and I am getting below error.但是,当我尝试从流输入中获取样本数据时,采样失败并且出现以下错误。

Error code: BadArgument错误代码:BadArgument
Error message: There was an error while reading sample input.错误消息:读取样本输入时出错。 Please check if the input source is configured correctly and data is in correct format.请检查输入源是否配置正确,数据格式是否正确。 在此处输入图片说明

If it is because of data format, the job should have also failed?如果是因为数据格式,作业应该也失败了吧?

I tried taking sample from another SA job which is using same event Hub but only the difference is, it is using different consumer group, for that I am able to fetch the sample data.我尝试从另一个使用相同事件中心的 SA 作业中获取样本,但唯一的区别是,它使用不同的消费者组,因此我能够获取样本数据。

What could be the reason for this failure since the job is working successfully with that input?由于作业使用该输入成功运行,因此失败的原因可能是什么? Is there anything that have to be corrected in consumer group?消费者群体有什么需要纠正的吗?

Is there any workaround to get sample data from eventhub with some filtering?是否有任何解决方法可以通过一些过滤从 eventhub 获取样本数据?

This might be happening because the same Event Hub consumer group is being used by different consumers.这可能是因为不同的消费者正在使用相同的事件中心消费者组。 Try creating a new consumer group for your event hub and configuring your job's input to use this new consumer group.尝试为您的事件中心创建一个新的使用者组,并配置您的作业输入以使用这个新的使用者组。

https://docs.microsoft.com/en-us/azure/stream-analytics/stream-analytics-troubleshoot-input#job-exceeds-maximum-event-hub-receivers https://docs.microsoft.com/en-us/azure/stream-analytics/stream-analytics-troubleshoot-input#job-exceeds-maximum-event-hub-receivers

Now it is working and I am able to take sample from SA job input.现在它正在工作,我可以从 SA 工作输入中获取样本。 Didn't do anything from my end, don't know what exactly was the reason, since it was not working for last one week.从我的最后没有做任何事情,不知道究竟是什么原因,因为它在过去一周没有工作。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在Azure的计算机视觉API上发生了错误,提示{{code}:“ BadArgument”,“ requestId”:“ XXXX”,“ message”:“ JSON格式错误。}} - An error has occurred that says {“code”:“BadArgument”,“requestId”:“XXXX”,“message”:“JSON format error.”} on computer vision api of Azure 将数据推送到 Cosmos DB 时 Azure 流分析作业降级 - Azure Stream Analytics Job degrading while pushing data to cosmos DB 测试 Azure Stream 分析作业不工作(发送错误) - Testing Azure Stream Analytics Job not working (Error on send) Azure流分析作业:具有“用户名”的属性已存在错误 - Azure Stream Analytics Job: Property with 'username' already exists error Stream output data from Stream Analytics Job to Azure Synapse Analytics sql pool table? - Stream output data from Stream Analytics Job to Azure Synapse Analytics sql pool table? Azure Stream Analytics的工作对于小数据而言昂贵吗? - Azure Stream Analytics job expensive for small data? Azure Stream Analytics作业会截断数据 - Azure Stream Analytics job truncates data 如何修复 Azure Stream Analytics 中的无效数据错误? - How to fix Invalid Data Error in Azure Stream Analytics? Azure Stream 分析:如果作业查询是一天明智的 TUMBLINGWINDOW,stream 分析作业何时实际处理数据? - Azure Stream Analytics: When does a stream analytics job actually process data if the job query is a day wise TUMBLINGWINDOW? Azure流分析:REST Api用于创建新的ASA作业,并给出MissingApiVersionParameter错误 - Azure Stream Analytics: REST Api for creating new ASA job giving MissingApiVersionParameter error
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM