```bin/pinot-admin.sh AddTenant -name Liquidation ...
# troubleshooting
s
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
What do you see in the controller log?
s
no error logs showed in the controller logs
m
Does it show that it received this request though?
s
yes, i think so
m
Can you share that log
s
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
Can you tail controller log and issue the command again and see if it gets anything.
s
above is the last tailed logs
m
Hmm, 200 cannot become 500 right?
s
after running the tenant command
m
how did you verify it is after running the AddTenant command?
s
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
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
what is the process to untag the instances