I can not start commands in spark-shell with scala

0

Use cmd of win 10, I call spark-shell, spark is executed and I'm on the command line under scala. Then, when trying to execute any command whatsoever, this appears to me:

Exception in thread "main" java.io.FileNotFoundException: C:\Users\histe\.scala_history (Acceso denegado)
        at java.io.FileOutputStream.open0(Native Method)
        at java.io.FileOutputStream.open(Unknown Source)
        at java.io.FileOutputStream.<init>(Unknown Source)
        at scala.reflect.io.File.outputStream(File.scala:66)
        at scala.reflect.io.File.writer(File.scala:74)
        at scala.reflect.io.File.bufferedWriter(File.scala:81)
        at scala.reflect.io.File.bufferedWriter(File.scala:79)
        at scala.reflect.io.File.appendAll(File.scala:93)
        at scala.tools.nsc.interpreter.jline.FileBackedHistory$class.append(FileBackedHistory.scala:46)
        at scala.tools.nsc.interpreter.jline.JLineHistory$JLineFileHistory.append(JLineHistory.scala:50)
        at 
.....

(It's a problem of permissions apparently, but I'm an administrator.) If you run pyspark, I hope you can help me, since my computer skills are not very good.

    
asked by Luis Alberto Flores 25.11.2018 в 01:17
source

0 answers