Skip to content

Conversation

@HyukjinKwon
Copy link
Member

What changes were proposed in this pull request?

This PR backports #13759.

(SqlNewHadoopRDDState was renamed to InputFileNameHolder and spark API does not exist in branch 1.6)

How was this patch tested?

Unit tests in ColumnExpressionSuite.

@SparkQA
Copy link

SparkQA commented Jun 21, 2016

Test build #60926 has finished for PR 13806 at commit 2a55091.

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

@HyukjinKwon
Copy link
Member Author

retest this please

@SparkQA
Copy link

SparkQA commented Jun 21, 2016

Test build #60927 has finished for PR 13806 at commit 2a55091.

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

@HyukjinKwon
Copy link
Member Author

retest this please

@SparkQA
Copy link

SparkQA commented Jun 21, 2016

Test build #60935 has finished for PR 13806 at commit 2a55091.

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

@SparkQA
Copy link

SparkQA commented Jun 21, 2016

Test build #3121 has finished for PR 13806 at commit 2a55091.

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

@SparkQA
Copy link

SparkQA commented Jun 21, 2016

Test build #3122 has finished for PR 13806 at commit 2a55091.

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

@SparkQA
Copy link

SparkQA commented Jun 21, 2016

Test build #3123 has finished for PR 13806 at commit 2a55091.

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

@HyukjinKwon
Copy link
Member Author

It seems the error is not related with this change.

@HyukjinKwon
Copy link
Member Author

HyukjinKwon commented Jun 22, 2016

I will re-run this test here and meanwhile I will try to build in my local and run the Python tests.

@HyukjinKwon
Copy link
Member Author

retest this please

@SparkQA
Copy link

SparkQA commented Jun 22, 2016

Test build #60990 has finished for PR 13806 at commit 2a55091.

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

@HyukjinKwon
Copy link
Member Author

I guess it is about f4af6a8. I will look into this deeper.

asfgit pushed a commit that referenced this pull request Jun 28, 2016
…oot` module ending up failure of Python tests

## What changes were proposed in this pull request?

This PR fixes incorrect checking for `root` module (meaning all tests).

I realised that #13806 is being failed due to this one.

The PR corrects two files in `sql` and `core`. Since it seems fixing `core` module triggers all tests by `root` value from `determine_modules_for_files`.
So, `changed_modules` becomes as below:

```
['root', 'sql']
```

and `module.dependent_modules` becaomes as below:

```
['pyspark-mllib', 'pyspark-ml', 'hive-thriftserver', 'sparkr', 'mllib', 'examples', 'pyspark-sql']
```

Now, `modules_to_test` does not include `root` and this checking is skipped but then both `changed_modules` and `modules_to_test` are being merged after that. So, this includes `root` module to test.

This ends up with failing with the message below (e.g. https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/60990/consoleFull):

```
Error: unrecognized module 'root'. Supported modules: pyspark-core, pyspark-sql, pyspark-streaming, pyspark-ml, pyspark-mllib
```

## How was this patch tested?

N/A

Author: hyukjinkwon <[email protected]>

Closes #13845 from HyukjinKwon/fix-build-1.6.
@JoshRosen
Copy link
Contributor

Jenkins, retest this please.

zzcclp pushed a commit to zzcclp/spark that referenced this pull request Jun 28, 2016
…oot` module ending up failure of Python tests

## What changes were proposed in this pull request?

This PR fixes incorrect checking for `root` module (meaning all tests).

I realised that apache#13806 is being failed due to this one.

The PR corrects two files in `sql` and `core`. Since it seems fixing `core` module triggers all tests by `root` value from `determine_modules_for_files`.
So, `changed_modules` becomes as below:

```
['root', 'sql']
```

and `module.dependent_modules` becaomes as below:

```
['pyspark-mllib', 'pyspark-ml', 'hive-thriftserver', 'sparkr', 'mllib', 'examples', 'pyspark-sql']
```

Now, `modules_to_test` does not include `root` and this checking is skipped but then both `changed_modules` and `modules_to_test` are being merged after that. So, this includes `root` module to test.

This ends up with failing with the message below (e.g. https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/60990/consoleFull):

