File tree Expand file tree Collapse file tree 1 file changed +15
-15
lines changed
stacks/jupyterhub-pyspark-hdfs Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Original file line number Diff line number Diff line change 27
27
},
28
28
{
29
29
"cell_type": "code",
30
- "execution_count": 3 ,
30
+ "execution_count": 2 ,
31
31
"metadata": {},
32
32
"outputs": [],
33
33
"source": [
34
34
"spark = (\n",
35
35
" SparkSession\n",
36
36
" .builder\n",
37
- " .remote(\"sc://spark-connect-server:15002\")\n",
37
+ " .remote(\"sc://spark-connect-server-default :15002\")\n",
38
38
" .appName(\"taxi-data-anomaly-detection\")\n",
39
39
" .getOrCreate()\n",
40
40
")"
41
41
]
42
42
},
43
43
{
44
44
"cell_type": "code",
45
- "execution_count": 4 ,
45
+ "execution_count": 3 ,
46
46
"metadata": {},
47
47
"outputs": [],
48
48
"source": [
58
58
},
59
59
{
60
60
"cell_type": "code",
61
- "execution_count": 5 ,
61
+ "execution_count": 4 ,
62
62
"metadata": {},
63
63
"outputs": [],
64
64
"source": [
67
67
},
68
68
{
69
69
"cell_type": "code",
70
- "execution_count": 6 ,
70
+ "execution_count": 5 ,
71
71
"metadata": {},
72
72
"outputs": [
73
73
{
76
76
"12106669"
77
77
]
78
78
},
79
- "execution_count": 6 ,
79
+ "execution_count": 5 ,
80
80
"metadata": {},
81
81
"output_type": "execute_result"
82
82
}
87
87
},
88
88
{
89
89
"cell_type": "code",
90
- "execution_count": 7 ,
90
+ "execution_count": 6 ,
91
91
"metadata": {},
92
92
"outputs": [],
93
93
"source": [
120
120
},
121
121
{
122
122
"cell_type": "code",
123
- "execution_count": 8 ,
123
+ "execution_count": 7 ,
124
124
"metadata": {},
125
125
"outputs": [],
126
126
"source": [
183
183
},
184
184
{
185
185
"cell_type": "code",
186
- "execution_count": 9 ,
186
+ "execution_count": 8 ,
187
187
"metadata": {},
188
188
"outputs": [
189
189
{
225
225
},
226
226
{
227
227
"cell_type": "code",
228
- "execution_count": 10 ,
228
+ "execution_count": 9 ,
229
229
"metadata": {},
230
230
"outputs": [],
231
231
"source": [
242
242
},
243
243
{
244
244
"cell_type": "code",
245
- "execution_count": 11 ,
245
+ "execution_count": 10 ,
246
246
"metadata": {},
247
247
"outputs": [],
248
248
"source": [
280
280
},
281
281
{
282
282
"cell_type": "code",
283
- "execution_count": 12 ,
283
+ "execution_count": 11 ,
284
284
"metadata": {},
285
285
"outputs": [
286
286
{
310
310
},
311
311
{
312
312
"cell_type": "code",
313
- "execution_count": 13 ,
313
+ "execution_count": 12 ,
314
314
"metadata": {},
315
315
"outputs": [
316
316
{
340
340
},
341
341
{
342
342
"cell_type": "code",
343
- "execution_count": 14 ,
343
+ "execution_count": 13 ,
344
344
"metadata": {},
345
345
"outputs": [
346
346
{
406
406
},
407
407
{
408
408
"cell_type": "code",
409
- "execution_count": 15 ,
409
+ "execution_count": 14 ,
410
410
"metadata": {},
411
411
"outputs": [
412
412
{
You can’t perform that action at this time.
0 commit comments