You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
log ERROR "Failed to retrieve metadata for topic: $topic"
60
+
return 1
61
+
fi
62
+
63
+
log DEBUG "Metadata for $topic:"
64
+
echo "$metadata"
65
+
66
+
if echo "$metadata" | grep -q 'leader: -1'; then
67
+
log ERROR "Found 'leader: -1' in topic '$topic'; topic not ready yet!"
68
+
return 1
69
+
fi
70
+
71
+
if echo "$metadata" | grep -q 'Broker: Leader not available'; then
72
+
log ERROR "Topic '$topic' not available yet"
73
+
return 1
74
+
fi
75
+
76
+
log INFO "Check topic '$topic' was successful"
77
+
return 0
78
+
}
79
+
80
+
for topic in "shared_bikes_bike_status" "shared_bikes_station_status" "shared_bikes_station_information" "water_levels_measurements" "water_levels_stations"
You can now use the table and the data. You can use all available HBase shell commands.
167
+
You can now use the table and the data.
168
+
You can use all available HBase shell commands.
163
169
164
170
[source,sql]
165
171
----
@@ -192,10 +198,11 @@ COLUMN FAMILIES DESCRIPTION
192
198
[TIP]
193
199
====
194
200
Run `stackablectl stacklet list` to get the address of the _ui-http_ endpoint.
195
-
If the UI is unavailable, do a port-forward `kubectl port-forward hbase-master-default-0 16010`.
201
+
Depending on the type of listener class that has been defined, the address will either be directly reachable via e.g. the NodePort IP and an externally reachable port, or via a port-forward (with e.g. `kubectl port-forward hbase-master-default-0 16010`).
196
202
====
197
203
198
-
The HBase web UI will give you information on the status and metrics of your HBase cluster. See below for the start page.
204
+
The HBase web UI will give you information on the status and metrics of your HBase cluster.
This demo showcases the integration between {jupyterlab}[JupyterLab], {spark-connect}[Spark Connect] and {hadoop}[Apache Hadoop] deployed on the Stackable Data Platform (SDP) Kubernetes cluster.
17
18
The SDP makes this integration easy by publishing a discovery ConfigMap for the HDFS cluster and a Spark Connect service.
Click on the double arrow (⏩️) to execute the Python scripts (click on the image above to go to the notebook file).
124
123
125
124
The Python notebook uses libraries such as `pandas` and `scikit-learn` to analyze the data.
126
125
In addition, since the model training is delegated to a Spark Connect server, some of these dependencies, most notably `scikit-learn`, must also be made available on the Spark Connect pods.
0 commit comments