fjy
2c5562b6ff
fix wrong shard spec
2013-12-06 10:29:22 -08:00
fjy
f8ff9296bc
fix logs
2013-12-06 10:26:35 -08:00
fjy
767663af92
fix how flushing plumber flushes
2013-12-06 10:25:50 -08:00
fjy
932d688022
remove unneccessary merge n persist start
2013-12-06 10:15:18 -08:00
fjy
90aa9eca47
more logs
2013-12-06 09:57:07 -08:00
fjy
986223a49d
more logs
2013-12-06 09:56:47 -08:00
fjy
c4b990bb27
more logging
2013-12-06 09:56:23 -08:00
fjy
e7b6b5c2af
fix persist with flushing plumber
2013-12-06 09:51:43 -08:00
fjy
5ba05a46f6
fix nulls in realtime persist
2013-12-05 17:59:02 -08:00
fjy
6f079bcc8f
fix segment id for ii
2013-12-05 17:01:55 -08:00
fjy
ae5a4ff54c
add versions to incremental index segment
2013-12-05 16:47:28 -08:00
fjy
60d72a0fd3
add flushing plumber
2013-12-05 16:24:54 -08:00
fjy
241c80ef24
working pagination maybe
2013-12-05 13:37:44 -08:00
fjy
31c7ed639d
first commit
2013-12-04 13:53:08 -08:00
Himadri Singh
a2c8388742
No need of druid-server.version
2013-12-04 10:21:36 +05:30
fjy
929b2336a9
fix non deterministic behaviour in test
2013-12-02 17:02:24 -08:00
fjy
05f72601c4
fix request time metric and prepare for next release
2013-12-02 14:20:59 -08:00
Himadri Singh
95fafe02a7
server versions with loaded extensions versions
2013-11-27 12:21:35 +05:30
Himadri Singh
abf417a1c4
version of druid-server
2013-11-26 17:47:23 +05:30
Stefán Freyr Stefánsson
386c81f0d9
Merge remote-tracking branch 'upstream/master' into rabbitmq-module
2013-11-25 22:44:25 +00:00
Himadri Singh
659493c4d2
Add versions to static page
2013-11-24 20:27:34 +05:30
Stefán Freyr Stefánsson
9eb4a7d9df
Added commons-cli dependency.
2013-11-22 10:44:16 +00:00
Stefán Freyr Stefánsson
71598ee60e
Moving RabbitMQ stuff to a module.
2013-11-21 18:41:06 +00:00
Xavier Léauté
3134affac9
fix NPE in DirectDruidClient
2013-11-20 17:15:26 -08:00
Xavier Léauté
d0fe70a21f
replace deprecated calls to getJsonFactory and createJsonParser
2013-11-20 17:14:23 -08:00
fjy
c60e75a6b4
Merge branch 'master' of github.com:metamx/druid into query-resource
2013-11-20 10:02:51 -08:00
fjy
e7167ae00a
add new query resource
2013-11-20 10:02:43 -08:00
Stefán Freyr Stefánsson
6aafba4393
Merge remote-tracking branch 'upstream/master' into rabbitmq-lyra
2013-11-20 16:25:53 +00:00
Stefán Freyr Stefánsson
f644c8ea66
Ugly quick'n'dirty way of getting lyra to work.
2013-11-19 10:18:00 +00:00
Xavier Léauté
1e9d72d95a
add total segment size/count metric
2013-11-18 13:51:06 -08:00
fjy
f66fe3cbbb
another better default
2013-11-18 13:16:47 -08:00
fjy
c5361cc100
fix serde problem in CCC and better defaults for jetty threads
2013-11-18 13:14:18 -08:00
fjy
60dbdcebac
we need to explicitly set the connector thread pool based on the default number of threads in our config to accomodate how jetty 8 works
2013-11-16 11:09:42 -08:00
fjy
51aa7a2284
doesnt work yet
2013-11-11 14:04:03 -08:00
fjy
822a30658d
fix broken http post emitter and prepare for next release
2013-11-08 14:01:16 -08:00
fjy
6181114acd
Merge pull request #288 from metamx/abandon-rt-segments
...
Realtime: Abandon segments that fail to push when shutting down
2013-11-07 15:53:49 -08:00
Xavier Léauté
76732c25f8
increase timeout for slow machines and provide more descriptive error message
2013-11-04 14:07:43 -08:00
Gian Merlino
d8d3a6958e
Realtime: Abandon segments that fail to push
2013-11-02 08:57:58 -07:00
Xavier Léauté
dce6e7e0eb
hack to support remote repository authentication
2013-11-01 09:33:07 -07:00
fjy
5d8f1d11ec
fix broken UT as a result of new druid api changes
2013-10-22 10:44:28 -07:00
daggerrz
522feb65d5
Use druid-api 0.1.2-SNAPSHOT which provides Row.getRaw()
2013-10-20 22:39:13 -04:00
fjy
2dc716bf7e
fix bug and make it actually possible to load extensions
2013-10-16 11:59:01 -07:00
fjy
9796a40b92
port docs over to 0.6 and a bunch of misc fixes
2013-10-11 18:38:53 -07:00
cheddar
c47fe202c7
Fix HadoopDruidIndexer to work with the new way of things
...
There are multiple and sundry changes in here.
First, "HadoopDruidIndexer" has been split into two pieces, (1) CliHadoop which pulls the hadoop version and builds up the right classpath with the proper hadoop version to run the indexer and (2) CliInternalHadoopIndexer which actually runs the indexer.
In order to work around a bunch of jets3t version conflicts with Hadoop and Druid, I needed to extract the S3 deep storage stuff into its own module. I then also moved the HDFS stuff into its own module so that I could eliminate the dependency on Hadoop for druid-server.
In doing these changes, I wanted to make the extensions buildable with only the druid-api jar, so a few other things had to move out of Druid and into druid-api. They are all API-level things, however, so they really belong in druid-api instead.
Lastly, I removed the druid-realtime module and put it all in druid-server.
2013-10-09 15:15:44 -05:00
fjy
af1dbe6eab
fix docs for 0.6 part 1 of many
2013-10-07 14:47:04 -07:00
fjy
703b674800
add availability zone info to autoscaling
2013-10-07 12:16:50 -07:00
fjy
ac330f72bb
first set of changes to standarize the naming convention we use in druid
2013-10-03 16:36:48 -07:00
fjy
bc8db7daa5
1) make chat handler resource work again
...
2) add more default configs
3) make examples work again
2013-10-02 14:22:39 -07:00
Gian Merlino
62eda5020c
ShardSpec: Remove isInChunk(Map<String, String>)
2013-10-01 12:50:08 -07:00
fjy
4a7a28a7f6
Merge branch 'master' into fix-config
2013-09-27 17:17:46 -07:00
Gian Merlino
dc5dab8747
Fixes for property conversion, firehose registration, and the indexing service
2013-09-27 17:09:59 -07:00
fjy
a79ad7bab4
make dynamic master resource configuration work again
2013-09-27 15:00:40 -07:00
fjy
e404295c1f
make indexing service work
2013-09-26 17:44:21 -07:00
fjy
8bc56daa66
fix things up according to code review comments
2013-09-26 11:35:45 -07:00
fjy
0461e4688f
Merge branch 'master' into guice-hi
2013-09-26 11:05:03 -07:00
fjy
87259321b6
port hadoop druid indexer to new guice framework
2013-09-26 11:04:42 -07:00
Gian Merlino
45e22d98f1
Fix S3DataSegmentPuller retry bug
2013-09-25 07:56:45 -07:00
fjy
19276f6bad
fix spacing issues and other code review comments
2013-09-24 14:34:09 -07:00
fjy
be5bb7f2eb
fix lifecycle startup/stop ordering problem with discovery module and make druid able to load local extensions
2013-09-24 14:20:56 -07:00
fjy
15843c3978
refactor how server service discovery is done
2013-09-24 10:36:26 -07:00
cheddar
cc632cdb30
Make Jetty Server lazy
...
JettyServerModule had been eagerly instantiating the Server object, which was causing things that didn't care about an HTTP interface to all of a sudden require host and port parameters. The change makes the JettyServerModule only setup the bindings without eagerly instantiating the Jetty Server. Each cli needs to register the Server class with the Lifecycle in order to make it actually get used.
2013-09-23 16:02:24 -05:00
cheddar
98c663e75c
Enable usage of SysMonitor to verify disk locations via DruidSysMonitor
2013-09-20 18:33:14 -05:00
cheddar
b13ae3f405
Merge branch 'master' into fix-extensionization
...
Conflicts:
services/src/main/java/io/druid/cli/CliBroker.java
services/src/main/java/io/druid/cli/CliCoordinator.java
2013-09-20 17:49:13 -05:00
cheddar
5712b29c8c
Fix issues with bindings and handling extensions
...
The way the Guice bindings were setup previously, each process only had bindings
for the things it cared about. This became problematic when adding extension modules
that bound everything that they could possibly need expecting that the processes would
only instantiate what they actually do need. Guice tries to fail-fast and verifies that all
bindings exist before it does anything, which is a problem because the extension bind
some objects that don't necessarily have all of their dependencies bound in all processes.
The fix for this is to build a single Injector with all bindings in it and let each of the
processes only load the things that they care about. This also requires the use of
Module overrides and other such interesting things, which are node done.
In doing the fix, I also swapped out the way that the DataSegmentPusher/Puller stuff is bound, as well as made the Cassandra stuff fail if its settings are not provided. This all of a sudden made all of the things require Cassandra's settings, so I migrated the Cassandra deep storage stuff into its own module.
In doing these changes, I also discovered that some properties weren't properly converting for the ConvertProperties command (specifically, the properties related to data segment loading and pushing), so I fixed that.
2013-09-20 17:45:01 -05:00
fjy
f26e13c61a
fix broken http endpoints
2013-09-19 17:33:58 -07:00
fjy
b3bfcb7792
workaround for broker to plug in extensions
2013-09-18 15:59:05 -07:00
fjy
e551afef5d
fix broken master console
2013-09-18 09:41:59 -07:00
fjy
9b4c3756ed
fix exception catching logic of moving segments
2013-09-15 10:27:37 -07:00
cheddar
e0738b3b22
1) Add tool to convert properties from the old settings to the new ones.
2013-09-12 17:59:23 -05:00
cheddar
044e43d231
1) Remove last TODO related to segment lifetime. Don't think we care about that anymore.
2013-09-12 14:17:11 -05:00
cheddar
a001c1d32a
1) Remove TODO from ZkCoordinator. Always load the cache, 'cause I say so.
2013-09-12 13:02:40 -05:00
cheddar
2ea09e2d70
1) Clean up specification of StorageLocations
2013-09-12 12:56:56 -05:00
cheddar
a2dcc45a8e
1) Remove SingleSegmentLoader and replace with OmniSegmentLoader
2013-09-12 11:47:03 -05:00
cheddar
b8bd19e87c
whitespace
2013-09-12 10:13:04 -05:00
cheddar
3e4a4f5566
1) Adjustments to allow for the addition of new Runnables via modules. Modules should implement CliCommandCreator and add their stuff there.
2013-09-11 17:41:20 -05:00
cheddar
6c9a107356
1) remove duplicate package initialization.initialization
2013-09-09 17:02:57 -05:00
cheddar
dadd9bc5ce
1) Rename MetricSelector(Factory) to ColumnSelector(Factory)
...
2) Hard coded plugin as a first pass, won't actually work for anyone else.
2013-09-04 11:19:46 -05:00
cheddar
740c70ed06
1) It's good when unit tests actually pass...
2013-08-31 17:27:15 -05:00
cheddar
3c39f90c89
1) Move Firehose interface and dependencies to druid-api
...
2) Move DataSegment* interfaces and dependencies to druid-api
2013-08-31 16:43:28 -05:00
cheddar
5ab671050e
No more com.metamx.druid, it is now all io.druid!
2013-08-30 19:42:12 -05:00
cheddar
bd0756e360
More stuff moved, things still compiling and tests still passing. Yay!
2013-08-30 18:58:35 -05:00
cheddar
56e2b956d0
OMG!!! A lot of stuff has been moved. Modules have been created and destroyed, but everything is compiling and unit tests are passing, OMFG this is awesome.!
2013-08-30 18:21:04 -05:00
cheddar
846b3c9b94
1) Spell better
2013-08-29 16:51:05 -05:00
cheddar
ca2c56d827
1) Remove PostAggregator and put it in druid-api
...
2) Remove io.druid files from client
2013-08-29 16:50:09 -05:00
cheddar
3c1b0a8a02
1) Make it compile after merging with master
2013-08-29 16:47:17 -05:00
cheddar
cb90ed05b0
Revert the previous commit. After going down this path, I realized that extracting things enough to allow Queries to be extended without depending on Druid proper was going to lead down a very nasty path. So, I've decided against that. Extending queries will require a tight dependency on Druid proper.
2013-08-29 16:45:03 -05:00
cheddar
2a46086e20
1) Didn't remove the io.druid files from client. Remove those and make sure things compile
...
2) Switch DefaultObjectMapper to CommonObjectMapper
3) Create new DefaultObjectMapper in client that has Query stuff registered on it by default
2013-08-29 15:25:36 -05:00
cheddar
5ad023cd3f
Merge branch 'master' into guice
2013-08-29 13:59:59 -05:00
cheddar
df2465eb99
1) Add unit test for groupBy query with dimension that doesn't exist
...
2) Fix group by query to work with new unit test, fixes #232
2013-08-29 11:48:34 -05:00
cheddar
15ec8e7054
1) Remove the Searchable interface
2013-08-28 18:51:19 -05:00
cheddar
c02d887cfe
1) Rewrite SearchQueryRunner to not require StorageAdapter to be "Searchable"
...
2) Extract SearchQueryRunner out of SearchQueryRunnerFactory
3) Extract ColumnSelectorBitmapIndexSelector out to make it reusable
2013-08-28 18:50:40 -05:00
cheddar
1f37e962f6
1) Delete the files that have moved to druid-api and get them through the druid-api dependency. Still need to fix Searchable on StorageAdapter, but other than that, everything should compile.
2013-08-28 16:18:40 -05:00
cheddar
9c30ced5ea
1) Move various "api" classes to io.druid packages and make sure things compile and stuff
2013-08-28 15:51:02 -05:00
cheddar
fc60158273
1) What is an .Rhistory file and why is it checked in? It's not! (anymore)
2013-08-27 14:37:12 -05:00
cheddar
ee1e73cfa1
1) Make it compile again after the merge
2013-08-27 14:36:01 -05:00
cheddar
8097450d8c
Some things that didn't get committed with the merge for some reason!?
2013-08-27 14:29:03 -05:00
cheddar
5fa944dd26
Merge branch 'master' into guice
...
Conflicts:
client/src/main/java/com/metamx/druid/coordination/BatchDataSegmentAnnouncer.java
client/src/main/java/com/metamx/druid/curator/announcement/Announcer.java
client/src/main/java/com/metamx/druid/query/filter/SelectorDimFilter.java
client/src/main/java/com/metamx/druid/query/search/SearchQueryQueryToolChest.java
indexing-service/src/main/java/com/metamx/druid/indexing/common/tasklogs/S3TaskLogs.java
indexing-service/src/main/java/com/metamx/druid/indexing/coordinator/ForkingTaskRunner.java
indexing-service/src/main/java/com/metamx/druid/indexing/coordinator/RemoteTaskRunner.java
indexing-service/src/main/java/com/metamx/druid/indexing/worker/WorkerCuratorCoordinator.java
indexing-service/src/test/java/com/metamx/druid/indexing/coordinator/RemoteTaskRunnerTest.java
pom.xml
server/src/main/java/com/metamx/druid/http/MasterMain.java
server/src/main/java/com/metamx/druid/http/MasterServletModule.java
server/src/main/java/com/metamx/druid/master/DruidMasterConfig.java
server/src/test/java/com/metamx/druid/master/DruidMasterTest.java
server/src/test/java/com/metamx/druid/query/group/GroupByQueryRunnerTest.java
2013-08-27 14:27:32 -05:00
cheddar
3617ac17fc
1) Eliminate ExecutorMain and have it run using the new Main!
2013-08-27 14:11:05 -05:00
cheddar
269997dc94
1) ExecutorNode is working, except for the running of the task. Need to adjust it to be able to run a task and then everything will be wonderful
2013-08-26 18:08:41 -05:00
cheddar
55dbda2046
1) Worker appears to be running! It's also now known as the MiddleManager
2013-08-23 17:59:48 -05:00
cheddar
b897c2cb22
1) IndexCoordinator appears to work as the CliOverlord now, yay!
2013-08-23 14:11:34 -05:00
fjy
6a8c160740
update code according to code review
2013-08-22 10:46:05 -07:00
fjy
3f51ef63a4
Merge branch 'guice' into guice-rt
2013-08-22 10:20:53 -07:00
fjy
1fb6107a37
fix the case where RTR does not clean up a completed task on startup
2013-08-15 13:09:02 -07:00
cheddar
ba5ed4c9d4
1) Fix bug with NPE thrown when requesting a dimension on a GroupBy query that is not dictionary encoded
2013-08-14 17:34:11 -07:00
fjy
fc1018bc3f
revert removal of master loadstatus
2013-08-14 14:02:47 -07:00
cheddar
c0624d9591
Merge branch 'master' of github.com:metamx/druid
2013-08-14 10:04:04 -07:00
cheddar
a7ef5b8b70
1) Fix bug with SingleSegmentLoader.StorageLocation keeping track of its storage size incorrectly. Add unit test ftw.
2013-08-14 10:03:47 -07:00
cheddar
7ebe053ac1
Fix bug with segment loader counting thingie
2013-08-14 09:37:22 -07:00
cheddar
4791d0466d
Merge pull request #198 from metamx/loadBalancer
...
Improve runtime of segment distribution algorithm
2013-08-13 18:47:43 -07:00
cheddar
c2305a82f9
Merge pull request #209 from zanox/kafka-protobuf
...
Kafka protobuf
2013-08-13 18:38:27 -07:00
fjy
85ee8bb267
port realtime to guice
2013-08-13 17:08:45 -07:00
cheddar
145e08682c
1) Add check in ServerManagerTest to make sure that the Segment has been "checked out" before the factory ever sees it.
...
2) Some code readability changes to ReferenceCountingSegment
2013-08-13 17:01:24 -07:00
cheddar
a5855fb749
1) Fix ServerManager to make sure that it "checks out" the Segment before it starts processing
2013-08-13 14:51:14 -07:00
cheddar
28c7e78a91
1) Fix ReferenceCountingSegmentTest to actually work again
2013-08-13 14:28:44 -07:00
fjy
41347c82bb
fix broken server manager tests
2013-08-13 12:07:45 -07:00
fjy
070d822345
fix broken UT
2013-08-13 12:01:24 -07:00
fjy
13e522c8a7
update the server manager unit tests to check for the case where a segment may be accessed in toYield calls before an increment occurs
2013-08-13 11:53:41 -07:00
cheddar
bb18b162ab
1) Include new version of java-util to fix issue with resources not getting closed when an exception is thrown sometimes
...
2) Whitespace changes to GroupByQueryEngine
2013-08-12 17:57:30 -07:00
Gian Merlino
8d7a4f4493
Retries for S3TaskLogs, S3DataSegmentPusher
2013-08-12 14:27:34 -07:00
fjy
a39eb65edb
change summary of segment failures to one per line
2013-08-12 13:15:35 -07:00
fjy
dd20950f8a
adding missing continue
2013-08-12 13:07:29 -07:00
fjy
2ec2957207
clean up the error reporting code according to code review
2013-08-12 13:04:48 -07:00
fjy
0c360c05c2
better handling of exceptions during startup
2013-08-12 12:56:59 -07:00
fjy
2f728f3478
fix zk coord to not fail during startup exceptions
2013-08-12 11:33:42 -07:00
Jan Rudert
3f32ef7bbc
Merge branch 'master' of github.com:metamx/druid into kafka-protobuf
2013-08-12 17:42:40 +02:00
jan
55267ca0e4
removed @author tags
2013-08-11 13:44:13 +02:00
Dhruv Parthasarathy
01db89ac6e
fixed issue with web console. Cleaned up code
2013-08-09 00:33:40 -07:00
fjy
a190269faa
fix druid master segments getting stuck bug
2013-08-08 22:06:41 -07:00
Dhruv Parthasarathy
fc5e15f72b
merged changes with master
2013-08-08 18:11:33 -07:00
Dhruv Parthasarathy
abe347efd3
merged with master
2013-08-08 17:21:57 -07:00
Dhruv Parthasarathy
764863d6f5
made volatile. fixed parens
2013-08-08 16:40:10 -07:00
Dhruv Parthasarathy
8a8ea5d028
removed test annotation from profiler
2013-08-08 16:38:24 -07:00
Dhruv Parthasarathy
01b35ec819
all tests passed. Ready for merge
2013-08-08 16:23:26 -07:00
Dhruv Parthasarathy
eed9e1b373
merged with master
2013-08-08 16:14:06 -07:00
Dhruv Parthasarathy
0b24ea710c
fixed paths
2013-08-08 16:10:31 -07:00
Dhruv Parthasarathy
3a298681e4
fixed formatting
2013-08-07 10:59:54 -07:00
Dhruv Parthasarathy
c4f0e4d96d
fixed with Erics feedback
2013-08-07 10:53:37 -07:00
fjy
5f292143e0
disable merging segments with linear shard spec
2013-08-06 16:17:49 -07:00
Dhruv Parthasarathy
f31ee552d0
fixed with fj comments
2013-08-06 15:03:07 -07:00
Dhruv Parthasarathy
0d5b222f8f
removed SlickGrid :(
2013-08-06 14:30:35 -07:00
Dhruv Parthasarathy
6124ecd9cb
fied some tests
2013-08-06 14:26:08 -07:00
cheddar
eee1efdcb5
Merge branch 'master' into guice
...
Conflicts:
client/src/main/java/com/metamx/druid/client/DruidServerConfig.java
indexing-service/src/main/java/com/metamx/druid/indexing/common/index/ChatHandlerProvider.java
indexing-service/src/main/java/com/metamx/druid/indexing/coordinator/TaskMasterLifecycle.java
indexing-service/src/main/java/com/metamx/druid/indexing/worker/executor/ExecutorNode.java
indexing-service/src/test/java/com/metamx/druid/indexing/coordinator/TaskLifecycleTest.java
2013-08-06 13:33:31 -07:00
cheddar
51f648ec11
1) Rename QueryToolChestModule back
2013-08-06 12:05:56 -07:00
cheddar
69f7831d82
1) Rename QueryToolChestModule because there was a case sensitivity issue, grrr
2013-08-06 12:04:04 -07:00
cheddar
9f71d42314
1) Broker works with Guice
...
2) Extract ServerViewModule to handle various ServerView thingies
3) Extract QueryToolChestModule and QueryRunnerFactoryModule to reuse code for configuration of Query stuff
4) Extract QueryJettyServerInitializer to reuse between Historical and Broker nodes
5) Remove ClientMain, BrokerMain and BrokerNode
2013-08-06 12:01:52 -07:00
Dhruv Parthasarathy
ebba2d66a3
results good
2013-08-06 11:46:18 -07:00
Dhruv Parthasarathy
e40d5b55ef
testing speed for one run
2013-08-06 11:40:49 -07:00
Dhruv Parthasarathy
575dfe3679
replication working too
2013-08-05 14:51:58 -07:00
Dhruv Parthasarathy
1045aac4b8
finished profiling here
2013-08-05 13:53:40 -07:00
cheddar
d64bc2f762
1) Eliminate Old mains() that aren't needed anymore.
2013-08-05 13:33:43 -07:00
Dhruv Parthasarathy
540c4885d7
fixes to make profiler work
2013-08-05 12:36:43 -07:00
Dhruv Parthasarathy
1c19fb4a02
changed number of replicants
2013-08-02 17:41:47 -07:00
cheddar
d66af7625c
1) Eliminate the need for SingleSegmentLoader
...
2) Setup the configuration glue for ServerInventoryViews and DataSegmentAnnouncer
3) Make processes run and work again!
2013-08-02 17:05:01 -07:00
cheddar
2361e0112a
Make it all compile again...
2013-08-02 10:14:46 -07:00
Dhruv Parthasarathy
6f6a335a40
adding profiling for 55k servers
2013-08-01 23:38:44 -07:00
Dhruv Parthasarathy
9f17e8fc43
all working
2013-08-01 21:01:02 -07:00
Dhruv Parthasarathy
696b04020b
wrote regression test
2013-08-01 18:28:48 -07:00
fjy
584ccac833
move scanning of workers and tasks into RTR start, simplify bootstrap, make tests better
2013-08-01 17:50:05 -07:00
Dhruv Parthasarathy
6f28eac995
fixed problem of balancer ignoring home server
2013-08-01 17:28:32 -07:00
Dhruv Parthasarathy
cd3b62e123
fix to runtime params
2013-08-01 17:01:50 -07:00
cheddar
9e78bb38f5
Merge branch 'master' into guice
...
Conflicts:
client/src/main/java/com/metamx/druid/QueryableNode.java
client/src/main/java/com/metamx/druid/client/ServerInventoryView.java
client/src/main/java/com/metamx/druid/coordination/SingleDataSegmentAnnouncer.java
client/src/main/java/com/metamx/druid/initialization/CuratorDiscoveryConfig.java
client/src/main/java/com/metamx/druid/query/MetricsEmittingExecutorService.java
indexing-hadoop/src/test/java/com/metamx/druid/indexer/HadoopDruidIndexerConfigTest.java
indexing-service/src/main/java/com/metamx/druid/indexing/common/TaskToolbox.java
indexing-service/src/main/java/com/metamx/druid/indexing/coordinator/http/IndexerCoordinatorNode.java
indexing-service/src/main/java/com/metamx/druid/indexing/worker/executor/ExecutorNode.java
indexing-service/src/main/java/com/metamx/druid/indexing/worker/http/WorkerNode.java
pom.xml
server/src/main/java/com/metamx/druid/coordination/ServerManager.java
server/src/main/java/com/metamx/druid/coordination/ZkCoordinator.java
server/src/main/java/com/metamx/druid/db/DatabaseRuleManager.java
server/src/main/java/com/metamx/druid/db/DatabaseSegmentManager.java
server/src/main/java/com/metamx/druid/http/ComputeNode.java
server/src/main/java/com/metamx/druid/http/MasterMain.java
server/src/main/java/com/metamx/druid/loading/SegmentLoaderConfig.java
server/src/main/java/com/metamx/druid/loading/SingleSegmentLoader.java
server/src/main/java/com/metamx/druid/master/DruidMaster.java
2013-08-01 16:42:47 -07:00
cheddar
019bb5d453
1) Another whole bunch of changes to annotate things and create Modules and bind stuff. But OMFG, the compute node actually appears to be working!
...
2) The compute node works with Guice
3) The compute node fires up with Guice and appears to work
4) Did I mention that the compute node, now called historical node, fires up with Guice and appears to work?
2013-08-01 15:28:08 -07:00
cheddar
fba2bc9623
Merge pull request #204 from metamx/close-handle
...
add the ability to unmap mmapped files
2013-08-01 14:09:46 -07:00
Dhruv Parthasarathy
9b340d9f6c
simplified console code. Added Builder. Fixed urls
2013-08-01 14:06:22 -07:00
fjy
8f39db7804
more data to exception msgs
2013-08-01 14:04:27 -07:00
fjy
6d54ae9f81
more unit tests to test for multiple closes in different threads
2013-08-01 13:51:56 -07:00
fjy
dc169d9fcd
hide decrement and update close logic to call decrement
2013-08-01 13:24:56 -07:00
fjy
e92e0c35a4
put all concurrency test back into server manager test, introduce better concurrency for reference counting
2013-08-01 13:13:03 -07:00
fjy
b86258cc14
fix broken master UT based on changes that were discarded as part of a pull req
2013-08-01 10:44:39 -07:00
fjy
2f8351b314
fix broken ut
2013-08-01 09:41:36 -07:00
cheddar
f4fc8b2f6e
1) A whole boondoggle of changes to Guicify the instantiation of things for the Historical nodes
...
2) Add GuiceInjectableValues that supports @JacksonInject resolution via Guice
3) Refactor RequestLogger stuff and setup polymorphic deserialization method of creating objects
2013-07-31 18:36:47 -07:00
fjy
e2b5cd6067
Merge branch 'master' of github.com:metamx/druid into worker-resource
...
Conflicts:
indexing-service/src/main/java/com/metamx/druid/indexing/worker/executor/ExecutorNode.java
2013-07-31 15:23:13 -07:00
fjy
f76540c16c
move reference counting classes out of server manager and more tests for concurrency
2013-07-31 15:14:39 -07:00
Dhruv Parthasarathy
dd689ca828
changed urls
2013-07-31 11:43:24 -07:00
fjy
5d1fe50703
additional ut for reference counting
2013-07-30 17:55:57 -07:00
fjy
404b84823e
reference count to make sure we arent accessing any instances of a closed mmapped segment
2013-07-30 17:36:56 -07:00
cheddar
843b6650a2
Merge pull request #206 from metamx/peontimeout
...
Add a timeout in LoadQueuePeon to fail an assign if it takes too long
2013-07-30 15:08:46 -07:00
fjy
e7c6dd8112
get and reset failed assign count
2013-07-30 14:50:24 -07:00
fjy
35d8a82879
move the close method to the segment object
2013-07-30 12:24:01 -07:00
cheddar
97fb971f84
1) Start the journey of making the historical nodes work with Guice. Doesn't work yet, but at least it builds.
2013-07-30 11:58:05 -07:00
cheddar
1c5c2e0ef5
Merge pull request #205 from metamx/compress-curator
...
Toggle between compressed and non compressed service discovery
2013-07-30 11:33:43 -07:00
cheddar
66adef5d64
Merge pull request #179 from zanox/master
...
Fix path used when storing segments to HDFS
2013-07-30 11:13:29 -07:00
fjy
f55e12040f
fix according to code review
2013-07-29 18:39:14 -07:00
Dhruv Parthasarathy
b8940b4524
added support for dynamicConfigs for Master
2013-07-29 18:16:57 -07:00
Dhruv Parthasarathy
4e4d582e07
formatted files
2013-07-29 18:10:08 -07:00
Dhruv Parthasarathy
ac0f0afdbf
turned Iterable to ArrayList, fixed potential null pointer in reservoir sampling
2013-07-29 18:07:49 -07:00
fjy
6a96c1fb76
fix according to code review comments
2013-07-29 17:56:19 -07:00
Dhruv Parthasarathy
b0d9889c83
added web console for changing dynamicConfigs
2013-07-29 17:49:09 -07:00
fjy
091dce11c8
Add a timeout in LQP to fail an assign if it takes too long
2013-07-29 15:47:05 -07:00
fjy
50836798fa
toggle between compressed and non compressed service discovery
2013-07-29 15:40:45 -07:00
fjy
1226190279
add the ability to close mmapped files
2013-07-29 15:22:34 -07:00
cheddar
4c9be81912
1) Pull try/catch check in the JettyServerInitializer out of the initializer.
2013-07-29 14:35:30 -07:00
cheddar
9cd26c70c0
1) Adjust the JettyServerModule and other things such that Jetty will actually serve the static artifacts and the various resources of the Master
2013-07-29 14:26:51 -07:00
Dhruv Parthasarathy
31ffed466c
first set of changes
2013-07-29 11:39:24 -07:00
cheddar
6b9963b472
1) Move the @Json and @Smile annotations to com.metamx.druid.guice.annotations
...
2) Changed ServiceAnnouncer to take a DruidNode object
3) Remove ServiceInstanceFactory interface and implementations
4) Add registrations to DiscoveryModule so that you can register nodes that should be announced on startup
5) Make the set of default Monitors configurable
2013-07-26 14:03:51 -07:00
Dhruv Parthasarathy
ba4a9c28a7
removed unecessary line
2013-07-26 10:52:50 -07:00
Dhruv Parthasarathy
1e4f64b119
redid testing
2013-07-26 10:50:06 -07:00
fjy
217894d44a
Merge branch 'master' into worker-resource
...
Conflicts:
pom.xml
2013-07-25 16:18:42 -07:00
Dhruv Parthasarathy
8e4fba431c
moved profiler
2013-07-25 14:37:03 -07:00