Package com.mongodb.hadoop.util

Examples of com.mongodb.hadoop.util.MongoTool


        Class<? extends MongoTool> jobClass = (Class<? extends MongoTool>) Class.forName(className);
        Configuration conf = BaseHadoopTest.getYarnCluster() != null
                             ? new Configuration(BaseHadoopTest.getYarnCluster().getConfig())
                             : new Configuration();
        MongoTool app = jobClass.getConstructor(new Class[]{Configuration.class})
                                .newInstance(conf);

        ToolRunner.run(conf, app, cmd.toArray(new String[cmd.size()]));
    }
View Full Code Here

TOP

Related Classes of com.mongodb.hadoop.util.MongoTool

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.