Uploaded image for project: 'Livy'
  1. Livy
  2. LIVY-546

Livy-SparkR Auth secret not provided in environment

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.5.0
    • Fix Version/s: None
    • Component/s: REPL
    • Labels:
      None

      Description

      Hi expert,

      I tried to use Livy to connect SparkR.

      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.

       

      I think it 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.")
          }
      
      ...
      )
      

       

      It seems Livy to need a configuration about connecting SparkR authentication secret key.

      Best regard.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              elbanic Euijun
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: