English 中文(简体)
Stream Analytics + ADLS output: Please ensure that blob file is not being modified by another process at the same time. Error: InvalidBlockList
原标题:

Suddenly, the Stream Analytics Job stopped writing to ADLS Storage

I have an Event Hub Namespace wich connects to a Stream Analytics Job, wich finally writes to an ADLS Storage. Then, the data is queried in SQL Synapse (Serverless)

Everything was fine in the dev & test:

I sent messages to Event Hub using Generate Data (Preview)

enter image description here

I run my queries on Synapse

enter image description here

The output files on ADLS are JSON lines, means that every message is stored in a blob, which make bigger every time since new message are appened to the same file.

enter image description here

Suddenly, I was sending message to Evet Hub via Azure Portal and a second after launching my query to see "my real time data". At some moment, sending new message would t traslate on files stored at Blob. This was rare and jump into the Stream Analytics Job to debug, an every thing seems to be on place.

Watching the activity log of the Stream Analitycs Job, I realized there was something rare.

enter image description here

First Occurred: 5/28/2023 12:49:48 AM UTC | Resource Name: sporadic-contribution-adls-output-json | Message: Unable to upload blobs to storage because of invalid blob block ids. Please ensure that blob file  event=sporadic_contribution/date=2023-05-28/hour=00/0_62b04999def54281be2fb6de7f556b63_1.json  is not being modified by another process at the same time. Blob storage error code: InvalidBlockList

I wonder if this error is related to the fact that I launch my SQL queries while the blob is geting updated on new entries comming from Event Hub ¿Is there any race condition? It should not. Besides, the SQL queries just read the Blob, not write While new entries are comming from Event Hub, and pushing to Blob (appended to the same file) via Stream Analytics, ¿The blob enters to and inconsistent state that conflicts with my SQL queries?

Best regards

问题回答

暂无回答




相关问题
Cannot open file downloaded from Azure Storage account

Why is it when downloaded I am not able to open a file which was uploaded to my Azure storage account as a block blob? Initially I thought it was because of the way I uploaded it. But manually ...

Azure Lifecycle Management Rule

I am attempting to set up an Azure Lifecycle Management rule. I want to move my active/Hot files/blobs that are over 90 days old to an Archive tier. I tried walking through the Lifecycle Management ...

Windows Azure: Can t upload a 34 MB file on to the blob

I was trying to upload a 34 MB file onto the blob but it is prompting me some error XML Parsing Error: no element found Location: http://127.0.0.1:83/Default.aspx Line Number 1, Column 1: What ...

Use blob-leasing feature in the Azure cloud app

I want to use blob-leasing mechanism in my Windows Azure cloud app. I am using the StorageClient api released by Azure team for my blob transactions. However, the blob-leasing is not implemented in ...

Allowing access to Azure Storage nodes to select users?

Given a stored file on Azure Storage (blobs, tables or queues -- doesn t matter), is it possible to allow access to it for all, but only based on permissions? For example, I have a big storage of ...

热门标签