[
https://issues.apache.org/jira/browse/SOLR-7438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Pugh resolved SOLR-7438.
-----------------------------
Resolution: Won't Fix
HDFS has been removed in Solr 10.
> Look into using new HDFS truncate feature in HdfsTransactionLog.
> ----------------------------------------------------------------
>
> Key: SOLR-7438
> URL: https://issues.apache.org/jira/browse/SOLR-7438
> Project: Solr
> Issue Type: Improvement
> Components: Hadoop Integration, hdfs
> Reporter: Mark Miller
> Assignee: Mark Miller
> Priority: Major
>
> Looks like truncate is added in 2.7.
> See HdfsTransactionLog:
> {code}
> // HACK
> // while waiting for HDFS-3107, instead of quickly
> // dropping, we slowly apply
> // This is somewhat brittle, but current usage
> // allows for it
> @Override
> public boolean dropBufferedUpdates() {
> Future<RecoveryInfo> future = applyBufferedUpdates();
> if (future != null) {
> try {
> future.get();
> } catch (InterruptedException | ExecutionException e) {
> throw new RuntimeException(e);
> }
> }
> return true;
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]