Answered by:
ADLS Gen2 Upload issue within IBM Java 8 in AIX machine

Question
-
Hi Team,
We have deployed a web application in AIX machine with IBM Java 8.
In this web application, we are invoking ADLS Gen2 Rest API to upload and download the files.
We are getting the following error, when we try to upload the files to ADLS Gen2 (for PATCH request):
Error occurred while appending the data to xyz - {"error":{"code":"UnsupportedHttpVerb","message":"The resource doesn't support specified Http Verb.\nRequestId:6cc3e0df-801f-0015-1334-518707000000\nTime:2020-07- 03T12:24:45.1978577Z"}}
Note:
1) We are able to upload the files in all the below mentioned Java versions(without CORS configuration)
Windows-Oracle Java 8 ,Java 11
RHEL 7.2 - OpenJDK 11.0.6
2) We have updated CORS configuration for the blob in Azure portal as following,but still getting UnsupportedHttpVerb error:
Allowed origins Allowed methods Allowed headers Exposed headers Max age
* GET,PUT,POST,PATCH,DELETE * * 0
Thanks,
Ramya
- Edited by Ramya_K Friday, July 3, 2020 2:02 PM
Friday, July 3, 2020 1:57 PM
Answers
-
I'd try asking for help over here.
https://docs.microsoft.com/en-us/answers/topics/azure-data-lake-storage.html
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.
- Edited by Dave PatrickMVP Friday, July 3, 2020 2:29 PM
- Proposed as answer by Guido Franzke Monday, July 6, 2020 6:02 AM
- Marked as answer by Guido Franzke Monday, July 13, 2020 8:41 AM
Friday, July 3, 2020 2:04 PM
All replies
-
I'd try asking for help over here.
https://docs.microsoft.com/en-us/answers/topics/azure-data-lake-storage.html
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.
- Edited by Dave PatrickMVP Friday, July 3, 2020 2:29 PM
- Proposed as answer by Guido Franzke Monday, July 6, 2020 6:02 AM
- Marked as answer by Guido Franzke Monday, July 13, 2020 8:41 AM
Friday, July 3, 2020 2:04 PM -
Blob APIs and Data Lake Storage Gen2 APIs can operate on the same data.
This section describes issues and limitations with using blob APIs and Data Lake Storage Gen2 APIs to operate on the same data.
You cannot use both Blob APIs and Data Lake Storage APIs to write to the same instance of a file. If you write to a file by using Data Lake Storage Gen2 APIs, then that file's blocks won't be visible to calls to the Get Block List blob API. You can overwrite a file by using either Data Lake Storage Gen2 APIs or Blob APIs. This won't affect file properties.
When you use the List Blobs operation without specifying a delimiter, the results will include both directories and blobs. If you choose to use a delimiter, use only a forward slash (/). This is the only supported delimiter.
If you use the Delete Blob API to delete a directory, that directory will be deleted only if it's empty. This means that you can't use the Blob API delete directories recursively.
These Blob REST APIs aren't supported:
Put Blob (Page)
Put Page
Get Page Ranges
Incremental Copy Blob
Put Page from URL
Put Blob (Append)
Append Block
Append Block from URL
Unmanaged VM disks are not supported in accounts that have a hierarchical namespace. If you want to enable a hierarchical namespace on a storage account, place unmanaged VM disks into a storage account that doesn't have the hierarchical namespace feature enabled.Friday, July 3, 2020 2:28 PM -
Hi,
I haven't used blob API's for performing operations on ADLS Gen2.
I just updated CORS for Blob Seervice as we don't have a seperate option for ADLS Gen2.
Thanks,
Ramya
Tuesday, July 7, 2020 10:42 AM -
This is "where is" forum for direction on where best to ask questions so I'd suggest asking for help in forums I linked.
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.Tuesday, July 7, 2020 12:03 PM -
Hi Patrick,
I have posted my query in https://docs.microsoft.com/en-us/answers/questions/43691/adls-gen2-upload-issue-within-ibm-java-8-in-aix-ma.html.
Thanks,
Ramya
Wednesday, July 15, 2020 6:03 AM