```
Error: unrecognized module 'root'. Supported modules: pyspark-core, pyspark-sql, pyspark-streaming, pyspark-ml, pyspark-mllib
```

## How was this patch tested?

N/A

Author: hyukjinkwon <[email protected]>

Closes apache#13845 from HyukjinKwon/fix-build-1.6.

(cherry picked from commit 4a67541)
@SparkQA
Copy link

SparkQA commented Jun 28, 2016

Test build #61336 has finished for PR 13806 at commit 2a55091.

  • This patch fails from timeout after a configured wait of 250m.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Jun 28, 2016

Test build #61337 has finished for PR 13806 at commit 5ade5a2.

  • This patch fails from timeout after a configured wait of 250m.
  • This patch merges cleanly.
  • This patch adds no public classes.

@HyukjinKwon
Copy link
Member Author

retest this please

@SparkQA
Copy link

SparkQA commented Jun 28, 2016

Test build #61352 has finished for PR 13806 at commit 5ade5a2.

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

@HyukjinKwon
Copy link
Member Author

Hm... am I doing something wrong here?

@HyukjinKwon
Copy link
Member Author

retest this please

@SparkQA
Copy link

SparkQA commented Jun 28, 2016

Test build #61353 has finished for PR 13806 at commit 5ade5a2.

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

@HyukjinKwon
Copy link
Member Author

Again, I think the error message is not related with this change. I will retest this and meanwhile try to build in my local.

@HyukjinKwon
Copy link
Member Author

retest this please

@SparkQA
Copy link

SparkQA commented Jun 28, 2016

Test build #61356 has finished for PR 13806 at commit 5ade5a2.

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

@SparkQA
Copy link

SparkQA commented Jun 28, 2016

Test build #61357 has finished for PR 13806 at commit 5ade5a2.

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

@HyukjinKwon
Copy link
Member Author

retest this please

@SparkQA
Copy link

SparkQA commented Jun 28, 2016

Test build #61367 has finished for PR 13806 at commit 5ade5a2.

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

@HyukjinKwon
Copy link
Member Author

retest this please

@SparkQA
Copy link

SparkQA commented Jun 28, 2016

Test build #61368 has finished for PR 13806 at commit 5ade5a2.

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

@HyukjinKwon
Copy link
Member Author

retest this please

@SparkQA
Copy link

SparkQA commented Jun 28, 2016

Test build #61370 has finished for PR 13806 at commit 5ade5a2.

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

@HyukjinKwon
Copy link
Member Author

retest this please

@SparkQA
Copy link

SparkQA commented Jun 28, 2016

Test build #61375 has finished for PR 13806 at commit 5ade5a2.

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

@HyukjinKwon
Copy link
Member Author

@JoshRosen finally I got passed!

@rxin
Copy link
Contributor

rxin commented Jun 29, 2016

Merging. Thanks!

Can you close this?

asfgit pushed a commit that referenced this pull request Jun 29, 2016
…n NewHadoopRDD to branch 1.6

## What changes were proposed in this pull request?

This PR backports #13759.

(`SqlNewHadoopRDDState` was renamed to `InputFileNameHolder` and `spark` API does not exist in branch 1.6)

## How was this patch tested?

Unit tests in `ColumnExpressionSuite`.

Author: hyukjinkwon <[email protected]>

Closes #13806 from HyukjinKwon/backport-SPARK-16044.
@HyukjinKwon HyukjinKwon reopened this Jun 29, 2016
zzcclp pushed a commit to zzcclp/spark that referenced this pull request Jun 30, 2016
…n NewHadoopRDD to branch 1.6

## What changes were proposed in this pull request?

This PR backports apache#13759.

(`SqlNewHadoopRDDState` was renamed to `InputFileNameHolder` and `spark` API does not exist in branch 1.6)

## How was this patch tested?

Unit tests in `ColumnExpressionSuite`.

Author: hyukjinkwon <[email protected]>

Closes apache#13806 from HyukjinKwon/backport-SPARK-16044.

(cherry picked from commit 1ac830a)
@HyukjinKwon HyukjinKwon deleted the backport-SPARK-16044 branch January 2, 2018 03:40
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