Project

General

Profile

Actions

Bug #3835

closed

[SDKs] Python and CLI tools should give more helpful error messages after a Keep failure

Added by Tim Pierce over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
SDKs
Target version:
Story points:
0.5

Description

Errors returned from arvados.keep.KeepClient.put are short and cryptic, e.g.:

arvados.errors.KeepWriteError: Write fail for d41d8cd98f00b204e9800998ecf8427e: wanted 2 but wrote 0

The SDK should record the reason why a write failed (at least one of the failed writes) and report it in the KeepWriteError that is raised to the user.

Each writer thread should either succeed or throw an exception. If the write does not eventually succeed, the main thread should report the last exception encountered for each service it attempted to use.


Subtasks 1 (0 open1 closed)

Task #4972: Review 3835-pysdk-keep-exceptions-wipResolvedTom Clegg01/13/2015Actions

Related issues

Related to Arvados - Bug #4738: [SDKs] Keep write error (wanted 2 but wrote 0)Closed12/08/2014Actions
Has duplicate Arvados - Bug #4672: [SDKs] KeepClient.put raises an exception on a block larger than 64MBResolved11/25/2014Actions
Has duplicate Arvados - Bug #4661: [SDKs] Python Keep client's retry/rescue should not make an OOM exception look like a Keep problemResolvedActions
Has duplicate Arvados - Bug #4885: keep write error (wanted 2 but wrote 0) arvadosResolvedneelam yadav12/30/2014Actions
Has duplicate Arvados - Bug #4884: keep write error (wanted 2 but wrote 0) arvadosResolvedneelam yadav12/30/2014Actions
Actions

Also available in: Atom PDF