-
Notifications
You must be signed in to change notification settings - Fork 9.1k
HADOOP-17597. Optionally downgrade on S3A Syncable calls #2801
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HADOOP-17597. Optionally downgrade on S3A Syncable calls #2801
Conversation
Testing: new tests all happy. Now regression testing with s3 london |
💔 -1 overall
This message was automatically generated. |
Test s3 london with test options Failures
|
91c7e74
to
9cbca3e
Compare
💔 -1 overall
This message was automatically generated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM +1
|
||
These recommendations _apply to all filesystems_. | ||
|
||
To downgrade the S3A connector to simplying warning of the use of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit : typo simply warn the?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
} | ||
|
||
@Test | ||
public void testHFlushDowngrade() throws Throwable { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: add describe
} | ||
|
||
@Test | ||
public void testHSyncDowngrade() throws Throwable { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: add describe test
} | ||
|
||
/** | ||
* When configured to downgrade, the stream downgrades on. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: no fullstop in the end.
thanks, will update the PR with the comments. |
build failed. Will rebase and resubmit |
Adds a new option fs.s3a.downgrade.syncable.exceptions Which converts calls to Syncable hsync/hflush on S3A output streams to * log once at warn (for entire process life, not just the stream) * increment IOStats with the relevant operation counter With the downgrade not enabled (default) * IOStats also incremented * The UnsupportedOperationException current raised includes a link to this JIRA Change-Id: I650a8da55cf32725d4ac9c9db3f466cc427669fd
Checkstyle and troubleshooting Change-Id: Ibb11fe85531a07acc9cf66d2fc941103784a3d27
Change-Id: Ibb0fd0c47d6da129c9ab77d45011e2b9f8d4bab1
2a46669
to
9643ec0
Compare
💔 -1 overall
This message was automatically generated. |
test failure was in hadoop common and kerberos auth related, ignoring. Merging |
Followup to HADOOP-13327, which changed S3A output stream hsync/hflush calls to raise an exception. Adds a new option fs.s3a.downgrade.syncable.exceptions When true, calls to Syncable hsync/hflush on S3A output streams will log once at warn (for entire process life, not just the stream), then increment IOStats with the relevant operation counter With the downgrade option false (default) * IOStats are incremented * The UnsupportedOperationException current raised includes a link to the JIRA. Contributed by Steve Loughran. Change-Id: I967e077eda1d1a1a3795b4d22e003fe7997b6679
Followup to HADOOP-13327, which changed S3A output stream hsync/hflush calls to raise an exception. Adds a new option fs.s3a.downgrade.syncable.exceptions When true, calls to Syncable hsync/hflush on S3A output streams will log once at warn (for entire process life, not just the stream), then increment IOStats with the relevant operation counter With the downgrade option false (default) * IOStats are incremented * The UnsupportedOperationException current raised includes a link to the JIRA. Contributed by Steve Loughran.
…pache#2801) Followup to HADOOP-13327, which changed S3A output stream hsync/hflush calls to raise an exception. Adds a new option fs.s3a.downgrade.syncable.exceptions When true, calls to Syncable hsync/hflush on S3A output streams will log once at warn (for entire process life, not just the stream), then increment IOStats with the relevant operation counter With the downgrade option false (default) * IOStats are incremented * The UnsupportedOperationException current raised includes a link to the JIRA. Contributed by Steve Loughran. Change-Id: I650a8da55cf32725d4ac9c9db3f466cc427669fd
Adds a new option fs.s3a.downgrade.syncable.exceptions
Which converts calls to Syncable hsync/hflush on S3A output streams to
With the downgrade not enabled (default)
JIRA