hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars George (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-18387) [Thrift] Make principal configurable in DemoClient.java
Date Sun, 16 Jul 2017 18:14:00 GMT
Lars George created HBASE-18387:

             Summary: [Thrift] Make principal configurable in DemoClient.java
                 Key: HBASE-18387
                 URL: https://issues.apache.org/jira/browse/HBASE-18387
             Project: HBase
          Issue Type: Improvement
            Reporter: Lars George
            Priority: Minor

In the Thrift1 demo client we have this code:

transport = new TSaslClientTransport("GSSAPI", null,
  "hbase", // Thrift server user name, should be an authorized proxy user.
  host, // Thrift server domain
  saslProperties, null, transport);

This will only work when the Thrift server is started with the {{hbase}} principal. Often
this may deviate, for example I am using {{hbase-thrift}} to separate the names from those
of backend servers. 

What we need is either an additional command line option to specify the name, or a property
that can be set with -D and can be passed at runtime. I prefer the former, as the latter is
making this a little convoluted.

This message was sent by Atlassian JIRA

View raw message