NICTA / scoobi

A Scala productivity framework for Hadoop.
http://nicta.github.com/scoobi/
482 stars 97 forks source link

REPL init error (not on cluster) #268

Closed etorreborre closed 11 years ago

etorreborre commented 11 years ago

From the mailing list:

I decided to try out the scoobi REPL on my own computer, where I don't have hadoop installed; I got the error I've added below.

ERROR] ScoobiAppConfiguration - No configuration directory could be found. $HADOOP_HOME is None, $HADOOP_CONF_DIR is None
[ERROR] ScoobiAppConfiguration - No configuration directory could be found. $HADOOP_HOME is None, $HADOOP_CONF_DIR is None
Failed to created JLineReader: java.lang.NoClassDefFoundError: scala/tools/jline/console/ConsoleReader
Falling back to SimpleReader.

 === Please wait while Scoobi is initialising... ===

Failed to initialize the REPL due to an unexpected error.
This is a bug, please, report it along with the error diagnostics printed below.
java.io.IOException: No FileSystem for scheme: file
        at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1511)
        at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:67)
        at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:1548)
        at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1530)
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:228)
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:111)
        at com.nicta.scoobi.impl.io.FileSystems$class.fileSystem(FileSystems.scala:120)
        at com.nicta.scoobi.impl.io.FileSystems$.fileSystem(FileSystems.scala:169)
        at com.nicta.scoobi.impl.io.FileSystems$class.listPaths(FileSystems.scala:83)
        at com.nicta.scoobi.impl.io.FileSystems$.listPaths(FileSystems.scala:169)
        at com.nicta.scoobi.impl.io.FileSystems$class.listPaths(FileSystems.scala:79)
        at com.nicta.scoobi.impl.io.FileSystems$.listPaths(FileSystems.scala:169)
        at com.nicta.scoobi.application.LibJars$class.uploadedJars(LibJars.scala:90)
        at com.nicta.scoobi.application.ScoobiRepl$.uploadedJars(ScoobiRepl.scala:35)
        at com.nicta.scoobi.application.LibJars$class.configureJars(LibJars.scala:123)
        at com.nicta.scoobi.application.ScoobiRepl$.configureJars(ScoobiRepl.scala:35)
        at com.nicta.scoobi.application.Hadoop$class.configureForCluster(Hadoop.scala:100)
        at com.nicta.scoobi.application.ScoobiRepl$.configureForCluster(ScoobiRepl.scala:35)
        at com.nicta.scoobi.application.ScoobiInterpreter$class.setNewArguments(ScoobiRepl.scala:102)
        at com.nicta.scoobi.application.ScoobiInterpreter$class.cluster(ScoobiRepl.scala:76)
        at com.nicta.scoobi.application.ScoobiRepl$.cluster(ScoobiRepl.scala:35)
        at com.nicta.scoobi.application.ScoobiILoop$$anonfun$1$$anonfun$apply$mcV$sp$1.apply$mcV$sp(ScoobiRepl.scala:157)
        at com.nicta.scoobi.application.ScoobiILoop$$anonfun$1$$anonfun$apply$mcV$sp$1.apply(ScoobiRepl.scala:154)
        at com.nicta.scoobi.application.ScoobiILoop$$anonfun$1$$anonfun$apply$mcV$sp$1.apply(ScoobiRepl.scala:154)
        at scala.tools.nsc.interpreter.IMain.beQuietDuring(IMain.scala:232)
        at com.nicta.scoobi.application.ScoobiILoop$$anonfun$1.apply$mcV$sp(ScoobiRepl.scala:154)
        at scala.tools.nsc.interpreter.ILoopInit$class.runThunks(ILoopInit.scala:122)
        at scala.tools.nsc.interpreter.ILoop.runThunks(ILoop.scala:42)
        at scala.tools.nsc.interpreter.ILoopInit$class.postInitialization(ILoopInit.scala:95)
        at scala.tools.nsc.interpreter.ILoop.postInitialization(ILoop.scala:42)
        at scala.tools.nsc.interpreter.ILoopInit$$anonfun$createAsyncListener$1.apply$mcV$sp(ILoopInit.scala:63)
        at scala.tools.nsc.interpreter.ILoopInit$$anonfun$createAsyncListener$1.apply(ILoopInit.scala:60)
        at scala.tools.nsc.interpreter.ILoopInit$$anonfun$createAsyncListener$1.apply(ILoopInit.scala:60)
        at scala.tools.nsc.io.package$$anon$3.call(package.scala:40)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:679)