Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NUTCH-2287 Indexer-elastic plugin should use Elasticsearch BulkProcessor and BackoffPolicy #131

Merged
merged 1 commit into from Jul 16, 2016

Conversation

naegelejd
Copy link
Contributor

No description provided.

@lewismc
Copy link
Member

lewismc commented Jul 13, 2016

I am +1 on this and will merge shortly unless objections

@naegelejd
Copy link
Contributor Author

Thanks Lewis. Are any active maintainers using Elasticsearch? It may be good if someone (anyone) gives it a quick try.

@asfgit asfgit merged commit 0fff24a into apache:master Jul 16, 2016
asfgit pushed a commit that referenced this pull request Jul 16, 2016
@knap1930
Copy link

knap1930 commented Dec 1, 2016

I get the following exception in the CleaningJob

Error: java.lang.IllegalStateException: bulk process already closed
        at org.elasticsearch.action.bulk.BulkProcessor.ensureOpen(BulkProcessor.java:278)
        at org.elasticsearch.action.bulk.BulkProcessor.flush(BulkProcessor.java:329)
        at org.apache.nutch.indexwriter.elastic.ElasticIndexWriter.commit(ElasticIndexWriter.java:198)
        at org.apache.nutch.indexer.IndexWriters.commit(IndexWriters.java:125)
        at org.apache.nutch.indexer.CleaningJob$DeleterReducer.close(CleaningJob.java:123)
        at org.apache.hadoop.io.IOUtils.cleanup(IOUtils.java:244)
        at org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:467)
        at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:393)
        at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:164)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:422)
        at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657)
        at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:158)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants