Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-5465

"SERVICE_DOMAIN" may be null while Zeppelin server is running outside k8s

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.9.0
    • 0.9.1, 0.10.0
    • Kubernetes
    • None

    Description

      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:

      NullPointerException: null value in entry: SERVICE_DOMAIN=null
      

      Maybe it is better to set a non-null default value for it.

      Attachments

        Activity

          People

            rickcheng rickcheng
            rickcheng rickcheng
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 0.5h
                0.5h