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

Santosh

05/25/2021, 4:42 PM
Copy code
bin/pinot-admin.sh AddTenant -name Liquidation -role SERVER -instanceCount 2 -offlineInstanceCount 1 -realTimeInstanceCount 1 -exec
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]
Anusha to Everyone (12:39 PM)
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.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
Executing command: AddTenant -controllerProtocol http -controllerHost 10.222.86.148 -controllerPort 9000 -name Liquidation -role SERVER -instanceCount 2 -offlineInstanceCount 1 -realTimeInstanceCount 1 -exec
{"code":500,"error":"Failed to create tenant"}
{"code":500,"error":"Failed to create tenant"}
m

Mayank

05/25/2021, 4:45 PM
What do you see in the controller log?
s

Santosh

05/25/2021, 4:45 PM
no error logs showed in the controller logs
m

Mayank

05/25/2021, 4:46 PM
Does it show that it received this request though?
s

Santosh

05/25/2021, 4:47 PM
yes, i think so
m

Mayank

05/25/2021, 4:50 PM
Can you share that log
s

Santosh

05/25/2021, 4:51 PM
021/05/20 231857.913 INFO [ControllerResponseFilter] [grizzly-http-server-3] Handled request from xxxxxxx GET http://xxxxxxx:80/, content-type null status code 200 OK 2021/05/20 231902.654 INFO [ControllerResponseFilter] [grizzly-http-server-2] Handled request from xxxxxxx GET http://xxxxxxx:80/, content-type null status code 200 OK 2021/05/20 231902.927 INFO [ControllerResponseFilter] [grizzly-http-server-1] Handled request from xxxxxxx GET http://xxxxxxx:80/, content-type null status code 200 OK 2021/05/20 231907.672 INFO [ControllerResponseFilter] [grizzly-http-server-0] Handled request from xxxxxxx GET http://xxxxxxx:80/, content-type null status code 200 OK
this is the response i am seeing in controller logs
nothing out 500
m

Mayank

05/25/2021, 4:52 PM
Can you tail controller log and issue the command again and see if it gets anything.
s

Santosh

05/25/2021, 4:53 PM
above is the last tailed logs
m

Mayank

05/25/2021, 4:53 PM
Hmm, 200 cannot become 500 right?
s

Santosh

05/25/2021, 4:53 PM
after running the tenant command
m

Mayank

05/25/2021, 4:54 PM
how did you verify it is after running the AddTenant command?
s

Santosh

05/25/2021, 4:54 PM
i tried to grep the 500 errors logs, i dont see in the output
i got the command from official docs, you can see the output of that command in first message
m

Mayank

05/25/2021, 5:37 PM
Can you check if the existing instances are untagged?
@Santosh ^^
From the code, it seems that it will fail if it cannot find available untagged instances to complete the request.
s

Santosh

05/25/2021, 6:45 PM
what is the process to untag the instances