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

Better error logging when coprocessors loading has failed.

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 0.99.0, 0.98.6
    • Coprocessors, Usability
    • None
    • Reviewed

    Description

      The following is the error in the log files, when the wrong coprocessor is specified in config file.

      378:2014-08-14 15:15:41,773 ERROR [master:172.16.2.118:60000] coprocessor.CoprocessorHost: The coprocessor org.apache.hadoop.hbase.security.visibility.VisibilityControlle threw an unexpected exception
      

      Instead it would be better to have more meaningful exception description like

      525:2014-08-14 15:07:33,682 ERROR [master:172.16.2.118:60000] coprocessor.CoprocessorHost: The coprocessor org.apache.hadoop.hbase.security.visibility.VisibilityControlle threw java.lang.ClassNotFoundException: org.apache.hadoop.hbase.security.visibility.VisibilityControlle
      

      Attachments

        1. HBASE-11749.patch
          2 kB
          Srikanth Srungarapu

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            srikanth235 Srikanth Srungarapu
            srikanth235 Srikanth Srungarapu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment