Hello Team How we setting of memory parameter duri...
# general
s
Hello Team How we setting of memory parameter during push segment. this is the command we are using to push segment which given by pinot documents /opt/pinot/bin/pinot-admin.sh LaunchDataIngestionJob -jobSpecFile $file is there any spec parameter is provide for setting min and max heap memory .. we are getting out of memory for 10gb file
b
Hi. For pinot-admin.sh, you should be able to pass jvm parameters via JAVA_OPTS environment variable.
s
can you please assist how to do so /opt/pinot/bin/pinot-admin.sh LaunchDataIngestionJob -jobSpecFile $file
if my pod memory is 10gb then it will not take automatically pass memory in JAVA_OPTS . As I am getting oom error
$PINOT_HOME/bin/pinot-admin.sh LaunchDataIngestionJob \ -jobSpecFile $JOB_SPEC_FILE \ -javaOpts "$JAVA_OPTS" \ -configDir $CONFIG_DIR is it correct
b
No, you set environment variable in shell prior to running the script, e.g. export JAVA_OPTS="value " ; ./pinot-admin.sh ....