You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Aravindan Vijayan (Jira)" <ji...@apache.org> on 2019/12/17 21:45:00 UTC

[jira] [Commented] (HDDS-2577) Handle InterruptedException in OzoneManagerProtocolServerSideTranslatorPB

    [ https://issues.apache.org/jira/browse/HDDS-2577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16998612#comment-16998612 ] 

Aravindan Vijayan commented on HDDS-2577:
-----------------------------------------

The code in the catch block is 

{code}
    } catch (ExecutionException | InterruptedException ex) {
      // terminate OM. As if we are in this stage means, while getting
      // response from flush future, we got an exception.
      String errorMessage = "Got error during waiting for flush to be " +
          "completed for " + "request" + request.toString();
      ExitUtils.terminate(1, errorMessage, ex, LOG);
    }
{code}

We are shutting down OM here. I don't think Thread.currentThread().interrupt(); is needed here.

> Handle InterruptedException in OzoneManagerProtocolServerSideTranslatorPB
> -------------------------------------------------------------------------
>
>                 Key: HDDS-2577
>                 URL: https://issues.apache.org/jira/browse/HDDS-2577
>             Project: Hadoop Distributed Data Store
>          Issue Type: Sub-task
>            Reporter: Dinesh Chitlangia
>            Assignee: Aravindan Vijayan
>            Priority: Major
>              Labels: newbie, sonar
>
> https://sonarcloud.io/project/issues?id=hadoop-ozone&issues=AW5md-Z7KcVY8lQ4Zr1l&open=AW5md-Z7KcVY8lQ4Zr1l



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org