Skip to content

Instantly share code, notes, and snippets.

@Samstiles
Created September 28, 2015 18:44
[
{
"dataSchema" : {
"dataSource" : "hyperion2",
"parser" : {
"type" : "string",
"parseSpec" : {
"format" : "json",
"timestampSpec" : {
"column" : "timestamp",
"format" : "auto"
},
"dimensionsSpec" : {
"dimensions": ["interaction-id","utc-timestamp","resource-id","resource-name","event-type","tenant-id","tenant-name"],
"dimensionExclusions" : [],
"spatialDimensions" : []
}
}
},
"metricsSpec" : [{
"type" : "count",
"name" : "count"
}],
"granularitySpec" : {
"type" : "uniform",
"segmentGranularity" : "HOUR",
"queryGranularity" : "NONE",
"intervals" : [ "2013-01-23/2020-02-01" ]
}
},
"ioConfig" : {
"type" : "realtime",
"firehose": {
"type": "local",
"baseDir": "examples/titan/data",
"filter": "InstanceEvent.json"
}
},
"tuningConfig": {
"type" : "index",
"targetPartitionSize": 0,
"rowFlushBoundary": 0
}
}
]
@vananhdespres
Copy link

had to change type to realtime in tuningConfig as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment