You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "James Kinley (JIRA)" <ji...@apache.org> on 2012/10/11 00:37:03 UTC

[jira] [Created] (HBASE-6973) Trim whitespace from configuration values

James Kinley created HBASE-6973:
-----------------------------------

             Summary: Trim 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...

<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?

--
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

[jira] [Updated] (HBASE-6973) Trim whitespace from configuration values

Posted by "James Kinley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-6973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Kinley updated HBASE-6973:
--------------------------------

    Description: 
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?

  was:
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?

    
> Trim 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

[jira] [Commented] (HBASE-6973) Trim trailing whitespace from configuration values

Posted by "Daisuke Kobayashi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-6973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13506231#comment-13506231 ] 

Daisuke Kobayashi commented on HBASE-6973:
------------------------------------------

I looked at the Hadoop issue and it seems to be fixed issue on 0.22/0.23.  If you're using 0.22 or later, never face this issue.  Do we need to fix this problem on HBase?  Isn't the Hadoop fix good enough?
                
> 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

[jira] [Commented] (HBASE-6973) Trim trailing whitespace from configuration values

Posted by "Aaron T. Myers (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-6973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13474372#comment-13474372 ] 

Aaron T. Myers commented on HBASE-6973:
---------------------------------------

FWIW, Hadoop made a similar change some time back to the reading of many configuration parameters, which I think was a great benefit: HADOOP-6578
                
> 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

[jira] [Commented] (HBASE-6973) Trim trailing whitespace from configuration values

Posted by "Ted Yu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-6973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13506357#comment-13506357 ] 

Ted Yu commented on HBASE-6973:
-------------------------------

If the fix isn't in hadoop 1.0 / 1.1 (default hadoop relase for HBase), we should fix this in HBase.
                
> 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

[jira] [Commented] (HBASE-6973) Trim trailing whitespace from configuration values

Posted by "Harsh J (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-6973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13508027#comment-13508027 ] 

Harsh J commented on HBASE-6973:
--------------------------------

bq. hadoop 1.0 / 1.1 (default hadoop relase for HBase)

Per the manual, isn't this default changing for 0.96 upwards?

In any case, I think Hadoop should have the backport done on branch-1 so that HBase does not have to take care of this.
                
> 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

[jira] [Updated] (HBASE-6973) Trim trailing whitespace from configuration values

Posted by "Ted Yu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-6973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Yu updated HBASE-6973:
--------------------------

    Summary: Trim trailing whitespace from configuration values  (was: Trim whitespace from configuration values)

I think the trailing whitespace should be trimmed.
                
> 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