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-12921] Use SparkHadoopUtil reflection in SpecificParquetRecordReaderBase #10843

Closed
wants to merge 2 commits into from

Conversation

JoshRosen
Copy link
Contributor

It looks like there's one place left in the codebase, SpecificParquetRecordReaderBase, where we didn't use SparkHadoopUtil's reflective accesses of TaskAttemptContext methods, which could create problems when using a single Spark artifact with both Hadoop 1.x and 2.x.

@JoshRosen
Copy link
Contributor Author

/cc @aarondav

@SparkQA
Copy link

SparkQA commented Jan 20, 2016

Test build #49769 has finished for PR 10843 at commit 7cf0948.

  • This patch fails to build.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Jan 20, 2016

Test build #49771 has finished for PR 10843 at commit a8b3346.

  • This patch fails to build.
  • This patch merges cleanly.
  • This patch adds no public classes.

@JoshRosen
Copy link
Contributor Author

The existing style checker didn't catch this because it only runs on Scala code, not Java files.

@SparkQA
Copy link

SparkQA commented Jan 20, 2016

Test build #49774 has finished for PR 10843 at commit afd3452.

  • This patch fails to build.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Jan 20, 2016

Test build #49779 has finished for PR 10843 at commit af7a5e7.

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

@JoshRosen
Copy link
Contributor Author

Merged to branch-1.6 (1.6.1)

asfgit pushed a commit that referenced this pull request Jan 21, 2016
…ReaderBase

It looks like there's one place left in the codebase, SpecificParquetRecordReaderBase, where we didn't use SparkHadoopUtil's reflective accesses of TaskAttemptContext methods, which could create problems when using a single Spark artifact with both Hadoop 1.x and 2.x.

Author: Josh Rosen <joshrosen@databricks.com>

Closes #10843 from JoshRosen/SPARK-12921.
@JoshRosen JoshRosen closed this Jan 21, 2016
@JoshRosen JoshRosen deleted the SPARK-12921 branch January 21, 2016 00:11
asfgit pushed a commit that referenced this pull request Feb 10, 2016
… SpecificParquetRecordReaderBase

This is a minor followup to #10843 to fix one remaining place where we forgot to use reflective access of TaskAttemptContext methods.

Author: Josh Rosen <joshrosen@databricks.com>

Closes #11131 from JoshRosen/SPARK-12921-take-2.
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