Master client retry throw

Made it so master client and worker throw IOException when any TException is thrown. This is needed to prevent the inifi loop issues that we have faced in the past.
Sure
On Nov 19, 2014 10:22 AM, "Haoyuan Li" <notifications@github.com> wrote:

> In core/src/main/java/tachyon/master/MasterClient.java:
>
> > @@ -100,9 +103,15 @@ public synchronized boolean addCheckpoint(long workerId, int fileId, long length
> >
> >        try {
> >          return mClient.addCheckpoint(workerId, fileId, length, checkpointPath);
> > +      } catch (FileDoesNotExistException e) {
> > +        throw e;
> > +      } catch (SuspectedFileSizeException e) {
> > +        throw e;
> > +      } catch (BlockInfoException e) {
> > +        throw e;
> >        } catch (TException e) {
>
> I see. In that case, do you please keep this loop logic unchanged in this
> PR, and leave the rest changes (e.g. catch those different exceptions)?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/amplab/tachyon/pull/514/files#r20595398>.
>