https://pinot.apache.org/ logo
s

sp

06/23/2021, 4:26 PM
Greetings! Is there a stable version of the helm chart to run? I install the latest (0.7.1) but all the components crash with messages like the following
Copy code
Unrecognized VM option 'PrintGCDateStamps'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
m

Mayank

06/23/2021, 4:26 PM
@Xiang Fu ^^
x

Xiang Fu

06/23/2021, 5:29 PM
oh, are you using k8s ?
👍 1
can you try to remove
PrintGCDateStamps
tag from the javaOpts in
values.yaml
file?
I meant because we upgrade to java11 for those configs
You can also try to use image tag:
0.7.1-jdk11
s

sp

06/23/2021, 5:43 PM
I had to remove all the PrintGC statements to get it to run, and though are other errors
Copy code
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/opt/pinot/lib/pinot-all-0.7.1-jar-with-dependencies.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/pinot/plugins/pinot-file-system/pinot-s3/pinot-s3-0.7.1-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.
ERROR StatusLogger File not found in file system or classpath: /opt/pinot/conf/log4j2.xml
ERROR StatusLogger Reconfiguration failed: No configuration found for 'Default' at 'null' in 'null'
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.pinot.spi.plugin.PluginClassLoader (file:/opt/pinot/lib/pinot-all-0.7.1-jar-with-dependencies.jar) to method java.net.URLClassLoader.addURL(java.net.URL)
WARNING: Please consider reporting this to the maintainers of org.apache.pinot.spi.plugin.PluginClassLoader
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
17:41:43.847 [main] ERROR org.apache.pinot.spi.plugin.PluginManager - Failed to load plugin [pinot-gcs] from dir [/opt/pinot/plugins/pinot-file-system/pinot-gcs]
java.lang.IllegalArgumentException: object is not an instance of declaring class
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
        at org.apache.pinot.spi.plugin.PluginClassLoader.<init>(PluginClassLoader.java:50) ~[pinot-all-0.7.1-jar-with-dependencies.jar:0.7.1-8ce1309844a639e5d441f4173e289459c4a5d918]
        at org.apache.pinot.spi.plugin.PluginManager.createClassLoader(PluginManager.java:196) ~[pinot-all-0.7.1-jar-with-dependencies.jar:0.7.1-8ce1309844a639e5d441f4173e289459c4a5d918]
        at org.apache.pinot.spi.plugin.PluginManager.load(PluginManager.java:187) ~[pinot-all-0.7.1-jar-with-dependencies.jar:0.7.1-8ce1309844a639e5d441f4173e289459c4a5d918]
        at org.apache.pinot.spi.plugin.PluginManager.init(PluginManager.java:157) [pinot-all-0.7.1-jar-with-dependencies.jar:0.7.1-8ce1309844a639e5d441f4173e289459c4a5d918]
        at org.apache.pinot.spi.plugin.PluginManager.init(PluginManager.java:123) [pinot-all-0.7.1-jar-with-dependencies.jar:0.7.1-8ce1309844a639e5d441f4173e289459c4a5d918]
        at org.apache.pinot.spi.plugin.PluginManager.<init>(PluginManager.java:104) [pinot-all-0.7.1-jar-with-dependencies.jar:0.7.1-8ce1309844a639e5d441f4173e289459c4a5d918]
        at org.apache.pinot.spi.plugin.PluginManager.<clinit>(PluginManager.java:46) [pinot-all-0.7.1-jar-with-dependencies.jar:0.7.1-8ce1309844a639e5d441f4173e289459c4a5d918]
        at org.apache.pinot.tools.admin.PinotAdministrator.main(PinotAdministrator.java:182) [pinot-all-0.7.1-jar-with-dependencies.jar:0.7.1-8ce1309844a639e5d441f4173e289459c4a5d918]
17:41:43.868 [main] ERROR org.apache.pinot.spi.plugin.PluginManager - Failed to load plugin [pinot-adls] from dir [/opt/pinot/plugins/pinot-file-system/pinot-adls]
and yes, I am using k8s 👍
x

Xiang Fu

06/23/2021, 5:59 PM
i see, is this on 0.7.1 image or 0.7.1-jdk11 image?
s

sp

06/23/2021, 6:08 PM
0.7.1-jdk11
x

Xiang Fu

06/23/2021, 6:11 PM
ok, i’ll take a look
s

sp

06/23/2021, 6:11 PM
thanks!🙏
with the old jvmOpts
r

Ryan Clark

07/02/2021, 2:09 AM
I cannot find a solution for this problem. I've tried removing PrintGCDateStamps, and I've tried changing the JAVA_VERSION in the dockerfile. Any advice?
x

Xiang Fu

07/02/2021, 3:01 AM
I just fixed the helm chart
can you try it again?
note, if you are using helm upgrade, or deploying on same k8s cluster, you may need to change
ImagePullPolicy
from
NotPresent
to
Always
r

Ryan Clark

07/02/2021, 2:38 PM
Thanks Xiang. I changed the pull policy for both and it didn't work- same error about PrintGCDateStamps
Copy code
# Default values for Pinot.

image:
  repository: apachepinot/pinot
  tag: latest-jdk11 # release-0.7.1
  pullPolicy: Always

cluster:
  name: pinot-quickstart

...

  ## Specify a Zookeeper imagePullPolicy
  ## ref: <http://kubernetes.io/docs/user-guide/images/#pre-pulling-images>
  image:
    PullPolicy: Always
I tried deleting my cluster and starting quickstart from the beginning, and getting the same issue.
x

Xiang Fu

07/02/2021, 7:03 PM
oh?
This option is removed
r

Ryan Clark

07/02/2021, 7:20 PM
Weird. I had a colleague do the quickstart from her machine and it had the same error... We are using AWS EKS deployment
x

Xiang Fu

07/02/2021, 7:34 PM
can you pull code from the latest master branch?
r

Ryan Clark

07/02/2021, 7:41 PM
I blew away everything including the repo and tried again fresh, same error. My colleague was trying fresh as well.
x

Xiang Fu

07/02/2021, 7:45 PM
hmm
what’s the command are you running
Try this in the
kubernetes/helm/pinot/
directory
Copy code
helm install pinot  --values values.yaml -n pinot .
r

Ryan Clark

07/02/2021, 8:07 PM
That worked!
👍 1
Thank you.
cc: @Doreen Chang