[
https://issues.apache.org/jira/browse/SPARK-26522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon updated SPARK-26522:
---------------------------------
Labels: (was: newbie)
> Auth secret error in RBackendAuthHandler
> ----------------------------------------
>
> Key: SPARK-26522
> URL: https://issues.apache.org/jira/browse/SPARK-26522
> Project: Spark
> Issue Type: Bug
> Components: SparkR
> Affects Versions: 2.3.1
> Reporter: Euijun
> Assignee: Matt Cheah
> Priority: Minor
>
> 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,
> {code:java}
> Error in sparkR.sparkContext(master, appName, sparkHome, sparkConfigMap, :
> Auth secret not provided in environment.{code}
>
> caused by,
> spark-2.3.1/R/pkg/R/sparkR.R
> {code:java}
> sparkR.sparkContext <- function(
> ...
> authSecret <- Sys.getenv("SPARKR_BACKEND_AUTH_SECRET")
> if (nchar(authSecret) == 0) {
> stop("Auth secret not provided in environment.")
> }
> ...
> )
> {code}
>
> Best regard.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]