Skip to content

Update sdks/java/io/hadoop/jdk1.8-tests to run and pass for Gradle build.#4163

Closed
lukecwik wants to merge 1 commit intoapache:masterfrom
lukecwik:gradle
Closed

Update sdks/java/io/hadoop/jdk1.8-tests to run and pass for Gradle build.#4163
lukecwik wants to merge 1 commit intoapache:masterfrom
lukecwik:gradle

Conversation

@lukecwik
Copy link
Copy Markdown
Member

@lukecwik lukecwik commented Nov 22, 2017

Follow this checklist to help us incorporate your contribution quickly and easily:

  • Make sure there is a JIRA issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a JIRA issue. Your pull request should address just this issue, without pulling in other changes.
  • Each commit in the pull request should have a meaningful subject line and body.
  • Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • Run mvn clean verify to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

@lukecwik
Copy link
Copy Markdown
Member Author

R: @aaltay

Copy link
Copy Markdown
Member

@aaltay aaltay left a comment

Choose a reason for hiding this comment

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

LGTM

// instead of a static port.
task createTargetDirectoryForCassandra() {
doLast {
if (!project.file("target").exists()) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Does it matter if this folder has left over files if it already exists?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

No. Its just a place for cassandra to dump content into while running an embedded instance.

Note the number of test failures decreased by 4 with this change. Only 3 failures in hbase.

@asfgit asfgit closed this in ea33f2a Nov 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants