com.nicta.scoobi.impl.util

DistCache

object DistCache

Facilitate making an object available to all tasks (mappers, reducers, etc). Use XStream to serialise objects to XML strings and then send out via Hadoop's distributed cache. Two APIs are provided for pushing and pulling objects.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DistCache
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. final def notify(): Unit

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

    Definition Classes
    AnyRef
  17. def pullObject[T](configuration: Configuration, tag: String): Option[T]

    Get an object that has been distributed so as to be available for tasks in the current job.

  18. def pullPath[T](configuration: Configuration, path: Path)(f: (FSDataInputStream) ⇒ T): Option[T]

    Pulling an object from a given path.

    Pulling an object from a given path.

    We first try paths from:

    • the local cache then
    • the distributed cache then
    • the passed path itself (this is useful if we are on the client)

    Once a FSDataInputStream is successfully opened, the function f can do its job to recreate the object:

    • use the Serialiser to deserialise the object
    • use a WireFormat to deserialise the object
  19. def pushObject[T](configuration: Configuration, obj: T, tag: String, check: Boolean = true): Path

    Distribute an object to be available for tasks in the current job

    Distribute an object to be available for tasks in the current job

    By default check right away if the object can be deserialised

  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  21. def tagToPath(configuration: Configuration, tag: String): Path

    Make a local filesystem path based on a 'tag' to temporarily store the serialised object.

  22. def toString(): String

    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped