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.
It's too generic to mean anything. So can't assume anything.

There is a network exception that extends texception, but other things can
happen like unable to parse message.
On Nov 18, 2014 11:39 PM, "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) {
>
> Does the TException means something wrong in the connection logic?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/amplab/tachyon/pull/514/files#r20561197>.
>