Skip to content

Conversation

@zsxwing
Copy link
Member

@zsxwing zsxwing commented May 21, 2018

What changes were proposed in this pull request?

This PR replaces getTimeAsMs with getTimeAsSeconds to fix the issue that reading "spark.network.timeout" using a wrong time unit when the user doesn't specify a time out.

How was this patch tested?

Jenkins

@SparkQA
Copy link

SparkQA commented May 21, 2018

Test build #90908 has finished for PR 21382 at commit 145dd3b.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@felixcheung
Copy link
Member

@susanxhuynh

Copy link
Member

@felixcheung felixcheung left a comment

Choose a reason for hiding this comment

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

is there test for config?

@zsxwing
Copy link
Member Author

zsxwing commented May 22, 2018

@felixcheung spark.network.timeout is one of the most weird configs as it may have different default values in different places. I think this is why it's not added to the global org.apache.spark.internal.config. This makes us hard to write a test for it.

@zsxwing
Copy link
Member Author

zsxwing commented May 24, 2018

Thanks! Merging to master.

@asfgit asfgit closed this in 53c06dd May 24, 2018
@zsxwing zsxwing deleted the fix-network-timeout-conf branch May 24, 2018 20:06
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.

3 participants