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]

    Definition Classes
    ScoobiAppConfiguration
  7. lazy val HADOOP_CONF_DIR: Option[String]

    Definition Classes
    ScoobiAppConfiguration
  8. lazy val HADOOP_HOME: Option[String]

    Definition Classes
    ScoobiAppConfiguration
  9. 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
  10. def argumentsValues: Seq[String]

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

    Definition Classes
    Any
  12. 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
  13. 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
  14. def avrocat(path: String): Iterable[GenericRecord]

    Get the contents of an Avro file.

    Get the contents of an Avro file.

    Definition Classes
    ReplFunctions
  15. def cat(path: String): Iterable[String]

    Get the contents of a text file.

    Get the contents of a text file.

    Definition Classes
    ReplFunctions
  16. def categories: String

    returns

    the categories to show when logging, as a regular expression

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

    returns

    the classes directories to include on a job classpath

    Definition Classes
    Hadoop
  18. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. 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
  20. var commandLineArguments: Seq[String]

    Attributes
    protected[com.nicta.scoobi]
    Definition Classes
    ScoobiCommandLineArgs
  21. 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
  22. lazy val configurationFilesDiagnostic: Unit

    Definition Classes
    ScoobiAppConfiguration
  23. def configurationFromConfigurationDirectory(conf: Configuration): Configuration

    returns

    a configuration object set with the properties found in the hadoop directories

    Definition Classes
    ScoobiAppConfiguration
  24. 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
  25. def configureForCluster(implicit configuration: ScoobiConfiguration): ScoobiConfiguration

    returns

    a configuration with cluster setup

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

    returns

    a configuration with memory setup

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

    returns

    a configuration with local setup

    Definition Classes
    LocalHadoop
  28. def configureJars(implicit configuration: ScoobiConfiguration): Unit

    returns

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

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

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

    returns

    delete the remote jars currently on the cluster

    Definition Classes
    LibJars
  31. def deleteLibJars: Boolean

    returns

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

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

    returns

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

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

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

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

    execute some code locally

    execute some code locally

    Definition Classes
    InMemoryHadoop
  36. 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
  37. def executeOnLocal[T](t: ⇒ T)(implicit configuration: ScoobiConfiguration): T

    execute some code locally

    execute some code locally

    Definition Classes
    LocalHadoop
  38. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  39. def frameworkName: String

    returns

    the framework name: yarn, classic or local. This is only relevant for CDH5

    Definition Classes
    ClusterConfigurationCluster
  40. def fs: String

    returns

    the filesystem address

    Definition Classes
    ClusterConfigurationCluster
  41. lazy val fss: FileSystems

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

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

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

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

    Definition Classes
    InMemoryHadoop
  46. lazy val hadoopConfDirs: Seq[String]

    Definition Classes
    ScoobiAppConfiguration
  47. lazy val hadoopHomeDir: Option[String]

    Definition Classes
    ScoobiAppConfiguration
  48. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  49. def help: String

    Definition Classes
    ScoobiInterpreter
  50. 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
  51. 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
  52. 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
  53. def isCluster: Boolean

    Definition Classes
    ScoobiUserArgs
  54. def isClusterOnly: Boolean

    returns

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

    Definition Classes
    ScoobiUserArgs
  55. def isHadoopConfigured: Boolean

    returns

    true if there are some configuration directories for hadoop

    Definition Classes
    ScoobiAppConfiguration
  56. def isInMemory: Boolean

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

    Definition Classes
    Any
  58. def isLocal: Boolean

    Definition Classes
    ScoobiUserArgs
  59. def isLocalOnly: Boolean

    alias for locally

    alias for locally

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

    returns

    the list of library jars to upload

    Definition Classes
    LibJars
  61. def jobTracker: String

    returns

    the jobtracker address

    Definition Classes
    ClusterConfigurationCluster
  62. def keepFiles: Boolean

    returns

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

    Definition Classes
    ScoobiUserArgsScoobiArgs
  63. def level: Level

    returns

    the log level to use when logging

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

    returns

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

    Definition Classes
    LibJars
  65. 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
  66. 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
  67. def ls(path: String): Unit

    List a path .

    List a path .

    Definition Classes
    ReplFunctions
  68. 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
  69. 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
  70. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  71. def noLibJars: Boolean

    returns

    false if libjars are used

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

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

    Definition Classes
    AnyRef
  74. 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
  75. 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
  76. 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
  77. def parseHadoopArguments(arguments: Array[String]): Unit

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

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

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

    Persisting

    Persisting

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

    allow to call list.persist

    allow to call list.persist

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

    allow to call object.persist

    allow to call object.persist

    Definition Classes
    Persist
  83. def quiet: Boolean

    returns

    true to suppress log messages

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

    Definition Classes
    ScoobiInterpreter
  85. 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
  86. 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
  87. 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
  88. 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
  89. 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
  90. 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
  91. 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
  92. 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
  93. def run[T1, T2, T3](p1: Persistent[T1], p2: Persistent[T2], p3: Persistent[T3])(implicit configuration: ScoobiConfiguration): (T1, T2, T3)

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

    Definition Classes
    Persist
  95. 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
  96. def runInMemory[T](t: ⇒ T): T

    returns

    the result of the in-memory run

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

    returns

    the cluster evaluation of t

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

    returns

    the result of the local run

    Definition Classes
    LocalHadoop
  99. 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

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

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

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

    set the default configuration, depending on the arguments

    set the default configuration, depending on the arguments

    Definition Classes
    ScoobiAppConfiguration
  103. 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
  104. def showPlanOnly: Boolean

    returns

    true if the debug logs must show the computation graph and not evaluate it

    Definition Classes
    ScoobiUserArgsScoobiArgs
  105. 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
  106. def showTimes: Boolean

    returns

    true to display execution times for each job

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

    Definition Classes
    AnyRef
  108. lazy val sysProps: SystemProperties

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

    Definition Classes
    AnyRef → Any
  110. 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
  111. def uploadLibJarsFiles(deleteLibJarsFirst: Boolean = false)(implicit configuration: ScoobiConfiguration): Unit

    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
  112. def uploadedJars(implicit configuration: ScoobiConfiguration): Seq[Path]

    returns

    the remote jars currently on the cluster

    Definition Classes
    LibJars
  113. def useHadoopConfDir: Boolean

    returns

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

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

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  118. 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