GitHub user rozza opened a pull request:

    https://github.com/apache/drill/pull/304

    Updates to storage-mongo

    I made the following updates to the Mongo storage code:
    
    + Depends on the latest Mongo Java driver (3.2.0)
    + Uses MongoDatabase rather than the deprecated DB class
    + Uses Document and Bson types rather than the legacy DBObject type
    
    Its not a massive change as it already relied on a 3.x Mongo Java driver 
but should stop any users getting deprecation warnings in their logs from 
calling `MongoClient.getDB`.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/rozza/drill mongoStorageUpdate

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/drill/pull/304.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #304
    
----
commit 2865b70f9fccaca5a15f610a9e8596fe3af0b005
Author: Ross Lawley <[email protected]>
Date:   2015-12-17T13:46:40Z

    Updates to storage-mongo
    
    + Depends on the latest Mongo Java Driver (3.2.0)
    + Uses MongoDatabase rather than the deprecated DB class
    + Uses Document and Bson types rather than the legacy DBObject type

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to