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

Trim trailing whitespace from configuration values

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 0.92.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      If the following properties have a whitespace at the end of the value it causes problems with Kerberos authentication...

      <property>
          <name>hbase.regionserver.keytab.file</name>
          <value>/etc/hbase/conf/hbase.krb5 </value>
      </property>
      <property>
          <name>hbase.master.keytab.file</name>
          <value>/etc/hbase/conf/hbase.krb5 </value>
      </property>
      

      I'm guessing this can affect other properties as well, so can the values be trimmed when read?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jrkinley James Kinley
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated: