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

Auth secret error in RBackendAuthHandler

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Not A Problem
    • Affects Version/s: 2.3.1
    • Fix Version/s: None
    • Component/s: SparkR
    • Labels:
      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

            • Assignee:
              Unassigned
              Reporter:
              elbanic Euijun
              Shepherd:
              Apache Spark
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: