You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "rickcheng (Jira)" <ji...@apache.org> on 2021/07/21 10:00:00 UTC
[jira] [Created] (ZEPPELIN-5465) "SERVICE_DOMAIN" may be null while
Zeppelin server is running outside k8s
rickcheng created ZEPPELIN-5465:
-----------------------------------
Summary: "SERVICE_DOMAIN" may be null while Zeppelin server is running outside k8s
Key: ZEPPELIN-5465
URL: https://issues.apache.org/jira/browse/ZEPPELIN-5465
Project: Zeppelin
Issue Type: Improvement
Components: Kubernetes
Affects Versions: 0.9.0
Reporter: rickcheng
Assignee: rickcheng
The function `sparkUiWebUrlFromTemplate` needs to use the variable "SERVICE_DOMAIN", which is assigned to the default value of system environment variable "SERVICE_DOMAIN".
However, user may not set the environment variable when Zeppelin server is running outside of k8s, and it will get a *NullPointerExcepetion*:
{code:java}
NullPointerException: null value in entry: SERVICE_DOMAIN=null
{code}
Maybe it is better to set a non-null default value for it.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)