Closed veonua closed 5 years ago
cp /mnt/batch/tasks/mounts/azfile-storage-test/{file_path} image produces good file. while
bloxfer copy some trash
cp $AZ_BATCH_NODE_SHARED_DIR/test/{file_path} image - file not found
batch_shipyard:
storage_account_settings: mystorageaccount
global_resources:
docker_images:
- tesseractshadow/tesseract4re
- python:3.7-alpine3.7
volumes:
shared_data_volumes:
azurefile_vol:
volume_driver: azurefile
storage_account_settings: mystorageaccount
azure_file_share_name: test
container_path: $AZ_BATCH_NODE_SHARED_DIR/test
mount_options:
- file_mode=0777
- dir_mode=0777
bind_options: rw
This will be fixed when the blobxfer
issue is resolved. As a workaround, mount the Azure File share as a shared_data_volume
and directly copy.
Problem Description
having 140 files to OCR, 57 of them seems to be not downloaded fully
and OCR fails with
Tesseract Open Source OCR Engine v4.0.0-beta.1-262-g555f with Leptonica Error in readHeaderMemJp2k: image parameters not found Error in pixReadStreamJp2k: failed to read the header Error in pixReadStream: jp2: no pix returned Error in pixRead: pix not read Error during processing.
Batch Shipyard Version
3.6.1
Expected Results
files downloaded fully
Actual Results
only parts of files copied
Redacted Configuration
jobs
config
pool
Additional Logs
stdout
Additonal Comments
original file is jpeg 102.2kB, copied 37.2kB of some buffer