It looks like tenantId is passed on as a jdbc property. So I think localhost:2181:/hbase becomes localhost:2181:/hbase;tenantId=abc. At least that's what's happening in JDBCUtilTest.
On Thu, Mar 12, 2015 at 3:24 PM, Vamsi Krishna <[email protected]> wrote: > Hi, > > Can someone help me understand how to establish a tenant-specific > connection using Sqlline? > > I see the following documented on Phoenix website, but i'm not sure how to > do that for Sqlline connection: > > http://phoenix.apache.org/multi-tenancy.html > > For example, a tenant-specific connection is established like this: > > Properties props = new Properties(); > props.setProperty("TenantId", "Acme"); > Connection conn = DriverManager.getConnection("localhost", props); > > Thanks, > Vamsi Attluri. >
