Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-16829

DemoClient should detect secure mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0, 2.0.0
    • None
    • None
    • Reviewed

    Description

      Sometimes user runs DemoClient against secure cluster using the following command:

      java -cp `hbase classpath` org.apache.hadoop.hbase.thrift2.DemoClient host 9090
      

      This wouldn't work.
      DemoClient should detect the presence of secure cluster - e.g. through the following config:

          <property>
            <name>hbase.thrift.authentication.type</name>
            <value>kerberos</value>
          </property>
      

      User can still specify 'false' as the last parameter if the target cluster is insecure.

      Attachments

        1. 16829.v2.txt
          2 kB
          Ted Yu
        2. 16829.v1.txt
          2 kB
          Ted Yu

        Activity

          People

            yuzhihong@gmail.com Ted Yu
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: