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

Configuration objects created with CredentialProvider load defaults unnecessarily

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.6.1
    • 1.6.2, 1.7.0
    • tserver
    • None

    Description

      Jstack'ed a tserver and caught it in the middle of doing a bunch of URLClassloader and Jar stuff when creating a Hadoop Configuration. Obviously, this struck me as odd (given that I know those aren't "fast" methods).

      Looking at it some more, when I created the Configuration objects, I didn't pass in false so the defaults were getting loaded. Regardless of how expensive it actually is, it's unnecessary.

      Attachments

        Activity

          People

            elserj Josh Elser
            elserj Josh Elser
            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
                1h