Ted Yu created HBASE-16829:
------------------------------

             Summary: DemoClient should detect secure mode
                 Key: HBASE-16829
                 URL: https://issues.apache.org/jira/browse/HBASE-16829
             Project: HBase
          Issue Type: Bug
            Reporter: Ted Yu


Sometimes user runs DemoClient against secure cluster using the following 
command:
{code}
java -cp `hbase classpath` org.apache.hadoop.hbase.thrift2.DemoClient host 9090
{code}
This wouldn't work.
DemoClient should detect the presence of secure cluster - e.g. through the 
following config:
{code}
    <property>
      <name>hbase.thrift.authentication.type</name>
      <value>kerberos</value>
    </property>
{code}
User can still specify 'false' as the last parameter if the target cluster is 
insecure.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to