I am using squirrel to connect to phoenix. I have enabled the property phoenix.schema.isNamespaceMappingEnabled on the server side. But how do i enable it at the client side when connecting from squirrel. Any thoughts?
I tried adding the hbase-site.xml in the extra classpath and restarted squirrel too. it still doesnt work
@ARUN that's definitely strange. I've added hbase conf dir in 'Extra Class Path' tab, reconnected squirrel (I'm using 3.7) and everything works just fine after that. Please check that hbase-site.xml that located in D:\HBASE_CONF_DIR has
<property> <name>phoenix.schema.isNamespaceMappingEnabled</name> <value>true</value> </property>
Also you may check that the directory is really in the classpath. Since squirrel is looking for driver class in the classpath, it reports about directories:
For driver '<your driver name>', the JVM says the file is a directory: <path to hbase conf dir>
don't add the hbase-site.xml, just add the folder where hbase-site.xml is , if hbase is at /home/phoenix/hbase-site.xml, then just add /home/phoenix/ to the class path. see if that works.
This works if you specify the properties inside of the classpath.
You can then select the schema within the aliases.