Merge pull request #1 from rfradinho/master

Update to FHR schema in aurora.
CDH4 dependency changes
Metrics Managers changes to be compatabile with bagheera-stable-0.9
Merge pull request #2 from mozilla-metrics/changes-0.9

Metrics Managers changes to be compatabile with bagheera-stable-0.9
Bump dev version to 0.5
Catch JsonMappingException in FHR Consumer

Started seeing errors like this in the FHR Consumer logs:

2013-05-23 12:30:10,998 ERROR com.mozilla.fhr.consumer.FHRConsumer: IO error while storing to data sink
com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of com.fasterxml.jackson.databind.node.ObjectNode out of VALUE_NUMBER_FLOAT token
 at [Source: java.io.StringReader@576eeb9; line: 1, column: 1]
        at com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:163)
        at com.fasterxml.jackson.databind.DeserializationContext.mappingException(DeserializationContext.java:588)
        at com.fasterxml.jackson.databind.DeserializationContext.mappingException(DeserializationContext.java:582)
        at com.fasterxml.jackson.databind.deser.std.JsonNodeDeserializer$ObjectDeserializer.deserialize(JsonNodeDeserializer.java:94)
        at com.fasterxml.jackson.databind.deser.std.JsonNodeDeserializer$ObjectDeserializer.deserialize(JsonNodeDeserializer.java:72)
        at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:2575)
        at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:1805)
        at com.mozilla.fhr.consumer.FHRConsumer$FHRConsumerWorker.call(FHRConsumer.java:224)
        at com.mozilla.fhr.consumer.FHRConsumer$FHRConsumerWorker.call(FHRConsumer.java:203)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)

So added a catch for that Exception, as well as logging the bad payloads at "debug" verbosity.
Merge pull request #3 from mozilla-metrics/cdh4

CDH4 dependency changes
Merge pull request #4 from mozilla-metrics/catch-mapping-exception

Catch JsonMappingException in FHR Consumer
Bump dev version to 0.6
Batch Puts and Deletes up together into 1 flush.

Use the same queue for pending Puts and Deletes instead of batching Puts and
sending Deletes one at a time.

This is the same functional change as the 'batched-deletes-and-puts' branch
in bagheera's HBaseSink.
Add the 'batchsize' command line param.

Should end up the same as the 'cdh4' branch.
Merge pull request #6 from mozilla-metrics/batched-deletes-and-puts

Batched deletes and puts
Added simple test for batched Put + Delete

By no means complete coverage, but it demonstrates that both Puts and Deletes
are being batched and flushed together.
Merge pull request #7 from mozilla-metrics/batched-deletes-and-puts

Added simple test for batched Put + Delete
Bump development version to 0.7
Force try/catch on UDFs and use warn() when parsing fails.