Skip to content

Conversation

@cloud-fan
Copy link
Contributor

What changes were proposed in this pull request?

DirectParquetOutputCommitter was removed from Spark as it was deemed unsafe to use. We however still have some code to generate warning. This patch removes those code as well.

This is kind of a follow-up of #16796

How was this patch tested?

existing tests

@SparkQA
Copy link

SparkQA commented Jul 20, 2017

Test build #79796 has finished for PR 18689 at commit 38ef37b.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
  • class SQLHadoopMapReduceCommitProtocol(jobId: String, path: String)
  • logInfo(s\"Using user defined output committer class $

@SparkQA
Copy link

SparkQA commented Jul 20, 2017

Test build #79797 has finished for PR 18689 at commit c04f9c3.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
  • class SQLHadoopMapReduceCommitProtocol(jobId: String, path: String)
  • logInfo(s\"Using user defined output committer class $

Copy link
Contributor

@jiangxb1987 jiangxb1987 left a comment

Choose a reason for hiding this comment

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

LGTM

@gatorsmile
Copy link
Member

Thanks! Merging to master.

@asfgit asfgit closed this in 3ac6093 Jul 20, 2017
* Instantiates a FileCommitProtocol using the given className.
*/
def instantiate(className: String, jobId: String, outputPath: String, isAppend: Boolean)
def instantiate(className: String, jobId: String, outputPath: String)
Copy link
Member

Choose a reason for hiding this comment

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

If anybody in open source community needs it, please let us know.

@robert3005
Copy link

Shouldn't https://github.com/apache/spark/blob/master/sql/hive/src/test/scala/org/apache/spark/sql/sources/HadoopFsRelationTest.scala#L786 also be removed? As I understand it it checks whether the code removed here exists.

@cloud-fan
Copy link
Contributor Author

interesting, that test should be removed, or the test should fail, let me take a closer look.

asfgit pushed a commit that referenced this pull request Jul 23, 2017
…ut committer

## What changes were proposed in this pull request?

It's a follow-up of #18689 , which forgot to remove a useless test.

## How was this patch tested?

N/A

Author: Wenchen Fan <wenchen@databricks.com>

Closes #18716 from cloud-fan/test.
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.

5 participants