Skip to content
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

[SPARK-19660][SQL][FOLLOWUP] Replace mapred.input.dir.recursive to mapreduce.input.fileinputformat.input.dir.recursive #18361

Closed
wants to merge 4 commits into from
Closed

Conversation

wangyum
Copy link
Member

@wangyum wangyum commented Jun 20, 2017

What changes were proposed in this pull request?

Replace mapred.input.dir.recursive to mapreduce.input.fileinputformat.input.dir.recursive, this property did't record in DeprecatedProperties.html, but source code has.

Some times also saw the deprecation info:

17/04/25 12:01:55 INFO deprecation: mapred.input.dir.recursive is deprecated. Instead, use mapreduce.input.fileinputformat.input.dir.recursive

How was this patch tested?

Exists tests

@SparkQA
Copy link

SparkQA commented Jun 20, 2017

Test build #78288 has finished for PR 18361 at commit cbb11a8.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@wangyum
Copy link
Member Author

wangyum commented Jun 20, 2017

Retest this please.

@SparkQA
Copy link

SparkQA commented Jun 20, 2017

Test build #78322 has started for PR 18361 at commit 8eb4def.

@shaneknapp
Copy link
Contributor

test this please

@SparkQA
Copy link

SparkQA commented Jun 21, 2017

Test build #78339 has started for PR 18361 at commit 8eb4def.

@wangyum
Copy link
Member Author

wangyum commented Jun 21, 2017

Retest this please.

@SparkQA
Copy link

SparkQA commented Jun 21, 2017

Test build #78376 has finished for PR 18361 at commit 8eb4def.

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

@@ -197,7 +197,7 @@ class HadoopMapRedWriteConfigUtil[K, V: ClassTag](conf: SerializableJobConf)
FileCommitProtocol.instantiate(
className = classOf[HadoopMapRedCommitProtocol].getName,
jobId = jobId.toString,
outputPath = getConf.get("mapred.output.dir"),
outputPath = getConf.get("mapreduce.output.fileoutputformat.outputdir"),
Copy link
Contributor

Choose a reason for hiding this comment

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

This is intended to support the old mapred API, see the comments above this class.

Copy link
Member Author

Choose a reason for hiding this comment

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

OK. close this.

@@ -265,7 +265,7 @@ private case class OutputCommitFunctions(tempDirPath: String) {
val committer = FileCommitProtocol.instantiate(
className = classOf[HadoopMapRedCommitProtocol].getName,
jobId = jobId.value.getId.toString,
outputPath = jobConf.get("mapred.output.dir"),
outputPath = jobConf.get("mapreduce.output.fileoutputformat.outputdir"),
Copy link
Contributor

Choose a reason for hiding this comment

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

ditto

@SparkQA
Copy link

SparkQA commented Jul 12, 2017

Test build #79563 has finished for PR 18361 at commit cc2637d.

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

@wangyum wangyum closed this Jul 13, 2017
@wangyum wangyum deleted the SPARK-19660-mapred.input.dir.recursive branch July 16, 2017 02:13
@wangyum wangyum restored the SPARK-19660-mapred.input.dir.recursive branch July 16, 2017 02:13
@wangyum wangyum deleted the SPARK-19660-mapred.input.dir.recursive branch July 16, 2017 02:13
@wangyum wangyum restored the SPARK-19660-mapred.input.dir.recursive branch July 16, 2017 02:13
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.

4 participants