Skip to content
This repository was archived by the owner on Apr 15, 2022. It is now read-only.

Commit ebe6401

Browse files
author
Ben Epstein
authored
Merge pull request #118 from splicemachine/spark2
Spark2
2 parents 63ea350 + f70612d commit ebe6401

File tree

3 files changed

+22
-5
lines changed

3 files changed

+22
-5
lines changed

requirements.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
py4j
1+
py4j==0.10.7.0
22
mlflow==1.8.0
33
pyyaml
4-
mleap==0.16.0
4+
mleap==0.15.0
55
graphviz
66
requests
77
gorilla==0.3.0
@@ -10,7 +10,7 @@ pyspark-dist-explore==0.1.8
1010
numpy
1111
pandas
1212
scipy
13-
pyspark>=3.0.1
14-
h2o-pysparkling-3.0
13+
pyspark>=2.4.0,<=2.4.5
14+
h2o-pysparkling-2.4==3.28.1.2-1
1515
IPython
1616
cloudpickle==1.6.0

requirements3.txt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
py4j
2+
mlflow==1.8.0
3+
pyyaml
4+
mleap==0.16.0
5+
graphviz
6+
requests
7+
gorilla==0.3.0
8+
tqdm
9+
pyspark-dist-explore==0.1.8
10+
numpy
11+
pandas
12+
scipy
13+
pyspark>=3.0.1
14+
h2o-pysparkling-3.0==3.32.0.4-1
15+
IPython
16+
cloudpickle==1.6.0

splicemachine/mlflow_support/mlflow_support.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@
6363
import requests
6464
import sklearn
6565
import yaml
66-
from h2o.model.model_base import ModelBase as H2OModel
66+
# from h2o.model.model_base import ModelBase as H2OModel TODO: For Spark3
67+
from h2o.estimators.estimator_base import ModelBase as H2OModel
6768
from pandas.core.frame import DataFrame as PandasDF
6869
from pyspark.ml.base import Model as SparkModel
6970
from pyspark.sql import DataFrame as SparkDF

0 commit comments

Comments
 (0)