[ 
https://issues.apache.org/jira/browse/SPARK-20326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Owen resolved SPARK-20326.
-------------------------------
    Resolution: Invalid

Questions belong on the mailing list [email protected]

> Run Spark in local mode from IntelliJ (or other IDE)
> ----------------------------------------------------
>
>                 Key: SPARK-20326
>                 URL: https://issues.apache.org/jira/browse/SPARK-20326
>             Project: Spark
>          Issue Type: Question
>          Components: Documentation
>    Affects Versions: 2.1.0
>            Reporter: Marcello Oliva
>
> I wrote a simple Spark test in IntelliJ and it fails when creating the 
> SparkSession:
>     val spark = SparkSession.builder().master("local[2]").getOrCreate()
> Error:
>     java.lang.IllegalArgumentException: Can't get Kerberos realm
>     ...
>     Caused by: java.lang.reflect.InvocationTargetException
>     ...
>     Caused by: KrbException: Cannot locate default realm
> How do I run tests from an IDE? 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to