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

Log an Optional's value/null instead of Optional[value]/Optional.empty.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0-alpha-4
    • 2.0.0-alpha-4, 2.0.0
    • None
    • None
    • Reviewed

    Description

      After HBASE-18878, the audit log contains redundant characters "Optional" which leading to unreadable

      2017-10-19 19:51:08,054 INFO  [RpcServer.default.FPBQ.Fifo.handler=49,queue=4,port=8081] master.HMaster: Client=Optional[username]/Optional[/locahost] disable tablename 
      

      Attachments

        1. HBASE-19087.master.001.patch
          5 kB
          Guangxu Cheng
        2. HBASE-19087.master.001.patch
          5 kB
          Michael Stack
        3. HBASE-19087.master.001.patch
          5 kB
          Guangxu Cheng

        Activity

          People

            gxcheng Guangxu Cheng
            gxcheng Guangxu Cheng
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: