doc: Hadoop clarifications

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
doc: start Hadoop installation docs

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
hypertable recent version prototyping includes bool verify in length and read functions

Signed-off-by: Jordi Llonch <llonchj@gmail.com>
Use mon_host instead of mon_addr in ceph_conf

Signed-off-by: Jordi Llonch <llonchj@gmail.com>
Merge pull request #429 from llonchj/hypertable_changes

Hypertable changes
mon: include service first_committed in report

Signed-off-by: Sage Weil <sage@inktank.com>
mon: move quorum out of monmap

Signed-off-by: Sage Weil <sage@inktank.com>
mon: include paxos info in report

Signed-off-by: Sage Weil <sage@inktank.com>
mon: include some (basic) auth info in report

Nothing privileged!

Signed-off-by: Sage Weil <sage@inktank.com>
doc: document new hadoop config options

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
doc: update Hadoop docs with plugin download

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
Merge branch 'wip-hadoop-doc'

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
rgw: Fix typo in rgw_user.cc

Signed-off-by: Christophe Courtaut <christophe.courtaut@gmail.com>
doc: Fixed link in Calxeda repo instruction.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
Merge pull request #437 from kri5/wip-fix-typo-rgw

rgw: Fix typo in rgw_user.cc

Reviewed-by: Yehuda Sadeh <yehuda@inktank.com>
mon: fix scrub vs paxos race: refresh on commit, not round completion

Consider:

 - paxos starts a commit N+1
 - a majority of the peers ack it
  - paxos::commit() writes N+1 it to disk
  - tells peers to commit
 - peers commit N+1, *and* refresh_from_paxos(), and generate N+1 full map
 - leader does _scrub on N+1, without latest full osdmap
 - peers do _scrub on N+1, with latest full osdmap
 - leader finishes paxos gather, does refresh_from_paxos()
 -> scrub fails.

Fix this by doing the refresh_from_paxos() at commit time and not when
the paxos round finishes.  We move the refresh out of finish_proposal
and into its own helper, and update all callers accordingly.  This
keeps on-disk state more tightly in sync with in-memory state and
avoids the need for a e.g., kludgey workaround in the scrub code.

We also simplify the bootstrap checks a bit by doing so immediately
and relying on the normal bootstrap paxos reset paths to clean up
any waiters.

Signed-off-by: Sage Weil <sage@inktank.com>
Merge branch 'next'
mon/Paxos: make all handle_accept paths go via out label

Signed-off-by: Sage Weil <sage@inktank.com>
mon/Paxos: separate proposal commit from the end of the round

Each commit should match with exactly one proposal; finish it when we
actually commit it and make sensible asserts.

The old finish_proposal() turns into finish_round(), and performs
generic checks and cleanup associated with the transition from
updating -> active.

Signed-off-by: Sage Weil <sage@inktank.com>
mon/PaxosService: assert not proposing in propose_pending

Drop the useless active check after the assert, too.

Signed-off-by: Sage Weil <sage@inktank.com>