This message was deleted.
# general
s
This message was deleted.
t
You should be able access druid console on router port 8888(bydeafult) . e.g localhost:8888 How you are connecting deby database and what error it shows.
r
@Tejas Parbat HTTP ERROR 500 org.apache.druid.java.util.common.IAE: No userMap is available for authenticator with prefix: [MyBasicMetadataAuthenticator] URI:/unified-console.html STATUS:500 MESSAGEorg.apache.druid.java.util.common.IAE No userMap is available for authenticator with prefix: [MyBasicMetadataAuthenticator] SERVLET:org.eclipse.jetty.servlet.DefaultServlet-591a4d25 CAUSED BYorg.apache.druid.java.util.common.IAE No userMap is available for authenticator with prefix: [MyBasicMetadataAuthenticator]
t
Can you pls share how you are connecting derby database .
also looks like some issues with basic auth setup , Please use below sample configs https://gist.github.com/davidagee/c0c839cd23f047b838e8a3ea73320346
r
druid.metadata.storage.type=derby druid.metadata.storage.connector.connectURI=jdbc:derby://localhost:1527/var/druid/metadata.db;create=true druid.metadata.storage.connector.host=localhost druid.metadata.storage.connector.port=1527
I kept this as it is
v
Just to be clear: your metadata store configuration (connection to derby) and how you connect and authenticate to Druid (connecting to Druid to query it via JDBC or web console) are two totally different things that are not related to each other. If your Druid is generally working (i.e. you do not see a big scary warning when you open the web console) then you are connecting to Derby just fine
port 8888 is the port where the router runs on. The router process starts by default (in the default configs).
Can you access your router? it is where the web console is served from
r
I just trying to setup druid cluster in my local I ran start-single-server-small script then created few tables in the server from a java application connected trough the jdbc avatica and able to fetch data
till here everything is fine i'm able to access 8888 port and load new data and query in ui every thing is fine
No not able to connect to the server
Copy code
Connection connection = DriverManager.getConnection("jdbc:avatica:remote:url=<http://localhost:8082/druid/v2/sql/avatica/>","admin","password2");
getting this error IAE: No userMap is available for authenticator with prefix: [MyBasicMetadataAuthenticator]
Not use how to add this userMap
v
g
Hi @RAMESH ALLURI as part latest druid setup can you try to use start-druid command
Copy code
start-druid -m 5000m