Sowmiya
01/25/2022, 10:28 AMMayank
Mark Needham
executionFrameworkSpec:
name: 'standalone'
segmentGenerationJobRunnerClassName: 'org.apache.pinot.plugin.ingestion.batch.standalone.SegmentGenerationJobRunner'
segmentTarPushJobRunnerClassName: 'org.apache.pinot.plugin.ingestion.batch.standalone.SegmentTarPushJobRunner'
segmentUriPushJobRunnerClassName: 'org.apache.pinot.plugin.ingestion.batch.standalone.SegmentUriPushJobRunner'
segmentMetadataPushJobRunnerClassName: 'org.apache.pinot.plugin.ingestion.batch.standalone.SegmentMetadataPushJobRunner'
# Recommended to set jobType to SegmentCreationAndMetadataPush for production environment where Pinot Deep Store is configured
jobType: SegmentCreationAndTarPush
inputDirURI: 'tmp/pinot_input/'
includeFileNamePattern: 'glob:**/transcrpit.csv'
outputDirURI: '/tmp/pinot_output/'
overwriteOutput: true
pinotFSSpecs:
- scheme: file
className: org.apache.pinot.spi.filesystem.LocalPinotFS
recordReaderSpec:
dataFormat: 'csv'
className: 'org.apache.pinot.plugin.inputformat.csv.CSVRecordReader'
configClassName: 'org.apache.pinot.plugin.inputformat.csv.CSVRecordReaderConfig'
configs:
fileFormat: 'default' #should be one of default, rfc4180, excel, tdf, mysql
header: 'columnName seperated by delimiter'
delimiter: '|'
multiValueDelimiter: '-'
tableSpec:
tableName: 'transcript'
pinotClusterSpecs:
- controllerURI: '<http://local:9000>'
pushJobSpec:
pushAttempts: 2
pushRetryIntervalMillis: 1000
Your configs section needs to be indented to go under recordReaderSpecMark Needham
controllerURI might be incorrect as well? I think that should probably be <http://localhost:9000>Sowmiya
01/25/2022, 3:18 PMMark Needham
Sowmiya
01/25/2022, 3:26 PM{
"tableName": "transcript",
"tableType": "OFFLINE",
"segmentsConfig": {
"replication": 1,
"timeColumnName": "timestampInEpoch",
"timeType": "MILLISECONDS",
"retentionTimeUnit": "DAYS",
"retentionTimeValue": 365
},
"tenants": {
"broker": "DefaultTenant",
"server": "DefaultTenant"
},
"tableIndexConfig": {
"loadMode": "MMAP"
},
"ingestionConfig": {
"batchIngestionConfig": {
"segmentIngestionType": "APPEND",
"segmentIngestionFrequency": "DAILY"
}
},
"metadata": {}
}@Mark NeedhamSowmiya
01/27/2022, 6:40 AMMark Needham
Mark Needham
Mark Needham
Mark Needham
dataDir for the Pinot Server. Pinot isn't able to create that directory from what I can tellMayank
Mayank
Sowmiya
01/28/2022, 7:15 AMSowmiya
01/28/2022, 7:16 AMMayank