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

Unguarded reads in delegation token classes

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.7.0
    • Fix Version/s: 1.7.1, 1.8.0
    • Component/s: tserver
    • Labels:

      Description

      missing_lock: Accessing currentKey without holding lock AuthenticationTokenSecretManager.this. Elsewhere, "org.apache.accumulo.server.security.delegation.AuthenticationTokenSecretManager.currentKey" is accessed with AuthenticationTokenSecretManager.this

      missing_lock: Accessing initialized without holding lock ZooAuthenticationKeyDistributor.this. Elsewhere, "org.apache.accumulo.server.security.delegation.ZooAuthenticationKeyDistributor.initialized" is accessed with ZooAuthenticationKeyDistributor.this

      Not likely to cause any issues in practice, but would be good to fix.

        Attachments

          Activity

            People

            • Assignee:
              elserj Josh Elser
              Reporter:
              elserj Josh Elser
            • Votes:
              0 Vote for this issue
              Watchers:
              0 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 - 20m
                20m