tibrewalpratik17 commented on issue #11076:
URL: https://github.com/apache/pinot/issues/11076#issuecomment-1632033455

   > Can you share the EXACT command you used to build Pinot?
   
   I used `mvn clean install -DskipTests -Pbin-dist` to build Pinot.
   My maven version:
   ```
   > mvn --version
   Maven home: /opt/homebrew/Cellar/maven/3.9.3/libexec
   Java version: 11.0.19, vendor: Eclipse Adoptium, runtime: 
/Library/Java/JavaVirtualMachines/temurin-11.jdk/Contents/Home
   Default locale: en_IN, platform encoding: UTF-8
   OS name: "mac os x", version: "13.4.1", arch: "aarch64", family: "mac"
   ```
   
   
   > Yes I see this in production as well. This is due to the recent dependency 
version upgrade somewhere introduced a GRPC API version that's for some reason 
packaged together with the distribution and incompatible with our explicit 
dependency. Thus when GRPC channel creation occurs it will throw error.
   
   Based on the stack trace it's happening at this point - 
https://github.com/grpc/grpc-java/blob/4fa2814d65b2536aede30e1f24c461a2f42be1f7/api/src/main/java/io/grpc/NameResolver.java#L415
   
   It says `java.lang.NoSuchMethodError: 'io.grpc.NameResolver$Args$Builder 
io.grpc.NameResolver$Args$Builder.setOverrideAuthority(java.lang.String)'` 
   
   > Also note we need to run mutilestage in quick start test which is run on a 
packaged release instead of mvn test (which doesn't run assembly)
   
   I tried using both quickstart and mvn test, got the same error:
   - `mvn test -pl pinot-integration-tests 
-Dtest=MultiStageEngineCustomTenantIntegrationTest`
   - `JAVA_OPTS=" 
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=1044" 
./bin/pinot-admin.sh QuickStart -type MULTI_STAGE`
   
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to