Liking cljdoc? Tell your friends :D

clojask.onyx-comps


catalogclj

source

catalog-aggre-genclj

(catalog-aggre-gen num-work batch-size)

Generate the catalog for running Onyx

Generate the catalog for running Onyx
sourceraw docstring

catalog-genclj

(catalog-gen num-work batch-size)

Generate the catalog for running Onyx

Generate the catalog for running Onyx
sourceraw docstring

catalog-groupby-genclj

(catalog-groupby-gen num-work batch-size)

Generate the catalog for running Onyx

Generate the catalog for running Onyx
sourceraw docstring

catalog-join-genclj

(catalog-join-gen num-work batch-size)

Generate the catalog for running Onyx

Generate the catalog for running Onyx
sourceraw docstring

close-readerclj

(close-reader event lifecycle)
source

config-envclj

(config-env)

Start the embedded ZooKeeper, the peer group and the peers for the current workflow. The ZooKeeper port, the Aeron port and the Aeron media-driver directory come from the JVM system properties clojask.zookeeper.port, clojask.aeron.port and clojask.aeron.dir, or the environment variables CLOJASK_ZOOKEEPER_PORT, CLOJASK_AERON_PORT and CLOJASK_AERON_DIR, so two clojask processes can share a machine.

Start the embedded ZooKeeper, the peer group and the peers for the
current workflow. The ZooKeeper port, the Aeron port and the Aeron
media-driver directory come from the JVM system properties
clojask.zookeeper.port, clojask.aeron.port and clojask.aeron.dir, or
the environment variables CLOJASK_ZOOKEEPER_PORT, CLOJASK_AERON_PORT
and CLOJASK_AERON_DIR, so two clojask processes can share a machine.
sourceraw docstring

dataframeclj

source

envclj

source

env-configclj

source

flow-cond-genclj

(flow-cond-gen num-work)

Generate the flow conditions for running Onyx

Generate the flow conditions for running Onyx
sourceraw docstring

flow-conditionsclj

source

idclj

source

in-callsclj

source

inject-in-readerclj

(inject-in-reader event lifecycle)
source

lifecycle-aggre-genclj

(lifecycle-aggre-gen source dist)
source

lifecycle-genclj

(lifecycle-gen source dist order select)
source

lifecycle-groupby-genclj

(lifecycle-groupby-gen source dist keys key-index)
source

lifecycle-join-genclj

(lifecycle-join-gen source dist a b a-keys b-keys a-roll b-roll join-type)
source

lifecyclesclj

source

log-pathclj

source

n-peersclj

source

peer-configclj

source

peer-groupclj

source

predicate-funcsclj

source

run-jobclj

(run-job stage prepare!)

Run one job inside with-onyx-env. prepare! does the per-job setup and returns the job map for submit-and-wait. Failures are tagged with the stage they came from; with-onyx-env shuts the environment down.

Run one job inside with-onyx-env. prepare! does the per-job setup and
returns the job map for submit-and-wait. Failures are tagged with the
stage they came from; with-onyx-env shuts the environment down.
sourceraw docstring

shutdownclj

(shutdown)

Tear down whatever config-env managed to start, in reverse order. Every step is attempted even if an earlier one fails, so a startup that dies after ZooKeeper is up (for example in the peer group) still releases the ZooKeeper port instead of poisoning every later compute in this JVM. The first error, if any, is rethrown once all steps have run.

Tear down whatever config-env managed to start, in reverse order. Every
step is attempted even if an earlier one fails, so a startup that dies
after ZooKeeper is up (for example in the peer group) still releases the
ZooKeeper port instead of poisoning every later compute in this JVM. The
first error, if any, is rethrown once all steps have run.
sourceraw docstring

start-onyxclj

(start-onyx num-work batch-size dataframe dist exception order index melt out)

start the onyx cluster with the specification inside dataframe

start the onyx cluster with the specification inside dataframe
sourceraw docstring

start-onyx-aggre-onlyclj

(start-onyx-aggre-only num-work
                       batch-size
                       dataframe
                       dist
                       exception
                       aggre-func
                       index
                       select
                       out)

start the onyx cluster with the specification inside dataframe

start the onyx cluster with the specification inside dataframe
sourceraw docstring

start-onyx-groupbyclj

(start-onyx-groupby num-work
                    batch-size
                    dataframe
                    dist
                    groupby-keys
                    groupby-index
                    exception
                    &
                    {:keys [format] :or {format false}})

start the onyx cluster with the specification inside dataframe

@format: if format the value before writing to file. For procedures that will need to compare / use the actual value of each element, should be set to false, such as aggregate, rolling join. For others, should be set to false to avoid repeated formatting

start the onyx cluster with the specification inside dataframe

@format: if format the value before writing to file. For procedures that will need to compare / use the actual
value of each element, should be set to false, such as aggregate, rolling join. For others, should be set to
false to avoid repeated formatting
sourceraw docstring

start-onyx-joinclj

(start-onyx-join num-work
                 batch-size
                 dataframe
                 b
                 source
                 dist
                 exception
                 a-keys
                 b-keys
                 a-roll
                 b-roll
                 join-type
                 limit
                 a-index
                 b-index
                 b-format
                 write-index
                 out)

start the onyx cluster with the specification inside dataframe

start the onyx cluster with the specification inside dataframe
sourceraw docstring

submit-and-waitclj

(submit-and-wait job)

Submit one job to the running environment and block until it has finished, rethrowing the job's own exception if it failed. The job map supplies :catalog, :lifecycles and :flow-conditions; the workflow is the one config-env sized the peers for.

Submit one job to the running environment and block until it has
finished, rethrowing the job's own exception if it failed. The job map
supplies :catalog, :lifecycles and :flow-conditions; the workflow is the
one config-env sized the peers for.
sourceraw docstring

v-peersclj

source

with-onyx-envclj

(with-onyx-env stage num-work f)

Start the Onyx environment (embedded ZooKeeper, peer group and one peer per task) for num-work workers, call f, and shut everything down again whether or not f threw. This is the only place that starts or stops the environment, so every driver gets the same partial-startup handling.

Start the Onyx environment (embedded ZooKeeper, peer group and one peer
per task) for num-work workers, call f, and shut everything down again
whether or not f threw. This is the only place that starts or stops the
environment, so every driver gets the same partial-startup handling.
sourceraw docstring

worker-funcclj

(worker-func seg)
source

worker-func-genclj

(worker-func-gen df exception index)
source

worker-func-gen-formatclj

(worker-func-gen-format df exception index)
source

workflowclj

source

workflow-genclj

(workflow-gen num-work)

Generate workflow for running Onyx

Generate workflow for running Onyx
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close