Open eldhosepaul7 opened 1 year ago
Having the same issue on with 10.4 LTS (includes Apache Spark 3.2.1, Scala 2.12)
H2O_cluster_version: 3.38.0.4
Python_version: 3.8.10 final
I am facing the same issue with Databricks cluster 13.3 LTS (includes Apache Spark 3.4.1, Scala 2.12), using H2O cluster version: 3.44.0.3 Is there any update on this problem?
eldhosepaul7, could you please tell me how the direct Flow link is built?
https://
thanks!
it seems databricks has some custom spark version (not a surprise) and that method which we see in the error has a different signature
I'm running Databricks on GCP and am able to construct the URL with the following python script:
import pandas as pd
x = "spark.databricks.clusterUsageTags."
org = spark.conf.get(x + "orgId")
clst = spark.conf.get(x + "clusterId")
flow = "https://" + org + "." + org[-1] + ".gcp.databricks.com/driver-proxy/o/" + org + "/" + clst + "/54321/flow/index.html"
dic = [{"Cluster" : spark.conf.get(x + "clusterName"), "URL" : flow}]
df = pd.DataFrame(dic)
def make_clickable(val):
return '<a target="_blank" href="{}">{}</a>'.format(val, val)
df.style.format({'URL': make_clickable})
For Azure databricks, the Sparkling water flow ui gives an error
HTTP ERROR 500 java.lang.NoSuchMethodError: org.apache.spark.ui.UIUtils$.listingTable(Lscala/collection/Seq;Lscala/Function1;Lscala/collection/Iterable;ZLscala/Option;Lscala/collection/Seq;ZZLscala/collection/Seq;)Lscala/collection/Seq;
when its launched from spark ui tab.Once we run the below command it creates
H2OContext
and to access the web ui, it gives instructions toOpen H2O Flow in browser: Go to Spark UI > Sparkling Water tab > click Flow UI link
Please also provide us with the full and minimal reproducible code.
How to Reproduce:
DBR 10.4 LTS
h2o-pysparkling-3.2
from PyPiBehavior is same for DBR
11.3 LTS
and12.2 LTS
, Spark version3.3.0
and Pysparking versionh2o-pysparkling-3.3
Only scenario it works is DBR
9.1 LTS
, Spark Version3.1.2
and Pysparking versionh2o-pysparkling-3.1
, there might be some breaking changes introduced in version3.2
and3.3
.Note: we can access directly access from the link without going though the spark ui -> sparkling ui:
https://<adb-link>/driver-proxy/o/<orgId>/<clusterId>/<9009>/flow/index.html
Complete Error Message: