Skip to content

Conversation

@mukund-thakur
Copy link
Contributor

Ran ITestS3AFileOperationCost in raw mode using ap-south-1 bucket. Saw no failures.

@mukund-thakur
Copy link
Contributor Author

CC @steveloughran Do check during your review session.

@hadoop-yetus

This comment has been minimized.

Copy link
Contributor

@steveloughran steveloughran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm,. some minor changes

"s3GetFileStatus(%s) wants to know if a directory is empty but"
+ " does not request a list probe", path);

if(key.isEmpty() && !needEmptyDirectoryFlag) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: add a space after if

false,
StatusProbeEnum.ALL,
ROOT_FILE_STATUS_PROBE);
Assertions.assertThat(rootStatus.isDirectory())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for strictness, how about before L270 you do a status.toString() into a variable, and include that at the end of each describedAs message. That way, if there really was an assertion failure, we'd see the status

@hadoop-yetus

This comment has been minimized.

@steveloughran steveloughran merged commit 5fee950 into apache:trunk Nov 24, 2020
asfgit pushed a commit that referenced this pull request Nov 24, 2020
Contributed by Mukund Thakur.

Change-Id: I1709ad72b829999b6dd324f0755b51bc38918d30
@steveloughran steveloughran added enhancement fs/s3 changes related to hadoop-aws; submitter must declare test endpoint labels Nov 24, 2020
jojochuang pushed a commit to jojochuang/hadoop that referenced this pull request May 23, 2023
)

Contributed by Mukund Thakur.

Change-Id: Ic35d2f2c1916ce6980da8bd6ed0b07fca7338a33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement fs/s3 changes related to hadoop-aws; submitter must declare test endpoint

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants