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

Improve Hadoop test sanity checks

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 8.5
    • Hadoop Integration, hdfs, Tests
    • None

    Description

      Add more checks around the Hadoop modified classes we use.

      Some ideas from hossman 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

              krisden Kevin Risden
              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