public class ImportJSON
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
| Modifier and Type | Class and Description |
|---|---|
static class |
ImportJSON.JsonTextImporter
This class reads JSON data from text files in the Map phase.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
TABLE_NAME |
| Constructor and Description |
|---|
ImportJSON() |
| Modifier and Type | Method and 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) |
public static final String TABLE_NAME
public static org.apache.hadoop.mapreduce.Job createSubmittableJob(org.apache.hadoop.conf.Configuration conf,
String[] args)
throws IOException,
ClassNotFoundException,
InterruptedException
public int run(String[] args) throws Exception
run in interface org.apache.hadoop.util.ToolExceptionCopyright © 2017 Mapr Technologies, Inc.. All rights reserved.