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

Allow spaces in coprocessor conf (aka trim() className)

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      This is annoying especially for coprocessors where you've long class name.
      but maybe is a bug of Configuration.getStrings() that doesn't trim each string.

      When you've comma separated values like in the coprocessors case, you've to pack together your values without spaces ("v1,v2,v3,...") otherwise the coprocessor is not loaded because the class name with spaces is not found.

      <property>
         <name>hbase.coprocessor.master.classes</name>
         <value>
          org.apache.hadoop.hbase.security.token.TokenProvider,
          org.apache.hadoop.hbase.security.access.AccessController
         </value>
      </property>
      

      Attachments

        1. HBASE-5893-v0.patch
          1 kB
          Matteo Bertozzi

        Activity

          People

            mbertozzi Matteo Bertozzi
            mbertozzi Matteo Bertozzi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: