You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/01/03 08:47:00 UTC
[jira] [Commented] (SPARK-26522) Auth secret error in
RBackendAuthHandler
[ https://issues.apache.org/jira/browse/SPARK-26522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16732762#comment-16732762 ]
Hyukjin Kwon commented on SPARK-26522:
--------------------------------------
I think it's something Livy should support rather than letting Spark support insecure connection.
See also SPARK-26019. I don't think it's going to be at the very least fixed in Spark 3.0.
WDYT [~vanzin] and [~irashid]?
> 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
> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org