Commit Graph

22212 Commits

Author SHA1 Message Date
tamil
9ea95a0e0b Added a function get_cmd_op
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2012-11-08 15:53:28 -08:00
Gary Lowell
ff5ee98f1c build: Add RPM release string generated from git describe.
Fix for bug 3451.  Use the commit count and sha1 from git describe to
construct a release string for rpm packages.
2012-11-08 12:43:24 -08:00
John Wilkins
8db7d2c436 Merge branch 'master' of https://github.com/ceph/ceph 2012-11-08 11:59:30 -08:00
John Wilkins
82ebbaba31 doc: Clarified text to reflect requirement for majority, not odd number of monitors.
fixes: 3464

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-08 11:59:15 -08:00
Sage Weil
8daecaf972 Merge remote-tracking branch 'gh/wip-fix-symlinks'
Conflicts:
	qa/qa_scripts/load-bucket-1000-obj.pl
	src/test/libcephfs/test.cc
2012-11-08 11:45:01 -08:00
Sage Weil
9dcc8a3b2e Merge remote-tracking branch 'gh/wip-mds' 2012-11-08 11:40:36 -08:00
Joe Buck
b7da8bbe7f libcephfs_jni.cc: mtime and atime are Long data types. Changing the accessor methods to
reflect this fact

Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewed-by: Noah Watkins <noahwatkins@gmail.com>
2012-11-08 09:28:56 -08:00
Noah Watkins
1581db9bcb configure: fail when missing junit dependency
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2012-11-08 09:28:26 -08:00
Noah Watkins
a47a96619c Makefile: include Java test suite artifacts
Automake has problems handling the naming convention used by Java for
inner classes (x$y.class).

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2012-11-08 09:28:26 -08:00
Noah Watkins
2dfc1030d7 Makefile: include Java unit test runner
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2012-11-08 09:28:26 -08:00
Noah Watkins
55483d78bc Makefile: only add source files to EXTRA_DIST
Prevents a make dist on a built tree from including the compiled
bytecode files produced from compiling the Java tests.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2012-11-08 09:28:26 -08:00
Noah Watkins
74cc2992c7 Makefile: use real file for make target
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2012-11-08 09:28:26 -08:00
Noah Watkins
4f215b0c7e Makefile: remove redundant EXTRA_DIST
Already set at the beginning of the Makefile.am

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2012-11-08 09:28:26 -08:00
Joe Buck
c3129a2780 Changing build.xml to produce a jar instead of class files Adding a
TestSuite class to run all tests
Remove the libcephfs-test.jar when running ant clean

Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewed-by: Noah Watkins <noahwatkins@gmail.com>
2012-11-08 09:28:23 -08:00
Joe Buck
77015424f8 Adding libcephfs-java.jar to .gitignore
Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewed-by: Noah Watkins <noahwatkins@gmail.com>
2012-11-08 09:28:01 -08:00
Joe Buck
791a8224f0 Adding a simple workunit that executes one libcephfs-java test
Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewed-by: Noah Watkins <noahwatkins@gmail.com>
2012-11-08 09:27:52 -08:00
Joe Buck
5dec9172d9 Moving test java files into a proper heirarchy. Moving the compilation
of tests classes from build.xml to Makefile and editing configure.ac to
look for the junit4 jar in the default location of /usr/share/java. It
is still possible to build and run tests from build.xml as well as
Makefile.

Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewed-by: Noah Watkins <noahwatkins@gmail.com>
2012-11-08 09:27:49 -08:00
Noah Watkins
08ee7364bc java: fix return type on JNI function
Return value of declaration was is a JNI specific jlong type, while a
the return type of the definition was long. g++ not happy.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2012-11-08 07:53:09 -08:00
Sage Weil
b1b9f0a44d vstart.sh: allow shorter MON, OSD, MDS count env vars
This will save me some typing.

Signed-off-by: Sage Weil <sage@inktank.com>
2012-11-08 06:56:57 -08:00
Sage Weil
8ccccbbfee osdmap: make flag names match
It's 'ceph osd set noup', so make the flag name 'noup', to avoid any
confusion.

Signed-off-by: Sage Weil <sage@inktank.com>
2012-11-08 06:56:57 -08:00
Sage Weil
f2bf7aa773 mon: make osdmap flags incur a health warning
This will ensure that users will see a health warning when, for instance,
NOUP or PAUSE[RD|WR|EXEC] flags are set.

Signed-off-by: Sage Weil <sage@inktank.com>
2012-11-08 06:56:56 -08:00
John Wilkins
937345219d doc: Rewrote index for install section per new IA.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-07 22:42:41 -08:00
John Wilkins
f2fbe7a74d doc: Removed source/index from top-level toc tree per new IA.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-07 22:42:12 -08:00
John Wilkins
6f6df5c2ef doc: Moved doc/source files to doc/install per new IA.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-07 22:41:35 -08:00
John Wilkins
059294cecc doc: Syntax cleanup for new IA. Fix tip. Clean up for generating keys.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-07 22:19:19 -08:00
John Wilkins
631075d8c1 doc: Syntax cleanup for new IA. Added reference to repo.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-07 22:18:06 -08:00
John Wilkins
7a1e952b87 doc: Syntax cleanup for new IA.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-07 22:17:46 -08:00
John Wilkins
e11cafb578 doc: Syntax cleanup for new IA. Removed steps for building docs.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-07 22:17:31 -08:00
John Wilkins
b5ae387e01 doc: Syntax cleanup for new IA. Removed info for building documentation.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-07 22:16:50 -08:00
John Wilkins
9eb0b2b9a8 doc: Syntax cleanup for new IA.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-07 22:16:10 -08:00
Josh Durgin
e144582fb7 doc: update the rest of the table for debian wheezy
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2012-11-07 17:18:45 -08:00
Samuel Just
14730d77e3 Merge remote-tracking branch 'upstream/wip_recovery_reserve'
Reviewed-by: Samuel Just <sam.just@inktank.com>
2012-11-07 17:24:04 -08:00
Mike Ryan
cdd73bbab0 doc/: document recovery reservation process
Signed-off-by: Mike Ryan <mike.ryan@inktank.com>
2012-11-07 17:21:32 -08:00
Mike Ryan
0ed0d2a630 pg: recovery reservations
This extends the backfill reservation system to work with log-based
recovery. The Active and RepActive states of the PG state machine are
greatly expanded to deal with the increased complexity of handling both
recovery and backfill reservations.

Signed-off-by: Mike Ryan <mike.ryan@inktank.com>
2012-11-07 17:21:28 -08:00
Dan Mick
9d9a222e9f doc: Wheezy is now using kernel 3.2.0; say so 2012-11-07 17:17:18 -08:00
Dan Mick
e7c02b3a38 doc: Fix per-daemon public/private settings: "network" -> "addr" 2012-11-07 17:17:12 -08:00
Dan Mick
eac614a7c8 doc: Clarify "pool size", copies, and replicas more 2012-11-07 17:16:51 -08:00
Noah Watkins
52bada57de doc: fix Hadoop config option typo
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2012-11-07 17:07:55 -08:00
John Wilkins
d3553a588d doc: Made changes to the CSS to make admonitions more prominent.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-07 14:11:56 -08:00
John Wilkins
067953f981 doc: Added lines between title and body. Pre IA cleanup.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-07 14:11:29 -08:00
John Wilkins
282ac92ae1 doc: Updated syntax for consistent usage prior to IA updates.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-07 14:10:40 -08:00
John Wilkins
d1404c3435 doc: Updated index for removal of legacy openstack install.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-07 14:09:57 -08:00
John Wilkins
9127ebd413 doc: Minor edit to admonitions.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-07 14:09:30 -08:00
John Wilkins
04f661fe29 doc: Updated syntax prior to IA updates.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-07 14:09:12 -08:00
John Wilkins
d38df17e7d doc: Updated syntax usage prior to IA updates.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-07 14:08:45 -08:00
John Wilkins
ee07b224df doc: Added new info per Ross's request.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-07 14:07:55 -08:00
John Wilkins
a1b2f584eb doc: Fix and minor edit for admonitions.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-07 14:07:28 -08:00
John Wilkins
e1195fdf7f doc: Minor edits for admonitions.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-07 14:07:05 -08:00
John Wilkins
6731b55e12 doc: Edits from Peter Reiher's feedback, and minor edits for admonitions.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-07 14:06:40 -08:00
John Wilkins
2260e15279 doc: Minor edits for admonitions.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-07 14:06:00 -08:00