You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Kevin Risden (Jira)" <ji...@apache.org> on 2019/12/10 21:27:00 UTC
[jira] [Updated] (SOLR-14048) Improve Hadoop test sanity checks
[ https://issues.apache.org/jira/browse/SOLR-14048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kevin Risden updated SOLR-14048:
--------------------------------
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?
was:
Add more checks around the Hadoop modified classes we use.
Some ideas from [~hossman]
* 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?
> Improve Hadoop test sanity checks
> ---------------------------------
>
> Key: SOLR-14048
> URL: https://issues.apache.org/jira/browse/SOLR-14048
> Project: Solr
> Issue Type: Test
> Security Level: Public(Default Security Level. Issues are Public)
> Components: Hadoop Integration, hdfs, Tests
> Reporter: Kevin Risden
> Assignee: Kevin Risden
> Priority: Major
>
> 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?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org