{"id":47158109,"url":"https://github.com/teragrep/pth_16","last_synced_at":"2026-03-13T02:36:33.626Z","repository":{"id":338988518,"uuid":"1143146833","full_name":"teragrep/pth_16","owner":"teragrep","description":"DPL Shell Executor for Teragrep","archived":false,"fork":false,"pushed_at":"2026-02-17T15:08:10.000Z","size":37,"stargazers_count":0,"open_issues_count":4,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-17T17:54:28.532Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/teragrep.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-27T08:16:14.000Z","updated_at":"2026-02-17T12:45:01.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/teragrep/pth_16","commit_stats":null,"previous_names":["teragrep/pth_16"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/teragrep/pth_16","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teragrep%2Fpth_16","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teragrep%2Fpth_16/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teragrep%2Fpth_16/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teragrep%2Fpth_16/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/teragrep","download_url":"https://codeload.github.com/teragrep/pth_16/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teragrep%2Fpth_16/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30456056,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-13T02:22:12.178Z","status":"ssl_error","status_checked_at":"2026-03-13T02:06:49.475Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-03-13T02:36:32.406Z","updated_at":"2026-03-13T02:36:33.613Z","avatar_url":"https://github.com/teragrep.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n= Teragrep DPL Command-Line Executor (pth_16)\n\nTeragrep DPL Command-Line Executor is an utility to run DPL queries from command-line.\n\n== Features\n\n-  Allows running Teragrep queries from command-line.\n\n== Documentation\n\nSee the official documentation on https://docs.teragrep.com[docs.teragrep.com].\n\n== Limitations\n\nUses spark-submit.\n\n== How to [compile/use/implement]\n\n=== Usage\n\nExample without arguments\n\n[source,shell]\n----\nHADOOP_CONF_DIR=/opt/teragrep/hdp_03/etc/hadoop JAVA_HOME=/usr/lib/jvm/java-11 /opt/teragrep/spk_02/bin/spark-submit \\\n  --verbose \\\n  --deploy-mode client \\\n  --master yarn \\\n  --executor-memory 5G \\\n  --total-executor-cores 8 \\\n  --jars /opt/teragrep/pth_10/lib/pth_10-shaded.jar,/opt/teragrep/spk_03/lib/*.jar \\\n  --files interpreter.json pth_16-jar-with-dependencies.jar\n----\n\nResults into\n\n[source,json]\n----\n{\"_time\":\"2026-01-27T13:37:00.000+02:00\",\"_raw\":\"Welcome to Teragrep®\"}\n----\n\nCustom query\n\n[source,shell]\n----\nHADOOP_CONF_DIR=/opt/teragrep/hdp_03/etc/hadoop JAVA_HOME=/usr/lib/jvm/java-11 /opt/teragrep/spk_02/bin/spark-submit \\\n  --verbose \\\n  --deploy-mode client \\\n  --master yarn \\\n  --executor-memory 5G \\\n  --total-executor-cores 8 \\\n  --jars /opt/teragrep/pth_10/lib/pth_10-shaded.jar,/opt/teragrep/spk_03/lib/*.jar \\\n  --files interpreter.json \\\n  pth_16-jar-with-dependencies.jar \\\n  '| makeresults count=1 | eval _raw=\"this is a custom query\"'\n\n----\n\nResults into\n\n[source,json]\n----\n{\"_time\":\"2026-01-27T13:37:54.000+02:00\",\"_raw\":\"this is a custom query\"}\n----\n\nResults can be piped into a file\n\n[source,shell]\n----\nJAVA_HOME=/usr/lib/jvm/java-11 /opt/teragrep/spk_02/bin/spark-submit \\\n  --verbose \\\n  --deploy-mode client \\\n  --master yarn \\\n  --executor-memory 5G \\\n  --total-executor-cores 8 \\\n  --jars /opt/teragrep/pth_10/lib/pth_10-shaded.jar,/opt/teragrep/spk_03/lib/*.jar \\\n  --files interpreter.json \\\n  pth_16-jar-with-dependencies.jar \\\n  '| makeresults count=1 | eval _raw=\"this is a custom query\"' | tee output.json\n----\n\nResults into\n\n[source,json]\n----\n{\n  \"_time\": \"2026-01-27T13:54:24.000+02:00\",\n  \"_raw\": \"this is a custom query\"\n}\n----\n\n== Contributing\n\n// Change the repository name in the issues link to match with your project's name\n\nYou can involve yourself with our project by https://github.com/teragrep/pth_16/issues/new/choose[opening an issue] or submitting a pull request.\n\nContribution requirements:\n\n. *All changes must be accompanied by a new or changed test.* If you think testing is not required in your pull request, include a sufficient explanation as why you think so.\n. Security checks must pass\n. Pull requests must align with the principles and http://www.extremeprogramming.org/values.html[values] of extreme programming.\n. Pull requests must follow the principles of Object Thinking and Elegant Objects (EO).\n\nRead more in our https://github.com/teragrep/teragrep/blob/main/contributing.adoc[Contributing Guideline].\n\n=== Contributor License Agreement\n\nContributors must sign https://github.com/teragrep/teragrep/blob/main/cla.adoc[Teragrep Contributor License Agreement] before a pull request is accepted to organization's repositories.\n\nYou need to submit the CLA only once. After submitting the CLA you can contribute to all Teragrep's repositories.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteragrep%2Fpth_16","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteragrep%2Fpth_16","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteragrep%2Fpth_16/lists"}