Class ImportJSON

java.lang.Object
org.apache.hadoop.conf.Configured
com.mapr.db.mapreduce.tools.ImportJSON
All Implemented Interfaces:
org.apache.hadoop.conf.Configurable, org.apache.hadoop.util.Tool

public class ImportJSON extends org.apache.hadoop.conf.Configured implements org.apache.hadoop.util.Tool
This utility is used when importing JSON text files into a MapR Document-DB Table. If the utility is used with the '-bulkload' option set to 'true', the admin must clear the bulkload flag on the MapR-DB table after the import is complete, before the table can begin serving data, using the command 'maprcli table edit -path -bulkload false' on the server.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    This class reads JSON data from text files in the Map phase.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.apache.hadoop.mapreduce.Job
    createSubmittableJob(org.apache.hadoop.conf.Configuration conf, String[] args)
     
    static void
    main(String[] args)
     
    int
    run(String[] args)
     

    Methods inherited from class org.apache.hadoop.conf.Configured

    getConf, setConf

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.hadoop.conf.Configurable

    getConf, setConf