Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.3, 1.8.1
    • Fix Version/s: 1.9.0, 2.0.0
    • Component/s: None

      Description

      The ZooKeeper cache code caches Zookeeper stats.  When a stat is requested from the cache it copies it.  The ZK stat class offers no good way to copy other than serialize and deserialize.  The code currently does this and its slow.  All code in Accumulo only uses one field from stat, so it would be much better to create a simple class that has this one field and can quickly copy.  

       

      The stat is used very frequently in the metadata cache code to check if a tserver still holds its lock.

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kturner Keith Turner
                Reporter:
                kturner Keith Turner
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 40m
                  1h 40m