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

maxHeapUsage value not read properly from config during EntryBuffers initialization

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.3.1, 2.1.0
    • 3.0.0-alpha-1, 2.2.0, 2.1.3, 2.0.5
    • None
    • None
    • Reviewed

    Description

       

      WALSplitter.java
      entryBuffers = new EntryBuffers(controller,
       this.conf.getInt("hbase.regionserver.hlog.splitlog.buffersize", 128 * 1024 * 1024),
       splitWriterCreationBounded);
      
      

      In above case, EntryBuffers can't support maxHeapUsage in GB size.

      The parameter type of the new EntryBuffers() is long, but the conf max value is INT.MAX. 

      this is wrong?it should be getLong?

      Attachments

        1. HBASE-21639.001.patch
          2 kB
          Pankaj Kumar

        Activity

          People

            pankaj2461 Pankaj Kumar
            Bo Cui Bo Cui
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: