You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2019/12/20 18:45:53 UTC

[GitHub] [hadoop-ozone] adoroszlai opened a new pull request #384: HDDS-2786. ITestOzoneContractSeek zero byte file failures

adoroszlai opened a new pull request #384: HDDS-2786. ITestOzoneContractSeek zero byte file failures
URL: https://github.com/apache/hadoop-ozone/pull/384
 
 
   ## What changes were proposed in this pull request?
   
   Make `KeyInputStream#seek(0)` a no-op if the stream's length is also 0.  This is to fix Seek contract test (and restore the behavior stated in the comment.)
   
   https://issues.apache.org/jira/browse/HDDS-2786
   
   ## How was this patch tested?
   
   Ran related integration tests:
   
   ```
   $ mvn -fn -am -pl :hadoop-ozone-integration-test,:hadoop-ozone-filesystem -Dtest='ITestOzoneContract*,TestKeyInputStream' clean test
   ...
   [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.508 s - in org.apache.hadoop.ozone.client.rpc.TestKeyInputStream
   ...
   [INFO] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.2 s - in org.apache.hadoop.fs.ozone.contract.ITestOzoneContractGetFileStatus
   [INFO] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.769 s - in org.apache.hadoop.fs.ozone.contract.ITestOzoneContractSeek
   [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 29.516 s - in org.apache.hadoop.fs.ozone.contract.ITestOzoneContractDelete
   [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 29.754 s - in org.apache.hadoop.fs.ozone.contract.ITestOzoneContractRootDir
   [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.006 s - in org.apache.hadoop.fs.ozone.contract.ITestOzoneContractMkdir
   [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 29.886 s - in org.apache.hadoop.fs.ozone.contract.ITestOzoneContractRename
   [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 43.292 s - in org.apache.hadoop.fs.ozone.contract.ITestOzoneContractDistCp
   [WARNING] Tests run: 11, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 34.242 s - in org.apache.hadoop.fs.ozone.contract.ITestOzoneContractCreate
   [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 29.32 s - in org.apache.hadoop.fs.ozone.contract.ITestOzoneContractOpen
   ...
   [INFO] BUILD SUCCESS
   ```
   
   Also clean CI run in fork: https://github.com/adoroszlai/hadoop-ozone/runs/358541310

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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


[GitHub] [hadoop-ozone] adoroszlai commented on issue #384: HDDS-2786. ITestOzoneContractSeek zero byte file failures

Posted by GitBox <gi...@apache.org>.
adoroszlai commented on issue #384: HDDS-2786. ITestOzoneContractSeek zero byte file failures
URL: https://github.com/apache/hadoop-ozone/pull/384#issuecomment-568272886
 
 
   Thanks @ayushtkn for reviewing and merging this.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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


[GitHub] [hadoop-ozone] ayushtkn merged pull request #384: HDDS-2786. ITestOzoneContractSeek zero byte file failures

Posted by GitBox <gi...@apache.org>.
ayushtkn merged pull request #384: HDDS-2786. ITestOzoneContractSeek zero byte file failures
URL: https://github.com/apache/hadoop-ozone/pull/384
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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