Bobby Richard
08/30/2022, 5:52 PMNeha Pawar
Bobby Richard
08/30/2022, 5:54 PMStuart Millholland
08/30/2022, 7:23 PMNeha Pawar
Neha Pawar
Kartik Khare
08/31/2022, 5:45 AMNeha Pawar
Kartik Khare
08/31/2022, 6:13 AMKartik Khare
08/31/2022, 6:14 AMAaron Weiss
08/31/2022, 4:26 PMpinot-admin.sh LaunchDataIngestionJob -jobSpecFile /tmp/segment_metadata_push_config.yaml
Here's the output:
SegmentGenerationJobSpec:
!!org.apache.pinot.spi.ingestion.batch.spec.SegmentGenerationJobSpec
authToken: null
cleanUpOutputDir: false
excludeFileNamePattern: null
executionFrameworkSpec: {extraConfigs: null, name: standalone, segmentGenerationJobRunnerClassName: org.apache.pinot.plugin.ingestion.batch.standalone.SegmentGenerationJobRunner,
segmentMetadataPushJobRunnerClassName: org.apache.pinot.plugin.ingestion.batch.standalone.SegmentMetadataPushJobRunner,
segmentTarPushJobRunnerClassName: org.apache.pinot.plugin.ingestion.batch.standalone.SegmentTarPushJobRunner,
segmentUriPushJobRunnerClassName: org.apache.pinot.plugin.ingestion.batch.standalone.SegmentUriPushJobRunner}
failOnEmptySegment: false
includeFileNamePattern: null
inputDirURI: null
jobType: SegmentMetadataPush
outputDirURI: <gs://ica-pinot-sedcasb-feature-pinot/data/immutable_events>
overwriteOutput: false
pinotClusterSpecs:
- {controllerURI: '<http://pinot-controller:9000>'}
pinotFSSpecs:
- {className: org.apache.pinot.plugin.filesystem.GcsPinotFS, configs: null, scheme: gs}
pushJobSpec: {pushAttempts: 2, pushFileNamePattern: null, pushParallelism: 1, pushRetryIntervalMillis: 1000,
segmentUriPrefix: null, segmentUriSuffix: null}
recordReaderSpec: null
segmentCreationJobParallelism: 0
segmentNameGeneratorSpec: null
tableSpec: {schemaURI: '<http://pinot-controller:9000/tables/immutable_events/schema>',
tableConfigURI: null, tableName: immutable_events}
tlsSpec: null
Trying to create instance for class org.apache.pinot.plugin.ingestion.batch.standalone.SegmentMetadataPushJobRunner
Initializing PinotFS for scheme gs, classname org.apache.pinot.plugin.filesystem.GcsPinotFS
Configs using default credential
Listed 1162 files from URI: <gs://ica-pinot-sedcasb-feature-pinot/data/immutable_events>, is recursive: true
Start pushing segment metadata: {} to locations: [org.apache.pinot.spi.ingestion.batch.spec.PinotClusterSpec@3afae281] for table immutable_events
Here's our config:
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: SegmentMetadataPush
outputDirURI: '<gs://ica-pinot-sedcasb-feature-pinot/data/immutable_events>'
pinotFSSpecs:
- scheme: gs
className: 'org.apache.pinot.plugin.filesystem.GcsPinotFS'
pinotClusterSpecs:
- controllerURI: '<http://pinot-controller:9000>'
pushJobSpec:
pushAttempts: 2
pushRetryIntervalMillis: 1000
tableSpec:
tableName: 'immutable_events'
schemaURI: '<http://pinot-controller:9000/tables/immutable_events/schema>'
Aaron Weiss
08/31/2022, 4:27 PMPreconditions.checkArgument(fileName.endsWith(Constants.TAR_GZ_FILE_EXT));
Aaron Weiss
08/31/2022, 4:31 PMStuart Millholland
08/31/2022, 6:33 PMStuart Millholland
08/31/2022, 6:33 PMStuart Millholland
08/31/2022, 6:33 PMStuart Millholland
08/31/2022, 6:33 PMNeha Pawar
SegmentGenerationJobRunner
and SparkSegmentGenerationJobRunner
will create file with .tar.gzBobby Richard
08/31/2022, 6:52 PMStuart Millholland
08/31/2022, 6:52 PMStuart Millholland
08/31/2022, 6:52 PMBobby Richard
08/31/2022, 6:52 PMNeha Pawar
Aaron Weiss
08/31/2022, 6:55 PMNeha Pawar
Aaron Weiss
08/31/2022, 6:56 PMAaron Weiss
08/31/2022, 6:57 PMNeha Pawar
Neha Pawar
Stuart Millholland
08/31/2022, 6:59 PMAaron Weiss
08/31/2022, 7:00 PMStuart Millholland
08/31/2022, 7:00 PMAaron Weiss
08/31/2022, 8:00 PMAaron Weiss
09/01/2022, 2:17 PMCaught temporary exception while pushing table: mutable_events segment: mutable_events__0__3__20220820T0921Z to <http://localhost:9000>, will retry
org.apache.pinot.common.exception.HttpErrorStatusException: Got error status code: 500 (Internal Server Error) with reason: "Exception while uploading segment: Table config is not available for table 'mutable_events_OFFLINE'" while sending request
I found another recent thread that suggests that the REALTIME capability was added in 0.11? We're on 0.10 right now.
https://apache-pinot.slack.com/archives/C011C9JHN7R/p1661952406323549?thread_ts=1661948120.349419&cid=C011C9JHN7RAaron Weiss
09/01/2022, 2:25 PMAaron Weiss
09/01/2022, 3:38 PMcurl -X POST -F segment=@"mutable_events__0__3__20220820T0921Z.tar.gz" <http://localhost:9000/v2/segments>\?tableName\=mutable_events\&tableType\=REALTIME
{"status":"Successfully uploaded segment: mutable_events__0__3__20220820T0921Z of table: mutable_events_REALTIME"}
Haitao Zhang
09/10/2022, 6:54 AM