mirror of https://github.com/apache/nifi.git
NIFI-10574: Fixed PutAzureDataLakeStorage fails with HTTP 412 error
This closes #6470 Signed-off-by: David Handermann <exceptionfactory@apache.org>
This commit is contained in:
parent
518f413d9f
commit
271c773ee4
|
@ -215,7 +215,8 @@ public class PutAzureDataLakeStorage extends AbstractAzureDataLakeStorageProcess
|
|||
chunkStart += chunkSize;
|
||||
}
|
||||
|
||||
fileClient.flush(length);
|
||||
// use overwrite mode due to https://github.com/Azure/azure-sdk-for-java/issues/31248
|
||||
fileClient.flush(length, true);
|
||||
}
|
||||
|
||||
//Visible for testing
|
||||
|
|
Loading…
Reference in New Issue