You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@toree.apache.org by "aldo (JIRA)" <ji...@apache.org> on 2017/04/06 09:38:41 UTC

[jira] [Commented] (TOREE-399) Make Spark Kernel work on Windows

    [ https://issues.apache.org/jira/browse/TOREE-399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15958656#comment-15958656 ] 

aldo commented on TOREE-399:
----------------------------

Hi Jakob,

I created a quick run.bat with hardcoded values

%SPARK_HOME%/bin/spark-submit --class org.apache.toree.Main C:\ProgramData\jupyter\kernels\apache_toree_scala\lib\toree-assembly-0.2.0.dev1-incubating-SNAPSHOT.jar

This passes the previous error, but still getting errors. I guess related to some scala config see below. Any idea?

Besides the error, with the goal to create a windows version of the run.sh, is not clear to me how kernel.json var are passed to the run.bat and how can I refer to them in run.bat.
Any direction?


> Make Spark Kernel work on Windows
> ---------------------------------
>
>                 Key: TOREE-399
>                 URL: https://issues.apache.org/jira/browse/TOREE-399
>             Project: TOREE
>          Issue Type: New Feature
>         Environment: Windows 7/8/10
>            Reporter: aldo
>
> After a successful install of the Spark Kernel the error: "Failed to run command:" occurs when from jupyter we select a Scala Notebook.
> The error happens because the kernel.json runs C:\\ProgramData\\jupyter\\kernels\\apache_toree_scala\\bin\\run.sh which is bash shell script and hence cannot work on windows.
> Can you give me some direction to fix this, and I will implement it.



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