Luis Fernandez
05/31/2022, 2:13 PM0.10.0
we ran into this issue: https://github.com/apache/pinot/pull/8337 so we had to create a script to do the imports daily, however, for some reason pinot servers are exhausting memory (32gbs) and before running the job they are mostly at half capacity what are some of the reasons that our pinot servers would ran out of memory from these ingestion jobs? also we are using the standalone job and we change the input directory in our script every time it finishes daily. Would appreciate any help!Ken Krugler
05/31/2022, 5:42 PMpushFileNamePattern
support to build a segment name that’s composed of the previous directory name and the file name? So you could create something like 2009-movies
as the final name.Luis Fernandez
05/31/2022, 5:52 PMLuis Fernandez
05/31/2022, 5:52 PMLuis Fernandez
05/31/2022, 5:52 PMKen Krugler
05/31/2022, 6:09 PM>>logfile.txt 2>&1
, see https://stackoverflow.com/questions/876239/how-to-redirect-and-append-both-standard-output-and-standard-error-to-a-file-witLuis Fernandez
05/31/2022, 6:09 PMSLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/opt/pinot/lib/pinot-all-0.10.0-jar-with-dependencies.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/pinot/plugins/pinot-environment/pinot-azure/pinot-azure-0.10.0-shaded.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/pinot/plugins/pinot-file-system/pinot-s3/pinot-s3-0.10.0-shaded.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/pinot/plugins/pinot-input-format/pinot-parquet/pinot-parquet-0.10.0-shaded.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/pinot/plugins/pinot-metrics/pinot-yammer/pinot-yammer-0.10.0-shaded.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/pinot/plugins/pinot-metrics/pinot-dropwizard/pinot-dropwizard-0.10.0-shaded.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See <http://www.slf4j.org/codes.html#multiple_bindings> for an explanation.
SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/opt/pinot/lib/pinot-all-0.10.0-jar-with-dependencies.jar) to method java.lang.Object.finalize()
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Luis Fernandez
05/31/2022, 6:09 PMLuis Fernandez
05/31/2022, 6:09 PMJAVA_OPTS='-Xms1G -Xmx1G -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -Xlog:gc*:file=/opt/pinot/gc-pinot-controller.log -javaagent:/opt/pinot/etc/jmx_prometheus_javaagent/jmx_prometheus_javaagent-0.12.0.jar=7007:/opt/pinot/etc/jmx_prometheus_javaagent/configs/pinot.yml' /opt/pinot/bin/pinot-admin.sh LaunchDataIngestionJob -jobSpecFile /opt/pinot/migration/job.yaml
Luis Fernandez
05/31/2022, 6:09 PMKen Krugler
05/31/2022, 6:11 PMlogs/
subdir inside of your /opt/pinot/
directory?Ken Krugler
05/31/2022, 6:11 PMpinot-all.log
?Luis Fernandez
05/31/2022, 6:12 PMKen Krugler
05/31/2022, 6:15 PMKen Krugler
05/31/2022, 6:15 PMLuis Fernandez
05/31/2022, 7:44 PMKen Krugler
05/31/2022, 8:55 PMLuis Fernandez
05/31/2022, 8:58 PMLuis Fernandez
05/31/2022, 8:59 PMLuis Fernandez
05/31/2022, 9:10 PMLuis Fernandez
05/31/2022, 9:11 PMKen Krugler
05/31/2022, 9:28 PMLuis Fernandez
05/31/2022, 9:30 PMSegmentCreationAndMetadataPush
this one right?Luis Fernandez
05/31/2022, 9:30 PMLuis Fernandez
05/31/2022, 9:31 PMKen Krugler
05/31/2022, 9:31 PMSegmentMetadataPush
for us, since we create the segments using a scalable Hadoop map-reduce job.Luis Fernandez
05/31/2022, 9:37 PMLuis Fernandez
05/31/2022, 9:37 PMKen Krugler
05/31/2022, 9:38 PMLuis Fernandez
05/31/2022, 9:38 PMKen Krugler
05/31/2022, 9:38 PMKen Krugler
05/31/2022, 9:40 PMLuis Fernandez
05/31/2022, 9:41 PMKen Krugler
05/31/2022, 10:01 PMpinot servers are exhausting memory (32gbs) and before running the job they are mostly at half capacity what are some of the reasons that our pinot servers would ran out of memory from these ingestion jobs
?Luis Fernandez
05/31/2022, 10:02 PMLuis Fernandez
05/31/2022, 10:02 PMKen Krugler
05/31/2022, 10:04 PMtableIndexConfig
make sure you set "createInvertedIndexDuringSegmentGeneration": true,
Ken Krugler
05/31/2022, 10:04 PMLuis Fernandez
05/31/2022, 10:05 PMLuis Fernandez
05/31/2022, 10:06 PMfalse
?Ken Krugler
05/31/2022, 10:07 PMLuis Fernandez
05/31/2022, 10:07 PMKen Krugler
05/31/2022, 10:08 PMKen Krugler
05/31/2022, 10:09 PM