Skip to content

Instantly share code, notes, and snippets.

View epugh's full-sized avatar

Eric Pugh epugh

View GitHub Profile

OpenSearch-project Active Maintainers Who Are Not Org Members

Generated: 2026-06-04 · Source snapshot current_date = 2026-06-04T00:00:26.685Z

Summary

  • Snapshot used: 2026-06-04T00:00:26.685Z (most recent current_date in maintainer-inactivity-*)
  • Members in the OpenSearch-project org: 391 (via gh api /orgs/opensearch-project/members --paginate)
  • Maintainers in the snapshot: 357 unique github_logins (event_type = "All" rollup rows)
  • Active maintainers in the snapshot (inactive = false): 256
@epugh
epugh / opensearch-maintainer-inactivity.md
Created June 3, 2026 19:52
OpenSearch-project maintainer inactivity report (snapshot 2026-06-03)

OpenSearch-project maintainer inactivity report

Snapshot: 2026-06-03T00:00:26.996Z (from maintainer-inactivity-* on metrics.opensearch.org)

Summary

  • Total repos in snapshot: 148
  • Archived repos excluded (7): opensearch-net-abstractions, dashboards-docker-images, data-prepper-documentation-website, docker-images, opensearch-dsl-py, telemetry-collector, opensearch-sdk-py
  • Repos remaining in the report: 141
@epugh
epugh / opensearch-orphan-repos.md
Last active May 27, 2026 19:12
OpenSearch potentially-orphaned repositories report (snapshot 2026-05-27)

OpenSearch potentially-orphaned repositories report

Snapshot current_date: 2026-05-27T00:00:26.617Z (2026-05-27)

Summary

  • Total repos in the snapshot: 148
  • Archived repos excluded: 7 (dashboards-docker-images, data-prepper-documentation-website, docker-images, opensearch-dsl-py, opensearch-net-abstractions, opensearch-sdk-py, telemetry-collector)
  • Repos remaining in the report: 141
@epugh
epugh / opensearch-maintainer-inactivity.md
Last active May 27, 2026 17:56
OpenSearch maintainer inactivity report (snapshot 2026-05-27)

OpenSearch maintainer inactivity report

Snapshot current_date: 2026-05-27T00:00:26.617Z (2026-05-27)

  • Total repos in the snapshot: 148
  • Archived repos excluded: 7 (dashboards-docker-images, data-prepper-documentation-website, docker-images, opensearch-dsl-py, opensearch-net-abstractions, opensearch-sdk-py, telemetry-collector)
  • Repos remaining in the report: 141

Notes

@epugh
epugh / fix_for_external_paths.patch
Created March 21, 2026 18:35
fix for external paths...
diff --git a/solr/test-framework/src/java/org/apache/solr/SolrTestCase.java b/solr/test-framework/src/java/org/apache/solr/SolrTestCase.java
index a29e3d0da43..7a321671c35 100644
--- a/solr/test-framework/src/java/org/apache/solr/SolrTestCase.java
+++ b/solr/test-framework/src/java/org/apache/solr/SolrTestCase.java
@@ -130,7 +130,7 @@ public class SolrTestCase extends LuceneTestCase {
return;
}
final Path extPath = ExternalPaths.DEFAULT_CONFIGSET;
- if (Files.isReadable(extPath /* implies exists() */) && Files.isDirectory(extPath)) {
+ if (extPath != null && Files.isReadable(extPath /* implies exists() */) && Files.isDirectory(extPath)) {
@epugh
epugh / post_book.py
Created May 12, 2024 17:43
Sample of uploading a book.json file to Quepid through API with token
import requests
import json
def post_book_data(quepid_uri, headers, data):
url = f'{quepid_uri}/api/import/books.json'
headers['Authorization'] = f'Bearer 019d3bc549ca751940288972375eb8c1778bcc555eda84865d680632381a72af'
response = requests.post(url, headers=headers, data=data)
return response.text
# Example usage
@epugh
epugh / Bertrand NDCG@10
Created February 13, 2020 22:49
Quepid NDCG@10 developed by Bertrand
// Wrap the Quepid objects and API in a namespace.
// Simple pass-through required by our NDCG scorer.
let quepidApi = {};
(function(context) {
context.getDocs = function() {
return docs;
}
pdf:docinfo:producer Adobe PDF Library 11.0
pdf:docinfo:created 2014-07-14T19:27:34Z
page
For release on delivery
10:00 a.m. EDT
July 15, 2014
classifier = ClassifierReborn::LSI.new #:auto_rebuild => false
strings = [
["n/a OSC Retreat.", :missing],
["LOOKING FOR SPEAKER", :missing],
["Need speaker", :missing],
["Elizabeth Solr Search", :present],
["Matt Datastax", :present],
["Scott Roll your own user analytics with Zeppelin", :present],
["Brandon Rose Spark and Elasticsearch", :present],

Hortonworks User Group

These are notes for following along on the talk I am giving at http://www.meetup.com/Washington-DC-Hortonworks-User-Group-Meetup/events/230394067/

This builds on the gist: https://gist.github.com/epugh/5729071c3b8aab81636d422c391aa716, but is meant to be stand alone! 1

  1. This gist is using not the latest version of Zeppelin, but the latest stable version. Replace the ip address 192.168.99.101 with the your docker machine ip. Get it by running docker-machine ip.
  2. Fire up Zeppelin + Spark Master and a Spark Worker via: