Add a ResourceStats protobuf message.
Extend profiling mode to have resource profiling.
Add funtions to operators to get resource stats
Collect CPU time in each LocalFragment if resource profiling is enabled.
Create the resource log table.
Build the whole pipeline of collecting, sending, recording and querying resource stats.
Add a REST API to get the last heartbeats of workers
SimpleAppender should also be a StreamingStateEncoding.
Just a small fix since it was neglected.
Set new operator ids for recovery tasks.
Also a fix that each fragment from the recovery task need to be called start().
Fix travis due to rebase to master
fix a bug, should be the RecoverProducer
Remove the word profiling for different kinds of profiling
fix class import
Check style requires a particular pattern for enums ('^[A-Z][a-zA-Z0-9]*$’)
Name enum class according to google style guide (https://google-styleguide.googlecode.com/svn/trunk/javaguide.html#s4.8.1-enum-classes) @dhalperi
Merge branch 'master' into jwang_addResourceMeasurements
Remove redundant csv format param
Change FTMODE to FTMode
Change profiling mode to a set.
Make it not null to simplify null checking.
Also removed the unnecessary parameter profilingMode in QueryManager.submitQuery() since all the callers are passing null.
Merge branch 'master' of github.com:uwescience/myria into jwang_addResourceMeasurements