parkour.conf documentation

assoc!

(assoc! conf)(assoc! conf key val)(assoc! conf key val & kvs)
Set `conf` parameter `key` to `val`.

clone

(clone conf)
Return new Hadoop `Configuration`, cloning `conf`.

configuration

(configuration)(configuration conf)
Extract or produce a Hadoop `Configuration`.  If provided a `conf`
argument, coerce it to be a `Configuration` which if possible shares
mutable state with that original argument.  If not, return a fresh
configuration copied from the current default.

copy!

(copy! conf conf')
Copy all configuration from `conf'` to `conf`.

diff

(diff conf')(diff conf conf')
Map of updates from `conf` to `conf'`.

get

(get conf key)(get conf key default)
Get string value of `conf` parameter `key`

get-boolean

(get-boolean conf key default)
Get boolean value of `conf` parameter `key`.

get-class

(get-class conf key default)
Get class value of `conf` parameter `key`.

get-float

(get-float conf key default)
Get float value of `conf` parameter `key`.

get-int

(get-int conf key default)
Get int value of `conf` parameter `key`.

get-long

(get-long conf key default)
Get long value of `conf` parameter `key`.

get-vector

(get-vector conf key default)
Get string-vector value of `conf` parameter `key`.

ig

Alias for `configuration`.

iguration

Alias for `configuration`.

local-fs!

(local-fs!)(local-fs! conf)
Modify `conf` to use the local filesystem as the default FS.

local-mr!

(local-mr!)(local-mr! conf)
Modify `conf` to use the local (in-process) job tracker.

merge!

(merge! conf coll)
Merge `coll` of key-value pairs into Hadoop configuration `conf`.

set!

Alias for `assoc!`.

with-default

macro

(with-default conf & body)
Set new default configuration `conf` within the dynamic scope of
the `body` expressions.