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

"hbase shell -d" doesn't print out exception stack trace

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.98.0, 0.95.2
    • None
    • None
    • None
    • Reviewed

    Description

      when starting shell with "-d" specified, the following line doesn't print anything because debug isn't set when shell is constructed.

      "Backtrace: #{e.backtrace.join("\n           ")}" if debug
      

      In addition, the existing code prints the outer most exception while we normally need the root cause exception.

      Attachments

        1. hbase-9210-v1.patch
          2 kB
          Jeffrey Zhong
        2. hbase-9210.patch
          2 kB
          Jeffrey Zhong

        Activity

          People

            jeffreyz Jeffrey Zhong
            jeffreyz Jeffrey Zhong
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: