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
Copy file name to clipboardExpand all lines: README.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,11 +68,12 @@ Request Body example:
68
68
'username': 'username',
69
69
'password': 'password',
70
70
'endpoint': 'url',
71
+
'auth': 'Kerberos',
71
72
'kernelname': 'pysparkkernel'
72
73
}
73
74
```
74
75
75
-
*Note that the kernelname parameter is optional and defaults to the one specified on the config file or pysparkkernel if not on the config file.*
76
+
*Note that the auth can be either None, Basic_Access or Kerberos based on the authentication enabled in livy. The kernelname parameter is optional and defaults to the one specified on the config file or pysparkkernel if not on the config file.*
76
77
Returns `200` if successful; `400` if body is not JSON string or key is not found; `500` if error is encountered changing clusters.
77
78
78
79
Reply Body example:
@@ -107,6 +108,9 @@ However, there are some important limitations to note:
107
108
2. Since all code is run on a remote driver through Livy, all structured data must be serialized to JSON and parsed by the Sparkmagic library so that it can be manipulated and visualized on the client side.
108
109
In practice this means that you must use Python for client-side data manipulation in `%%local` mode.
109
110
111
+
## Kerberos support
112
+
Sparkmagic uses [requests-kerberos](https://github.com/requests/requests-kerberos) package for kerberos support. The sparkmagic expects kerberos ticket to be avaibale in the system. It picks up the kerbros ticket from cache file. User needs to run kinit to create the kerberos ticket. The sparkmagic doesn't support passing kerberos principal/token.
0 commit comments