GitHub user HyukjinKwon opened a pull request:
https://github.com/apache/spark/pull/14889
[SPARK-17326][SPARKR] Fix tests with HiveContext in SparkR not to be
skipped always
## What changes were proposed in this pull request?
Currently, `HiveContext` in SparkR is not being tested and always skipped.
This is because the initiation of `TestHiveContext` is being failed due to
trying to load non-existing data paths (test tables).
This is introduced from https://github.com/apache/spark/pull/14005
This enables the tests with SparkR.
## How was this patch tested?
Manually,
**Before** (on Mac OS)
```
...
Skipped
------------------------------------------------------------------------
1. create DataFrame from RDD (@test_sparkSQL.R#200) - Hive is not build
with SparkSQL, skipped
2. test HiveContext (@test_sparkSQL.R#1041) - Hive is not build with
SparkSQL, skipped
3. read/write ORC files (@test_sparkSQL.R#1748) - Hive is not build with
SparkSQL, skipped
4. enableHiveSupport on SparkSession (@test_sparkSQL.R#2480) - Hive is not
build with SparkSQL, skipped
...
```
**After** (on Mac OS)
```
...
Skipped
------------------------------------------------------------------------
1. sparkJars tag in SparkContext (@test_Windows.R#21) - This test is only
for Windows, skipped
...
```
Please refer the tests below (on Windows)
- Before:
https://ci.appveyor.com/project/HyukjinKwon/spark/build/45-test123
- After: https://ci.appveyor.com/project/HyukjinKwon/spark/build/46-test123
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/HyukjinKwon/spark SPARK-17326
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/14889.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #14889
----
commit 2cdcf4f17fd6023d35852f524e2826cc685814dd
Author: hyukjinkwon <[email protected]>
Date: 2016-08-31T06:32:29Z
Tests with HiveContext in SparkR being skipped always
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]