Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-14048

Improve Hadoop test sanity checks

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.5
    • Component/s: Hadoop Integration, hdfs, Tests
    • Labels:
      None

      Description

      Add more checks around the Hadoop modified classes we use.

      Some ideas from Chris M. Hostetter in SOLR-14033

      • some dev docs (package level javadocs?) explaining the whole org.apache.hadoop "shadow" class impls
      • ideally include some hook in HdfsTestUtil that causes it to fail fast if it can detect that the classloader didn't pick up our modified classes? .. maybe by adding a new public static final Object SOLR_HACK_FOR_CLASS_VERIFICATION = new Object to each org.apache.hadoop.** that it could check for via reflection?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                krisden Kevin Risden
                Reporter:
                krisden Kevin Risden
              • Votes:
                0 Vote for this issue
                Watchers:
                3 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