[
https://issues.apache.org/jira/browse/HBASE-6973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13743150#comment-13743150
]
Harsh J commented on HBASE-6973:
--------------------------------
Sorry for the delay in my response here.
I think HBase needs some work. While HADOOP-9855 (and co.) add auto trimming to
calls that use numeric/boolean data types, it does not change the default
non-trimming behavior of "Configuration.get(…)", which HBase is calling for
retrieving principals, keytab files and such. We will need to make all the
appropriate calls use Configuration.getTrimmed(…) for HBase to trim for strings
too, as complained in the original report.
However, adding such a call and also maintaining branch-1 compatibility would
require a minimum dependency on Apache Hadoop 1.3.0 (unreleased as of this
comment).
> Trim trailing whitespace from configuration values
> --------------------------------------------------
>
> Key: HBASE-6973
> URL: https://issues.apache.org/jira/browse/HBASE-6973
> Project: HBase
> Issue Type: Bug
> Affects Versions: 0.92.1
> Reporter: James Kinley
> Priority: Minor
>
> If the following properties have a whitespace at the end of the value it
> causes problems with Kerberos authentication...
> {code}
> <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>
> {code}
> I'm guessing this can affect other properties as well, so can the values be
> trimmed when read?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira