2143 Commits

Author SHA1 Message Date
Gian Merlino
f547049929 Change merged-segment-removing behavior in RealtimePlumber.
Old: Merged segments are deleted upon successful push, or on IOException.
New: Merged segments are deleted on any Exception, but NOT successful push.

Deleting a merged segment means that the next merge-and-push run will try to
push it again. So we want that to happen if there was any sort of Exception.
We *don't* want it to happen if the merge-and-push was successful, since in
that case, we are just waiting for historical nodes to load the segment. It
might take a while, but there's no reason to re-push while waiting.
2014-08-08 10:59:16 -07:00
fjy
a855db2170 make things immutable 2014-08-08 10:53:10 -07:00
fjy
d2c7a67a0c clean up some redundant code 2014-08-08 10:52:05 -07:00
fjy
f1409f751a fix bad defaults 2014-08-08 10:46:36 -07:00
fjy
d4cf2763ac fix test again 2014-08-08 10:45:59 -07:00
fjy
8877ee9714 fix test 2014-08-08 10:43:50 -07:00
fjy
b3eb4cc5da fix defaults 2014-08-08 10:42:58 -07:00
fjy
627447c6f8 add more config to router strategies; fix bad test 2014-08-08 10:41:11 -07:00
fjy
08c7aabb34 fix deadlock condition that can exist in the coordinator 2014-08-07 15:55:25 -07:00
fjy
91ebe45b4e support both rejectionPolicy and rejectionPolicyFactory in serde 2014-08-07 10:06:27 -07:00
fjy
7624bb5ea3 Merge branch 'master' into new-init
Conflicts:
	examples/config/historical/runtime.properties
	examples/config/overlord/runtime.properties
	examples/config/realtime/runtime.properties
	processing/src/main/java/io/druid/guice/PropertiesModule.java
	server/src/main/java/io/druid/initialization/Initialization.java
2014-08-06 15:47:22 -07:00
Xavier Léauté
87fc354237 rename CleanupAvailable -> CleanupUnneeded 2014-08-06 14:29:00 -07:00
Xavier Léauté
70660ad295 separate cleanup of overshadowed vs. unavailable segments 2014-08-06 14:06:52 -07:00
fjy
9f4dd7b33e [maven-release-plugin] prepare for next development iteration 2014-08-06 13:34:04 -07:00
fjy
aa5cb91618 [maven-release-plugin] prepare release druid-0.6.138 2014-08-06 13:33:59 -07:00
fjy
8b6f030ad5 Merge pull request #661 from metamx/drop-remove-stuff
Coordinator drop/remove related stuff.
2014-08-06 14:28:23 -06:00
Gian Merlino
6e33cd4e0a Coordinator drop/remove related stuff.
- DruidCoordinatorCleanup should wait for availableSegments to populate
  before dropping any segments.
- Clarify that millisToWaitBeforeDeleting applies to "removing" rather than
  "dropping" segments.
- LoadRule shouldn't need to wait for the deletionWaitTime before dropping
  excess replicas.
2014-08-06 12:52:09 -07:00
fjy
4d4c6b891e address cr 2014-08-05 15:58:42 -07:00
fjy
8097e04938 fix naming 2014-08-05 15:48:30 -07:00
fjy
3a78960e65 Fix how metrics are emitted from servermanager 2014-08-05 15:47:30 -07:00
fjy
66225d698f fix stupidness with spatial indexing 2014-08-05 15:07:56 -07:00
Gian Merlino
c58a316437 Need more synchronizing in DruidDataSource. 2014-08-05 13:32:53 -07:00
jisookim0513
6f58cd1156 fix merge conflcts; change test files 2014-08-04 17:45:56 -07:00
fjy
290982433b Merge pull request #657 from metamx/only-uncached-query-metrics
Only emit query metrics for uncached queries.
2014-08-04 18:01:18 -06:00
Gian Merlino
6c8222788b Only emit query metrics for uncached queries. 2014-08-04 16:42:38 -07:00
fjy
65b8278add [maven-release-plugin] prepare for next development iteration 2014-08-01 10:14:34 -07:00
fjy
0ecbef6c5d [maven-release-plugin] prepare release druid-0.6.137 2014-08-01 10:14:30 -07:00
fjy
872a699142 another log fix 2014-07-31 17:23:40 -07:00
fjy
bf8c24f88d [maven-release-plugin] prepare for next development iteration 2014-07-31 14:08:38 -07:00
fjy
66020fc2b6 [maven-release-plugin] prepare release druid-0.6.136 2014-07-31 14:08:34 -07:00
fjy
1c4d8c55dc finally track down and fix the node exists problem with not deleting noop requests 2014-07-31 13:56:29 -07:00
nishantmonu51
637bd35785 merge changes from druid-0.7.x 2014-07-31 16:07:22 +05:30
fjy
a8c8e4cb51 [maven-release-plugin] prepare for next development iteration 2014-07-29 22:03:14 -07:00
fjy
25eda62a0c [maven-release-plugin] prepare release druid-0.6.135 2014-07-29 22:03:09 -07:00
fjy
ecbc9eda48 revert breakage to chat handlers 2014-07-29 21:55:05 -07:00
fjy
3920300900 fix router bug 2014-07-29 21:44:07 -07:00
fjy
0c898c58d1 [maven-release-plugin] prepare for next development iteration 2014-07-29 18:01:06 -07:00
fjy
c8244d05d1 [maven-release-plugin] prepare release druid-0.6.134 2014-07-29 18:01:02 -07:00
fjy
f7319620c4 [maven-release-plugin] prepare for next development iteration 2014-07-29 17:40:56 -07:00
fjy
540a146eaa [maven-release-plugin] prepare release druid-0.6.133 2014-07-29 17:40:52 -07:00
fjy
f577e1e74b fix guava version and firehose 2014-07-29 17:23:32 -07:00
fjy
b5ecf000ad [maven-release-plugin] prepare for next development iteration 2014-07-29 16:20:14 -07:00
fjy
877bd98667 [maven-release-plugin] prepare release druid-0.6.132 2014-07-29 16:20:10 -07:00
fjy
43d4e5418a Merge pull request #653 from metamx/override-static-resource
allow overriding coordinator static resource
2014-07-29 17:15:01 -06:00
fjy
1586d60ec2 fix bugs in log printing 2014-07-29 16:14:29 -07:00
Xavier Léauté
05a09d2550 allow overriding coordinator static resource 2014-07-29 15:13:57 -07:00
fjy
dc38677454 remove unneeded dependency 2014-07-29 14:23:50 -07:00
fjy
e1d87ed5ea [maven-release-plugin] prepare for next development iteration 2014-07-29 14:13:41 -07:00
fjy
c46965c52c [maven-release-plugin] prepare release druid-0.6.131 2014-07-29 14:13:37 -07:00
fjy
1ac84fcd00 some more logging cleanup for zk coordination 2014-07-29 14:07:19 -07:00