com.nicta.scoobi.application

ScoobiRepl

object ScoobiRepl extends ScoobiInterpreter

A REPL for Scoobi.

Run the 'scoobi' script, which will bring you into the Scala REPL

You're now good to go!!

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ScoobiRepl
  2. ScoobiInterpreter
  3. ReplFunctions
  4. ScoobiApp
  5. Persist
  6. HadoopLogFactoryInitialisation
  7. Hadoop
  8. LibJars
  9. LocalHadoop
  10. InMemoryHadoop
  11. ScoobiUserArgs
  12. ScoobiAppConfiguration
  13. SystemProperties
  14. ScoobiArgs
  15. ClusterConfiguration
  16. Cluster
  17. ScoobiCommandLineArgs
  18. DelayedInit
  19. AnyRef
  20. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class PersistableList[A] extends AnyRef

    Definition Classes
    Persist
  2. class PersistableObject[A] extends AnyRef

    Definition Classes
    Persist
  3. case class RunnableDList[T](list: DList[T]) extends Product with Serializable

    Definition Classes
    Persist
  4. case class RunnableDObject[T](o: DObject[T]) extends Product with Serializable

    Definition Classes
    Persist

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. lazy val HADOOP_COMMAND: Option[String]

    Attributes
    protected
    Definition Classes
    ScoobiAppConfiguration
  7. lazy val HADOOP_HOME: String

    Attributes
    protected
    Definition Classes
    ScoobiAppConfiguration
  8. def args: Seq[String]

    shortcut name for command-line arguments, after extraction of the hadoop and scoobi ones

    shortcut name for command-line arguments, after extraction of the hadoop and scoobi ones

    Definition Classes
    ScoobiApp
  9. def argumentsValues: Seq[String]

    Definition Classes
    ScoobiInterpreterScoobiUserArgs
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. implicit def asRunnableDList[T](list: DList[T]): RunnableDList[T]

    make a DList runnable, executing the computation and returning the values

    make a DList runnable, executing the computation and returning the values

    Definition Classes
    Persist
  12. implicit def asRunnableDObject[T](o: DObject[T]): RunnableDObject[T]

    make a DObject runnable, executing the computation and returning the values

    make a DObject runnable, executing the computation and returning the values

    Definition Classes
    Persist
  13. def cat(path: String): Iterable[String]

    Get the contents of a text file.

    Get the contents of a text file.

    Definition Classes
    ReplFunctions
  14. def categories: String

    returns

    the categories to show when logging, as a regular expression

    Definition Classes
    ScoobiUserArgsScoobiArgs
  15. def classDirs: Seq[String]

    returns

    the classes directories to include on a job classpath

    Definition Classes
    Hadoop
  16. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  17. def cluster: Unit

    set the configuration so that the next job is run on the cluster - this is the default

    set the configuration so that the next job is run on the cluster - this is the default

    Definition Classes
    ScoobiInterpreter
  18. var commandLineArguments: Seq[String]

    Attributes
    protected[com.nicta.scoobi]
    Definition Classes
    ScoobiCommandLineArgs
  19. implicit lazy val configuration: ScoobiConfiguration

    store the value of the configuration in a lazy val, so that it can be updated and still be referenced

    store the value of the configuration in a lazy val, so that it can be updated and still be referenced

    Definition Classes
    ScoobiAppScoobiAppConfigurationClusterConfiguration
  20. def configurationFromConfigurationDirectory(conf: Configuration): Configuration

    Definition Classes
    ScoobiAppConfiguration
  21. def configureArguments(implicit configuration: ScoobiConfiguration): Unit

    set command-line arguments on the configuration object

    set command-line arguments on the configuration object

    Attributes
    protected
    Definition Classes
    InMemoryHadoop
  22. def configureForCluster(implicit configuration: ScoobiConfiguration): ScoobiConfiguration

    returns

    a configuration with cluster setup

    Definition Classes
    Hadoop
  23. def configureForInMemory(implicit configuration: ScoobiConfiguration): ScoobiConfiguration

    returns

    a configuration with memory setup

    Definition Classes
    InMemoryHadoop
  24. def configureForLocal(implicit configuration: ScoobiConfiguration): ScoobiConfiguration

    returns

    a configuration with local setup

    Definition Classes
    LocalHadoop
  25. def configureJars(implicit configuration: ScoobiConfiguration): Configuration

    returns

    a configuration where the appropriate properties are set-up for uploaded jars: distributed files + classpath

    Definition Classes
    LibJars
  26. def delayedInit(x: ⇒ Unit): Unit

    Definition Classes
    ScoobiCommandLineArgs → DelayedInit
  27. def deleteJars(implicit configuration: ScoobiConfiguration): Unit

    returns

    delete the remote jars currently on the cluster

    Definition Classes
    LibJars
  28. def deleteLibJars: Boolean

    returns

    true if the libjars must be deleted before the Scoobi job runs

    Definition Classes
    ScoobiUserArgsScoobiArgs
  29. def displayTime(prefix: String): (SimpleTimer) ⇒ Unit

    returns

    a function to display execution times. The default uses log messages

    Definition Classes
    InMemoryHadoop
  30. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  31. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  32. def executeInMemory[T](t: ⇒ T)(implicit configuration: ScoobiConfiguration): T

    execute some code locally

    execute some code locally

    Definition Classes
    InMemoryHadoop
  33. def executeOnCluster[T](t: ⇒ T)(implicit configuration: ScoobiConfiguration): T

    execute some code on the cluster, setting the filesystem / jobtracker addresses and setting up the classpath

    execute some code on the cluster, setting the filesystem / jobtracker addresses and setting up the classpath

    Definition Classes
    Hadoop
  34. def executeOnLocal[T](t: ⇒ T)(implicit configuration: ScoobiConfiguration): T

    execute some code locally

    execute some code locally

    Definition Classes
    LocalHadoop
  35. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  36. def fs: String

    returns

    the filesystem address

    Definition Classes
    ClusterConfigurationCluster
  37. lazy val fss: FileSystems

    Attributes
    protected[com.nicta.scoobi]
    Definition Classes
    LibJars
  38. def get(name: String): Option[String]

    Definition Classes
    SystemProperties
  39. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  40. def getEnv(name: String): Option[String]

    Definition Classes
    SystemProperties
  41. def hadoopArgs: Array[String]

    Definition Classes
    InMemoryHadoop
  42. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  43. def help: String

    Definition Classes
    ScoobiInterpreter
  44. def inMemory[T](t: ⇒ T)(implicit configuration: ScoobiConfiguration): T

    execute some code in memory, using a collection backend, possibly showing execution times

    execute some code in memory, using a collection backend, possibly showing execution times

    Definition Classes
    InMemoryHadoop
  45. def includeLibJars: Boolean

    returns

    true if you want to include the library jars in the jar that is sent to the cluster for each job

    Definition Classes
    Hadoop
  46. def inmemory: Unit

    set the configuration so that the next job is run in memory

    set the configuration so that the next job is run in memory

    Definition Classes
    ScoobiInterpreter
  47. def isCluster: Boolean

    Definition Classes
    ScoobiUserArgs
  48. def isClusterOnly: Boolean

    returns

    true if the cluster argument is specified and the local argument is not

    Definition Classes
    ScoobiUserArgs
  49. def isInMemory: Boolean

    Definition Classes
    ScoobiUserArgs
  50. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  51. def isLocal: Boolean

    Definition Classes
    ScoobiUserArgs
  52. def isLocalOnly: Boolean

    alias for locally

    alias for locally

    Definition Classes
    ScoobiUserArgs
  53. def jars(implicit configuration: ScoobiConfiguration): Seq[URL]

    returns

    the list of library jars to upload

    Definition Classes
    LibJars
  54. def jobTracker: String

    returns

    the jobtracker address

    Definition Classes
    ClusterConfigurationCluster
  55. def keepFiles: Boolean

    returns

    false if temporary files and working directory must be cleaned-up after job execution

    Definition Classes
    ScoobiUserArgsScoobiArgs
  56. def level: Level

    returns

    the log level to use when logging

    Definition Classes
    ScoobiUserArgsScoobiArgs
  57. def libjarsDirectory(implicit configuration: ScoobiConfiguration): String

    returns

    the path of the directory to use when loading jars to the filesystem.

    Definition Classes
    LibJars
  58. def local: Unit

    set the configuration so that the next job is run locally

    set the configuration so that the next job is run locally

    Definition Classes
    ScoobiInterpreter
  59. lazy val locally: Boolean

    the execution is local if the file system is local, as determined by the configuration files loaded by the hadoop script or if "local" is passed on the command line.

    the execution is local if the file system is local, as determined by the configuration files loaded by the hadoop script or if "local" is passed on the command line.

    if locally returns true then we might attempt to upload the dependent jars to the cluster and to add them to the classpath

    Definition Classes
    ScoobiAppScoobiUserArgsScoobiArgs
  60. def ls(path: String): Unit

    List a path .

    List a path .

    Definition Classes
    ReplFunctions
  61. def main(arguments: Array[String]): Unit

    parse the command-line argument and:

    parse the command-line argument and:

    • upload the dependent jars on the cluster
    • execute the user code
    Definition Classes
    ScoobiInterpreterScoobiApp
  62. def mainJarContainsDependencies: Boolean

    returns

    true if the main jar contains all the dependencies for this application by default this is delegated to the Classes trait which looks for the presence of a scoobi_* jar or for com/nicta/scoobi jar entries in the main jar

    Definition Classes
    ScoobiApp
  63. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  64. def noLibJars: Boolean

    returns

    false if libjars are used

    Definition Classes
    ScoobiUserArgsScoobiArgs
  65. final def notify(): Unit

    Definition Classes
    AnyRef
  66. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  67. def onCluster[T](t: ⇒ T)(implicit configuration: ScoobiConfiguration): T

    execute some code on the cluster, possibly showing the execution time

    execute some code on the cluster, possibly showing the execution time

    Definition Classes
    Hadoop
  68. def onHadoop[T](t: ⇒ T)(implicit configuration: ScoobiConfiguration): T

    execute some code, either locally or on the cluster, depending on the local argument being passed on the commandline

    execute some code, either locally or on the cluster, depending on the local argument being passed on the commandline

    Definition Classes
    Hadoop
  69. def onLocal[T](t: ⇒ T)(implicit configuration: ScoobiConfiguration): T

    execute some code locally, possibly showing execution times

    execute some code locally, possibly showing execution times

    Definition Classes
    LocalHadoop
  70. def parseHadoopArguments(arguments: Array[String]): Unit

    Attributes
    protected
    Definition Classes
    ScoobiApp
  71. def persist[A](ps: Persistent[_]*)(implicit sc: ScoobiConfiguration): Seq[Persistent[_]]

    Definition Classes
    Persist
  72. def persist[A](list: DList[A])(implicit sc: ScoobiConfiguration): DList[A]

    Definition Classes
    Persist
  73. def persist[A](o: DObject[A])(implicit sc: ScoobiConfiguration): A

    Persisting

    Persisting

    Definition Classes
    Persist
  74. implicit def persistableList[A](list: DList[A]): PersistableList[A]

    allow to call list.persist

    allow to call list.persist

    Definition Classes
    Persist
  75. implicit def persistableObject[A](o: DObject[A]): PersistableObject[A]

    allow to call object.persist

    allow to call object.persist

    Definition Classes
    Persist
  76. def quiet: Boolean

    returns

    true to suppress log messages

    Definition Classes
    ScoobiUserArgsScoobiArgs
  77. def removeExecutionMode(arguments: Seq[String]): Seq[String]

    Definition Classes
    ScoobiInterpreter
  78. def run(): Unit

    this method needs to be overridden and define the code to be executed

    this method needs to be overridden and define the code to be executed

    Definition Classes
    ScoobiInterpreterScoobiApp
  79. def run[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10](p1: Persistent[T1], p2: Persistent[T2], p3: Persistent[T3], p4: Persistent[T4], p5: Persistent[T5], p6: Persistent[T6], p7: Persistent[T7], p8: Persistent[T8], p9: Persistent[T9], p10: Persistent[T10])(implicit configuration: ScoobiConfiguration): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)

    Definition Classes
    Persist
  80. def run[T1, T2, T3, T4, T5, T6, T7, T8, T9](p1: Persistent[T1], p2: Persistent[T2], p3: Persistent[T3], p4: Persistent[T4], p5: Persistent[T5], p6: Persistent[T6], p7: Persistent[T7], p8: Persistent[T8], p9: Persistent[T9])(implicit configuration: ScoobiConfiguration): (T1, T2, T3, T4, T5, T6, T7, T8, T9)

    Definition Classes
    Persist
  81. def run[T1, T2, T3, T4, T5, T6, T7, T8](p1: Persistent[T1], p2: Persistent[T2], p3: Persistent[T3], p4: Persistent[T4], p5: Persistent[T5], p6: Persistent[T6], p7: Persistent[T7], p8: Persistent[T8])(implicit configuration: ScoobiConfiguration): (T1, T2, T3, T4, T5, T6, T7, T8)

    Definition Classes
    Persist
  82. def run[T1, T2, T3, T4, T5, T6, T7](p1: Persistent[T1], p2: Persistent[T2], p3: Persistent[T3], p4: Persistent[T4], p5: Persistent[T5], p6: Persistent[T6], p7: Persistent[T7])(implicit configuration: ScoobiConfiguration): (T1, T2, T3, T4, T5, T6, T7)

    Definition Classes
    Persist
  83. def run[T1, T2, T3, T4, T5, T6](p1: Persistent[T1], p2: Persistent[T2], p3: Persistent[T3], p4: Persistent[T4], p5: Persistent[T5], p6: Persistent[T6])(implicit configuration: ScoobiConfiguration): (T1, T2, T3, T4, T5, T6)

    Definition Classes
    Persist
  84. def run[T1, T2, T3, T4, T5](p1: Persistent[T1], p2: Persistent[T2], p3: Persistent[T3], p4: Persistent[T4], p5: Persistent[T5])(implicit configuration: ScoobiConfiguration): (T1, T2, T3, T4, T5)

    Definition Classes
    Persist
  85. def run[T1, T2, T3, T4](p1: Persistent[T1], p2: Persistent[T2], p3: Persistent[T3], p4: Persistent[T4])(implicit configuration: ScoobiConfiguration): (T1, T2, T3, T4)

    Definition Classes
    Persist
  86. def run[T1, T2, T3](p1: Persistent[T1], p2: Persistent[T2], p3: Persistent[T3])(implicit configuration: ScoobiConfiguration): (T1, T2, T3)

    Definition Classes
    Persist
  87. def run[T1, T2](p1: Persistent[T1], p2: Persistent[T2])(implicit configuration: ScoobiConfiguration): (T1, T2)

    Definition Classes
    Persist
  88. def run[T](p: Persistent[T])(implicit configuration: ScoobiConfiguration): T

    run a list.

    run a list.

    This is equivalent to: val obj = list.materialise run(obj)

    Definition Classes
    Persist
  89. def runInMemory[T](t: ⇒ T): T

    returns

    the result of the in-memory run

    Definition Classes
    InMemoryHadoop
  90. def runOnCluster[T](t: ⇒ T): T

    returns

    the cluster evaluation of t

    Definition Classes
    Hadoop
  91. def runOnLocal[T](t: ⇒ T): T

    returns

    the result of the local run

    Definition Classes
    LocalHadoop
  92. def scoobiArgs: Seq[String]

    this provides the arguments which are parsed to change the behavior of the Scoobi app: logging, local/cluster,.

    this provides the arguments which are parsed to change the behavior of the Scoobi app: logging, local/cluster,...

    Definition Classes
    ScoobiAppScoobiUserArgs
    See also

    ScoobiUserArgs

  93. def scoobiArgs_=(arguments: String): Unit

    Definition Classes
    ScoobiInterpreter
  94. var scoobiArguments: Seq[String]

    Attributes
    protected[com.nicta.scoobi]
    Definition Classes
    ScoobiCommandLineArgs
  95. def setConfiguration(c: Configuration): Configuration

    set the default configuration, depending on the arguments

    set the default configuration, depending on the arguments

    Definition Classes
    ScoobiAppConfiguration
  96. def setLogFactory(name: String = classOf[HadoopLogFactory].getName): Unit

    Static setup to use a testing log factory

    Static setup to use a testing log factory

    Definition Classes
    InMemoryHadoop
  97. def showComputationGraph: Boolean

    returns

    true if the debug logs must show the computation graph

    Definition Classes
    ScoobiUserArgsScoobiArgs
  98. def showTime[T](t: ⇒ T)(display: (SimpleTimer) ⇒ Unit): T

    measure the time taken by some executed code and display the time with a specific display function

    measure the time taken by some executed code and display the time with a specific display function

    Definition Classes
    InMemoryHadoop
  99. def showTimes: Boolean

    returns

    true to display execution times for each job

    Definition Classes
    ScoobiUserArgsScoobiArgs
  100. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  101. lazy val sysProps: SystemProperties

    Attributes
    protected[com.nicta.scoobi]
    Definition Classes
    LibJars
  102. def toString(): String

    Definition Classes
    AnyRef → Any
  103. def upload: Boolean

    upload the jars unless 'nolibjars' has been set on the command-line'

    upload the jars unless 'nolibjars' has been set on the command-line'

    Definition Classes
    ScoobiAppLibJars
  104. def uploadLibJarsFiles(deleteLibJarsFirst: Boolean = false)(implicit configuration: ScoobiConfiguration): Any

    upload the jars which don't exist yet in the library directory on the cluster

    upload the jars which don't exist yet in the library directory on the cluster

    Definition Classes
    LibJars
  105. def uploadedJars(implicit configuration: ScoobiConfiguration): Seq[Path]

    returns

    the remote jars currently on the cluster

    Definition Classes
    LibJars
  106. def useHadoopConfDir: Boolean

    returns

    true if cluster configuration must be loaded from Hadoop's configuration directory

    Definition Classes
    ScoobiInterpreterScoobiUserArgsScoobiArgs
  107. var userArguments: Seq[String]

    Attributes
    protected[com.nicta.scoobi]
    Definition Classes
    ScoobiCommandLineArgs
  108. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  109. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  110. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  111. def withTimer[T](t: ⇒ T): (T, SimpleTimer)

    returns

    the time for the execution of a piece of code

    Definition Classes
    InMemoryHadoop

Inherited from ScoobiInterpreter

Inherited from ReplFunctions

Inherited from ScoobiApp

Inherited from Persist

Inherited from Hadoop

Inherited from LibJars

Inherited from LocalHadoop

Inherited from InMemoryHadoop

Inherited from ScoobiUserArgs

Inherited from ScoobiAppConfiguration

Inherited from SystemProperties

Inherited from ScoobiArgs

Inherited from ClusterConfiguration

Inherited from Cluster

Inherited from ScoobiCommandLineArgs

Inherited from DelayedInit

Inherited from AnyRef

Inherited from Any

Ungrouped