You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2014/06/10 13:41:01 UTC

[jira] [Commented] (SPARK-2090) spark-shell input text entry not showing on REPL

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

Sean Owen commented on SPARK-2090:
----------------------------------

I'm assuming it's specific to your env or config as I don't see this behavior, and haven't in the past, and assume others aren't seeing it. Have you enabled the SecurityManager? if so what settings? are there other errors? 

It looks like SimpleReader doesn't echo input, so that's that, but the question is what caused "Permission denied" from the standard SparkJLineReader.

Maybe you can temporarily modify that error log message to log the whole stack trace to see what it is?

> spark-shell input text entry not showing on REPL
> ------------------------------------------------
>
>                 Key: SPARK-2090
>                 URL: https://issues.apache.org/jira/browse/SPARK-2090
>             Project: Spark
>          Issue Type: Bug
>          Components: Input/Output, Spark Core
>    Affects Versions: 1.0.0
>         Environment: Ubuntu 14.04; Using Scala version 2.10.4 (Java HotSpot(TM) 64-Bit Server VM, Java 1.7.0_60)
>            Reporter: Richard Conway
>            Priority: Critical
>              Labels: easyfix, patch
>             Fix For: 1.0.0
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> spark-shell doesn't allow text to be displayed on input 
> Failed to created SparkJLineReader: java.io.IOException: Permission denied
> Falling back to SimpleReader.
> The driver has 2 workers on 2 virtual machines and error free apart from the above line so I think it may have something to do with the introduction of the new SecurityManager.
> The upshot is that when you type nothing is displayed on the screen. For example, type "test" at the scala prompt and you won't see the input but the output will show.
> scala> <console>:11: error: package test is not a value
>               test
>               ^



--
This message was sent by Atlassian JIRA
(v6.2#6252)