azure-storage-blobs

Why does a blob with filename $$$.$$$ appear in Azure directory listing?

北战南征 提交于 2019-12-11 06:30:02
问题 Does anyone know why when I list a blobs in a directory like this: var container = BlobClient.GetContainerReference(containerName); var blobs = container.GetDirectoryReference(fileStroageLocation).ListBlobs().ToList(); I find the two files I uploaded and an additional blob with the filename $$$.$$$. If I use an Azure file storage browser CloudXplorer I don't see the file. I can filter it out by ignoring that filename however. Just wondered why it was there? If there is special meaning to it?

How to copy data to Azure file service using Azure data factory

与世无争的帅哥 提交于 2019-12-11 06:18:47
问题 I have one software installed in Azure VM (window OS) which does analysis on the data. I have 500+ GB data in Azure BLOB storage which needs to be processed by this software. I would like to know if it is possible to attach BLOB storage as a virtual hard disk to this VM OR is it possible to copy data from BLOB storage to Azure File service using Azure Data factory? OR should I keep data in Azure File Service itself so that this software can access data directly without copy operation? 回答1: it

Azure Batch Pool Start up task to download resource file from Blob FileShare

♀尐吖头ヾ 提交于 2019-12-11 06:17:54
问题 I'm new to Azure, and I'm trying to build a simple Azure batch case here. I'm stacking at the Batch Pool Start up task... I created a batch account and a storage account in East US, and then I created a general -- Fileshare in the storage account with a container. I manually updated a file called Test.txt. What I want to do is to ask the Batch Pool to download this file at the startup task. So Code goes: string storageConnectionString = String.Format("DefaultEndpointsProtocol=https

Azure function host dies with OutOfMemoryException, without triggering

Deadly 提交于 2019-12-11 06:06:45
问题 Quick version: Why does my function host kill it self after 5 minutes without doing anything? I have an Azure function which uses nClam to scan blob files for viruses. It seems to work just fine, but suddenly it will kill it self even before triggering on any blob! It will just shutdown after 5 minutes with an OutOfMemoryException: [18/9/2019 10:33:33] Host initialized (405ms) [18/9/2019 10:33:33] Host started (812ms) [18/9/2019 10:33:33] Job host started Hosting environment: Production

Azure CloudBlobContainer.CreateIfNotExists() throws Forbidden (403) on Local Development

你说的曾经没有我的故事 提交于 2019-12-11 05:27:20
问题 I've started getting 403 Error on blobContainer.createIfNotExists. Following is the source code. CloudStorageAccount storageAccount = CloudStorageAccount.Parse(CloudConfigurationManager.GetSetting("StorageConnectionString")); string blobContainerName =string.IsNullOrEmpty(_sessionContext.DomainName) ? "localdevblob": _sessionContext.DomainName.ToLower(); CloudBlobClient blobClient = storageAccount.CreateCloudBlobClient(); CloudBlobContainer container = blobClient.GetContainerReference

Azure Blob Storage Upload Error: (403) Forbidden

独自空忆成欢 提交于 2019-12-11 05:14:22
问题 We have created a new process to upload files to our Azure blob. When running the app locally, the files upload fine and without error. When we run the same process on our server, we get the error message: MESSAGE: Forbidden: header 'Content-Type' value denied SOURCE: Microsoft.WindowsAzure.StorageClient TARGETSITE: T get_Result() STACKTRACE: at Microsoft.WindowsAzure.StorageClient.Tasks.Task 1.get_Result() at Microsoft.WindowsAzure.StorageClient.Tasks.Task 1.ExecuteAndWait() at Microsoft

While downloading azure blobs to local file system an exception occurs

二次信任 提交于 2019-12-11 05:14:08
问题 While downloading azure blobs to local file system, I'm getting the following exception: Client-Request-ID=99bdb0e4-2d1c-11e8-8fe6-00155dbf7128 Retry policy did not allow for a retry: Server-Timestamp=Wed, 21 Mar 2018 15:29:09 GMT, Server-Request-ID=1e7ab8f5-101e-0076-5329-c16a24000000, HTTP status code=404, Exception=The specified blob does not exist. ErrorCode: BlobNotFound<?xml version="1.0" encoding="utf-8"?><Error><Code>BlobNotFound</Code><Message>The specified blob does not exist.

java.lang.IllegalArgumentException: Cannot create Shared Access Signature unless the Account Key credentials are used by the ServiceClient

﹥>﹥吖頭↗ 提交于 2019-12-11 04:49:05
问题 I am trying to use MSI to access Azure Blob Storage containers to generate shared access signature. But every time i am trying to access , i am getting following error: `java.lang.IllegalArgumentException: Cannot create Shared Access Signature unless the Account Key credentials are used by the ServiceClient.` I dont want to access blob storage container using credentials or AAD. Just want to use MSI, as this is the unique mode that we want to adapt in our application to access Azure resources

Azure: Output not as expected in Blob Write

二次信任 提交于 2019-12-11 04:36:17
问题 I am trying to write output to a text file stored in my azure container. Following is my woker role snippet for it : string copyTemp=""; copyTemp += "hi" + "\n"; copyTemp += "hello" + "\n"; if (String.IsNullOrEmpty(copyTemp)) return; using (var memoryStream = new MemoryStream()) { memoryStream.Write(System.Text.Encoding.UTF8.GetBytes(copyTemp), 0, System.Text.Encoding.UTF8.GetBytes(copyTemp).Length); memoryStream.Position = 0; blockBlob.UploadFromStream(memoryStream); } Now, when i download

Azure Blob Storage: How to enumerate blobs in long-running and recoverable fashion?

跟風遠走 提交于 2019-12-11 04:23:36
问题 I need to enumerate possibly millions of blobs in a lengthy operation. From the List Blobs documentation, I'm still left with the following questions: What's the duration or expiration time of NextMarker value? Can I use the value of NextMarker on a different HTTPS connection? Possibly from another machine (IP address)? Can I call the List Blobs API multiple times with the same value for NextMarker ? Will they all return the next page? (I'm ok if pages may differ on each call - I don't need