Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-3890

Use of CredentialProvider results in a lot of NN ops

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.1, 1.6.2, 1.7.0
    • 1.6.3, 1.7.1, 1.8.0
    • None
    • None

    Description

      Every time we access a sensitive property or iterate over a configuration when there is a CredentialProvider configured, it results in NN operations (as evidenced by FSNamesystem.audit logs). I think that we could assume the CredentialProvider is static, read its properties once and cache them in memory to avoid these unnecessary reads.

      Attachments

        1. ACCUMULO-3890.1.patch
          5 kB
          Billie Rinaldi
        2. ACCUMULO-3890.2.patch
          12 kB
          Billie Rinaldi
        3. ACCUMULO-3890.3.patch
          2 kB
          Billie Rinaldi
        4. ACCUMULO-3890.4.patch
          2 kB
          Billie Rinaldi
        5. ACCUMULO-3890.5.part2.patch
          2 kB
          Billie Rinaldi
        6. ACCUMULO-3890.5.patch
          3 kB
          Billie Rinaldi
        7. ACCUMULO-3890.6.patch
          3 kB
          Billie Rinaldi
        8. ACCUMULO-3890.7.patch
          2 kB
          Billie Rinaldi

        Issue Links

          Activity

            People

              billie Billie Rinaldi
              billie Billie Rinaldi
              Votes:
              0 Vote for this issue
              Watchers:
              6 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
                  1h