You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "epugh (via GitHub)" <gi...@apache.org> on 2024/12/21 15:37:09 UTC
[PR] SOLR-17609: Remove HDFS module [solr]
epugh opened a new pull request, #2923:
URL: https://github.com/apache/solr/pull/2923
https://issues.apache.org/jira/browse/SOLR-17609
# Description
Explore what removing HDFS module from Solr impacts.
# Solution
Searching for references for `hdfs`, `hadoop`, and other keywords. Running tests.
# Tests
Only existing tests.
# Checklist
Please review the following and check all that apply:
- [ ] I have reviewed the guidelines for [How to Contribute](https://github.com/apache/solr/blob/main/CONTRIBUTING.md) and my code conforms to the standards described there to the best of my ability.
- [ ] I have created a Jira issue and added the issue ID to my pull request title.
- [ ] I have given Solr maintainers [access](https://help.github.com/en/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork) to contribute to my PR branch. (optional but recommended, not available for branches on forks living under an organisation)
- [ ] I have developed this patch against the `main` branch.
- [ ] I have run `./gradlew check`.
- [ ] I have added tests for my changes.
- [ ] I have added documentation for the [Reference Guide](https://github.com/apache/solr/tree/main/solr/solr-ref-guide)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org
Re: [PR] SOLR-17609: Remove HDFS module [solr]
Posted by "epugh (via GitHub)" <gi...@apache.org>.
epugh commented on code in PR #2923:
URL: https://github.com/apache/solr/pull/2923#discussion_r1957226637
##########
solr/modules/hdfs/src/java/org/apache/solr/hdfs/store/blockcache/package-info.java:
##########
Review Comment:
@dsmiley I am ambivalent about this, especially when we say "hopefully".. However it doesn't appear to drag a bunch of dependencies along and in the interest of getting this PR to done and commited happy to go along with your request.
So, I'm going to move `o.a.s.hdfs.store.blockcache` to solr-core as `o.a.s.blockcache`, plus the tests.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org
Re: [PR] SOLR-17609: Remove HDFS module [solr]
Posted by "epugh (via GitHub)" <gi...@apache.org>.
epugh commented on PR #2923:
URL: https://github.com/apache/solr/pull/2923#issuecomment-2628949967
It's february 1st, so I'm going to look to merge this on Monday barring any other concerns being brought up.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org
Re: [PR] SOLR-17609: Remove HDFS module [solr]
Posted by "dsmiley (via GitHub)" <gi...@apache.org>.
dsmiley commented on code in PR #2923:
URL: https://github.com/apache/solr/pull/2923#discussion_r1957236372
##########
solr/modules/hdfs/src/java/org/apache/solr/hdfs/store/blockcache/package-info.java:
##########
Review Comment:
Thanks. Interestingly the package it used to live in was org.apache.solr.store.blockcache but that "store" package doesn't have anything else nowadays so I guess blockcache at a kind of top level of Solr packages is fine.
The ideal home for this is actually Lucene but I wouldn't want to donate something until it's used. Well it has been used and still is via Solr 9. Hmm. @markrmiller would you be interested in donating it given your hard work on it?
I propose updating the javadocs for the package to be what I said above "A generic ....". You wrote "A blockcache implementation" and that's self-referential so not helpful.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org
Re: [PR] SOLR-17609: Remove HDFS module [solr]
Posted by "dsmiley (via GitHub)" <gi...@apache.org>.
dsmiley commented on code in PR #2923:
URL: https://github.com/apache/solr/pull/2923#discussion_r1938182884
##########
solr/modules/hdfs/src/java/org/apache/solr/hdfs/store/blockcache/package-info.java:
##########
Review Comment:
I propose that the "blockcache" java package, and corresponding tests, be moved into the solr-core module.
The javadocs for the BlockCache package is misleading. It says "An HDFS blockcache implementation" but the BlockCache actually has no outwards dependencies aside from Lucene and basic stuff. A more accurate characterization of the package is: "A generic Directory layer/wrapper that caches data, on or off heap as desired". This is a hidden gem with remarkable intellectual property that our project will hopefully use on top of another Directory. For example if DirectoryFactory uses NIO better, we might very well use this with GCP FileSystemProvider, which just so happens to already be in our dependencies.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org
Re: [PR] SOLR-17609: Remove HDFS module [solr]
Posted by "epugh (via GitHub)" <gi...@apache.org>.
epugh commented on PR #2923:
URL: https://github.com/apache/solr/pull/2923#issuecomment-2558180476
Opportunity to remove the `isSharedStorage` property of DirectoryFactory?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org
Re: [PR] SOLR-17609: Remove HDFS module [solr]
Posted by "epugh (via GitHub)" <gi...@apache.org>.
epugh commented on PR #2923:
URL: https://github.com/apache/solr/pull/2923#issuecomment-2664130955
> I think you left around a lock file for the module, which was probably forgotten when merging in the recent changes.
Can you elaborate a bit more? I don't think I know which file you mean!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org
Re: [PR] SOLR-17609: Remove HDFS module [solr]
Posted by "epugh (via GitHub)" <gi...@apache.org>.
epugh commented on PR #2923:
URL: https://github.com/apache/solr/pull/2923#issuecomment-2558164589
Question! Should `AbstractRecoveryZkTestBase` be merged back into `RecoveryZkTest` since we no longer have the HDFS contrib tests? That goes for `AbstractChaosMonkeySafeLeaderTestBase`, `AbstractMoveReplicaTestBase`,`AbstractRecoveryZkTestBase`, `AbstractRestartWhileUpdatingTestBase`, `AbstractSyncSliceTestBase`, `AbstractTlogReplayBufferedWhileIndexingTestBase`, `AbstractUnloadDistributedZkTestBase` files as well?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org
Re: [PR] SOLR-17609: Remove HDFS module [solr]
Posted by "epugh (via GitHub)" <gi...@apache.org>.
epugh merged PR #2923:
URL: https://github.com/apache/solr/pull/2923
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org
Re: [PR] SOLR-17609: Remove HDFS module [solr]
Posted by "HoustonPutman (via GitHub)" <gi...@apache.org>.
HoustonPutman commented on PR #2923:
URL: https://github.com/apache/solr/pull/2923#issuecomment-2664036764
I think you left around a lock file for the module, which was probably forgotten when merging in the recent changes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org
Re: [PR] SOLR-17609: Remove HDFS module [solr]
Posted by "epugh (via GitHub)" <gi...@apache.org>.
epugh commented on PR #2923:
URL: https://github.com/apache/solr/pull/2923#issuecomment-2599723845
I think this is ready for review! I don't plan on merging it till we get some more consensus.
One thing I need eyes on: the `security.policy`. I was able to confirm my changes to `solr-tests.policy` by removing properties one by one and running the test suite, but can't do that for `security.policy`.. I will do some manual testing.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org