Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-26522

Auth secret error in RBackendAuthHandler

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Not A Problem
    • 2.3.1
    • None
    • SparkR
    • None

    Description

      Hi expert,

      I try to use livy to connect sparkR backend.

      This is related to https://stackoverflow.com/questions/53900995/livy-spark-r-issue

       

      Error message is,

      Error in sparkR.sparkContext(master, appName, sparkHome, sparkConfigMap, : Auth secret not provided in environment.

       

      caused by,

      spark-2.3.1/R/pkg/R/sparkR.R

      sparkR.sparkContext <- function(
      
      ...
      
          authSecret <- Sys.getenv("SPARKR_BACKEND_AUTH_SECRET")
          if (nchar(authSecret) == 0) {
            stop("Auth secret not provided in environment.")
          }
      
      ...
      
      )
      

       

      Best regard.

      Attachments

        Activity

          People

            Unassigned Unassigned
            elbanic Euijun
            Apache Spark Apache Spark
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: