Uh oh!
There was an error while loading. Please reload this page.
[SPARK-8398][CORE] Hadoop input/output format advanced control - #6848
[SPARK-8398][CORE] Hadoop input/output format advanced control#6848koertkuipers wants to merge 24 commits into
Conversation
squito
commented
Jun 17, 2015
Jenkins, this is OK to test |
squito
commented
Jun 17, 2015
I think we'll also want to add these to |
koertkuipers
commented
Jun 18, 2015
ok i will look into JavaSparkContext and a few simple regression tests. On Wed, Jun 17, 2015 at 12:34 AM, Imran Rashid notifications@github.com
|
andrewor14
commented
Jun 18, 2015
add to whitelist |
andrewor14
commented
Jun 18, 2015
The changes here look fine. @JoshRosen do we have to worry about breaking binary compatibility in some ways here? Even though we provide a default value to the last parameter we're technically adding a new parameters to a several public APIs here. |
JoshRosen
commented
Jun 18, 2015
@andrewor14 Adding a new parameter with a default value will break binary compatibility from a Java point-of-view, as far as I know. |
JoshRosen
commented
Jun 18, 2015
MiMa should tell us, though. |
SparkQA
commented
Jun 18, 2015
Test build #35167 has finished for PR 6848 at commit
|
…p input/output formats in java api
SparkQA
commented
Jun 19, 2015
Test build #35275 has finished for PR 6848 at commit
|
SparkQA
commented
Jun 19, 2015
Test build #35293 has finished for PR 6848 at commit
|
SparkQA
commented
Jun 19, 2015
Test build #35323 has finished for PR 6848 at commit
|
SparkQA
commented
Jun 19, 2015
Test build #35330 has finished for PR 6848 at commit
|
koertkuipers
commented
Jun 20, 2015
i see MiMa failed. i will try to produce a version that is binary compatible. |
SparkQA
commented
Jun 20, 2015
Test build #35369 has finished for PR 6848 at commit
|
andrewor14
commented
Jun 22, 2015
retest this please. MiMa tests have been a little flaky recently. |
SparkQA
commented
Jun 22, 2015
Test build #35471 has finished for PR 6848 at commit
|
SparkQA
commented
Oct 2, 2015
Test build #43170 has finished for PR 6848 at commit
|
SparkQA
commented
Oct 18, 2015
Test build #43898 has finished for PR 6848 at commit
|
SparkQA
commented
Nov 11, 2015
Test build #45653 has finished for PR 6848 at commit
|
holdenk
commented
Apr 19, 2016
Would we want to maybe consider this for Spark 2.0? It seems like if were maybe going to be adding new default params to functions this might be the time to do it (of course only if people have the bandwidth to update & also review)? It also seems like some unrelated R changes might have accidentally gotten mixed in during one of the merges that should be reverted if we want to move forward with this. |
koertkuipers
commented
Apr 19, 2016
i am happy to update this, if there is any interest. or otherwise i will On Mon, Apr 18, 2016 at 9:31 PM, Holden Karau notifications@github.com
|
ScrapCodes
commented
Apr 19, 2016
IMO, this is useful in one way that hadoop configuration need not be a global state. We can have a default set of configuration that we use everywhere as a default. And then in every hadoop related method a user has an alternative to override the default. Binary compatibility will definitely be broken, but source compatibility might not be affected i.e. one might need to recompile the project with newer spark version. As it is asked already, it should be okay for 2.0 ? @andrewor14 ping ! |
SparkQA
commented
Apr 20, 2016
Test build #56367 has finished for PR 6848 at commit
|
SparkQA
commented
Apr 20, 2016
Test build #56370 has finished for PR 6848 at commit
|
koertkuipers
commented
Apr 20, 2016
Jenkins, retest this please. On Wed, Apr 20, 2016 at 1:26 PM, UCB AMPLab notifications@github.com
|
SparkQA
commented
Apr 20, 2016
Test build #56392 has finished for PR 6848 at commit
|
koertkuipers
commented
Apr 21, 2016
ok i updated this for spark 2. the unit test failures seem unrelated |
ScrapCodes
commented
Apr 21, 2016
Jenkins, retest this please. |
SparkQA
commented
Apr 21, 2016
Test build #56527 has finished for PR 6848 at commit
|
SparkQA
commented
Apr 22, 2016
Test build #56599 has finished for PR 6848 at commit
|
holdenk
commented
Apr 22, 2016
@koertkuipers now days we try and provide a description for our pull request (sometimes it can be copied from the JIRA) for the eventual commit message - it might be good to add that? |
@holdenk ok i tried to make it look all up to latest standards for pullreqs |
SparkQA
commented
May 11, 2016
Test build #58363 has finished for PR 6848 at commit
|
SparkQA
commented
Jun 10, 2016
Test build #60306 has finished for PR 6848 at commit
|
rxin
commented
Dec 7, 2016
I'm going to close this for now. |
Closesapache#14537. Closesapache#16181. Closesapache#8318. Closesapache#6848. Closesapache#7265. Closesapache#9543.
What changes were proposed in this pull request?
Consistently expose Configuration/JobConf for all methods that use Hadoop input/output formats, which facilitates re-use and discourages many additional parameters (that end up changing the Configuration/JobConf internally).
How was this patch tested?
New tests in SparkContextSuite that check that the resulting HadoopRDD/NewHadoopRDD indeed has the settings passed in using the Configuration/JobConf parameter.