hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brahma Reddy Battula (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-12248) SNN will not upload fsimage on IOE and Interrupted exceptions
Date Wed, 02 Aug 2017 12:24:02 GMT

     [ https://issues.apache.org/jira/browse/HDFS-12248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Brahma Reddy Battula updated HDFS-12248:
----------------------------------------
    Description: 
Related to  HDFS-9787. When fsimage uploading to ANN, if there is any interrupt or IOE comes
{{isPrimaryCheckPointer}} set to {{false}}.Rollingupgrade triggered same time then It does
the checkpoint without sending the fsimage since {{sendRequest}} will be {{false}}.
So,here {{rollback}} image will not sent to ANN.
{code}
      } catch (ExecutionException e) {
        ioe = new IOException("Exception during image upload: " + e.getMessage(),
            e.getCause());
        break;
      } catch (InterruptedException e) {
        ie = e;
        break;
      }
    }
    lastUploadTime = monotonicNow();

    // we are primary if we successfully updated the ANN
    this.isPrimaryCheckPointer = success;
{code}

  was:
Related to  HDFS-9787. When fsimage uploading to ANN, if there is any interrupt or IOE comes
{{isPrimaryCheckPointer}} set to {{false}}.Rollingupgrade tirggered same time then It does
the checkpoint without sending the fsimage since {{sendRequest}} will be {{false}}.
So,here {{rollback}} image will not sent to ANN.
{code}
      } catch (ExecutionException e) {
        ioe = new IOException("Exception during image upload: " + e.getMessage(),
            e.getCause());
        break;
      } catch (InterruptedException e) {
        ie = e;
        break;
      }
    }
    lastUploadTime = monotonicNow();

    // we are primary if we successfully updated the ANN
    this.isPrimaryCheckPointer = success;
{code}


> SNN will not upload fsimage on IOE and Interrupted exceptions
> -------------------------------------------------------------
>
>                 Key: HDFS-12248
>                 URL: https://issues.apache.org/jira/browse/HDFS-12248
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: rolling upgrades
>            Reporter: Brahma Reddy Battula
>            Assignee: Brahma Reddy Battula
>            Priority: Critical
>
> Related to  HDFS-9787. When fsimage uploading to ANN, if there is any interrupt or IOE
comes {{isPrimaryCheckPointer}} set to {{false}}.Rollingupgrade triggered same time then It
does the checkpoint without sending the fsimage since {{sendRequest}} will be {{false}}.
> So,here {{rollback}} image will not sent to ANN.
> {code}
>       } catch (ExecutionException e) {
>         ioe = new IOException("Exception during image upload: " + e.getMessage(),
>             e.getCause());
>         break;
>       } catch (InterruptedException e) {
>         ie = e;
>         break;
>       }
>     }
>     lastUploadTime = monotonicNow();
>     // we are primary if we successfully updated the ANN
>     this.isPrimaryCheckPointer = success;
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message