quick question: Where is the `pinot-admin.sh` scr...
# general
b
quick question: Where is the
pinot-admin.sh
script that runs as the ENTRYPOINT in the docker image? https://github.com/apache/incubator-pinot/blob/master/docker/images/pinot/Dockerfile#L84
x
itโ€™s at
/opt/pinot/bin/pinot-admin.sh
b
I meant, where is it in the source code? Can I read that code?
m
The script is generated via app assembler from class PinotAdministrator.java
Copy code
<program>
              <mainClass>org.apache.pinot.tools.admin.PinotAdministrator</mainClass>
              <name>pinot-admin</name>
              <jvmSettings>
                <initialMemorySize>4G</initialMemorySize>
                <extraArguments>
                  <extraArgument>-Dlog4j2.configurationFile=conf/pinot-admin-log4j2.xml</extraArgument>
                </extraArguments>
              </jvmSettings>
            </program>
x
Or you want the Dockerfile?
b
ahh okay. Got it now. Was wondering where the file is ๐Ÿ™‚
I'm basically trying to run all Pinot components (broker, server and controller) in single JVM. As per @Xiang Fuโ€™s suggestion, I tried to look at quickstart but seems like we run multiple JVMs in that docker container right? I saw lots of processes running there.
Just for some dev testing, I need Pinot in a single JVM. that's all
x
We recently brought in one concept of Pinot service manager
That can start controlller broker server in the same jvm
o
Is pinot have any integration testing example with docker like
ChaosMonkeyIntegrationTest
class? @Xiang Fu
b
Cool. Where can I know more about PinotServiceManager @Xiang Fu?
There is no integration test in docker @Oguzhan Mangir
๐Ÿ‘ 1
b
Thanks, Xiang