{"id":37147367,"url":"https://github.com/staticmukesh/hdfs","last_synced_at":"2026-01-14T17:23:13.671Z","repository":{"id":57591912,"uuid":"130223260","full_name":"staticmukesh/hdfs","owner":"staticmukesh","description":"A native go client for HDFS","archived":false,"fork":true,"pushed_at":"2018-07-09T15:19:25.000Z","size":5514,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-20T11:54:34.129Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"Sqooba/hdfs","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/staticmukesh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-19T13:53:57.000Z","updated_at":"2018-04-19T13:53:59.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/staticmukesh/hdfs","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/staticmukesh/hdfs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staticmukesh%2Fhdfs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staticmukesh%2Fhdfs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staticmukesh%2Fhdfs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staticmukesh%2Fhdfs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/staticmukesh","download_url":"https://codeload.github.com/staticmukesh/hdfs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staticmukesh%2Fhdfs/sbom","scorecard":{"id":846855,"data":{"date":"2025-08-11","repo":{"name":"github.com/staticmukesh/hdfs","commit":"dd12b37743fc77c5f14ebfa42d820d8a0fed763b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Binary-Artifacts","score":0,"reason":"binaries present in source code","details":["Warn: binary detected: test/kdc/lib/accessors-smart-1.2.jar:1","Warn: binary detected: test/kdc/lib/asm-5.0.4.jar:1","Warn: binary detected: test/kdc/lib/client-tool-1.1.1-SNAPSHOT.jar:1","Warn: binary detected: test/kdc/lib/commons-io-2.6.jar:1","Warn: binary detected: test/kdc/lib/gson-2.6.2.jar:1","Warn: binary detected: test/kdc/lib/jcip-annotations-1.0-1.jar:1","Warn: binary detected: test/kdc/lib/json-backend-1.1.1-SNAPSHOT.jar:1","Warn: binary detected: test/kdc/lib/json-smart-2.3.jar:1","Warn: binary detected: test/kdc/lib/kdc-tool-1.1.1-SNAPSHOT.jar:1","Warn: binary detected: test/kdc/lib/kerb-admin-1.1.1-SNAPSHOT.jar:1","Warn: binary detected: test/kdc/lib/kerb-admin-server-1.1.1-SNAPSHOT.jar:1","Warn: binary detected: test/kdc/lib/kerb-client-1.1.1-SNAPSHOT.jar:1","Warn: binary detected: test/kdc/lib/kerb-client-api-all-1.1.1-SNAPSHOT.jar:1","Warn: binary detected: test/kdc/lib/kerb-common-1.1.1-SNAPSHOT.jar:1","Warn: binary detected: test/kdc/lib/kerb-core-1.1.1-SNAPSHOT.jar:1","Warn: binary detected: test/kdc/lib/kerb-crypto-1.1.1-SNAPSHOT.jar:1","Warn: binary detected: test/kdc/lib/kerb-identity-1.1.1-SNAPSHOT.jar:1","Warn: binary detected: test/kdc/lib/kerb-server-1.1.1-SNAPSHOT.jar:1","Warn: binary detected: test/kdc/lib/kerb-server-api-all-1.1.1-SNAPSHOT.jar:1","Warn: binary detected: test/kdc/lib/kerb-util-1.1.1-SNAPSHOT.jar:1","Warn: binary detected: test/kdc/lib/kerby-asn1-1.1.1-SNAPSHOT.jar:1","Warn: binary detected: test/kdc/lib/kerby-config-1.1.1-SNAPSHOT.jar:1","Warn: binary detected: test/kdc/lib/kerby-kdc-1.1.1-SNAPSHOT.jar:1","Warn: binary detected: test/kdc/lib/kerby-pkix-1.1.1-SNAPSHOT.jar:1","Warn: binary detected: test/kdc/lib/kerby-util-1.1.1-SNAPSHOT.jar:1","Warn: binary detected: test/kdc/lib/kerby-xdr-1.1.1-SNAPSHOT.jar:1","Warn: binary detected: test/kdc/lib/log4j-1.2.17.jar:1","Warn: binary detected: test/kdc/lib/netty-buffer-4.0.52.Final.jar:1","Warn: binary detected: test/kdc/lib/netty-codec-4.0.52.Final.jar:1","Warn: binary detected: test/kdc/lib/netty-common-4.0.52.Final.jar:1","Warn: binary detected: test/kdc/lib/netty-handler-4.0.52.Final.jar:1","Warn: binary detected: test/kdc/lib/netty-transport-4.0.52.Final.jar:1","Warn: binary detected: test/kdc/lib/nimbus-jose-jwt-4.41.2.jar:1","Warn: binary detected: test/kdc/lib/slf4j-api-1.7.25.jar:1","Warn: binary detected: test/kdc/lib/slf4j-log4j12-1.7.25.jar:1","Warn: binary detected: test/kdc/lib/token-provider-1.1.1-SNAPSHOT.jar:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: MIT License: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-23T21:41:00.128Z","repository_id":57591912,"created_at":"2025-08-23T21:41:00.128Z","updated_at":"2025-08-23T21:41:00.128Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28427331,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T16:38:47.836Z","status":"ssl_error","status_checked_at":"2026-01-14T16:34:59.695Z","response_time":107,"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-01-14T17:23:13.111Z","updated_at":"2026-01-14T17:23:13.663Z","avatar_url":"https://github.com/staticmukesh.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"HDFS for Go\n===========\n\n[![GoDoc](https://godoc.org/github.com/colinmarc/hdfs/web?status.svg)](https://godoc.org/github.com/colinmarc/hdfs) [![build](https://travis-ci.org/colinmarc/hdfs.svg?branch=master)](https://travis-ci.org/colinmarc/hdfs)\n\nThis is a native golang client for hdfs. It connects directly to the namenode using\nthe protocol buffers API.\n\nIt tries to be idiomatic by aping the stdlib `os` package, where possible, and\nimplements the interfaces from it, including `os.FileInfo` and `os.PathError`.\n\nHere's what it looks like in action:\n\n```go\nclient, _ := hdfs.New(\"namenode:8020\")\n\nfile, _ := client.Open(\"/mobydick.txt\")\n\nbuf := make([]byte, 59)\nfile.ReadAt(buf, 48847)\n\nfmt.Println(string(buf))\n// =\u003e Abominable are the tumblers into which he pours his poison.\n```\n\nFor complete documentation, check out the [Godoc][1].\n\nThe `hdfs` Binary\n-----------------\n\nAlong with the library, this repo contains a commandline client for HDFS. Like\nthe library, its primary aim is to be idiomatic, by enabling your favorite unix\nverbs:\n\n\n    $ hdfs --help\n    Usage: hdfs COMMAND\n    The flags available are a subset of the POSIX ones, but should behave similarly.\n\n    Valid commands:\n      ls [-lah] [FILE]...\n      rm [-rf] FILE...\n      mv [-fT] SOURCE... DEST\n      mkdir [-p] FILE...\n      touch [-amc] FILE...\n      chmod [-R] OCTAL-MODE FILE...\n      chown [-R] OWNER[:GROUP] FILE...\n      cat SOURCE...\n      head [-n LINES | -c BYTES] SOURCE...\n      tail [-n LINES | -c BYTES] SOURCE...\n      du [-sh] FILE...\n      checksum FILE...\n      get SOURCE [DEST]\n      getmerge SOURCE DEST\n      put SOURCE DEST\n      \n      To alter the default locations from which configurations are loaded, \n      the following environment variables may be used:\n\n        - HADOOP_CONF_DIR     hadoop configuration directory. Default: %s\n        - HADOOP_KRB_CONF     kerberos configuration file. Default: %s\n        - HADOOP_CCACHE       credential cache to use. Defaults: to \"/tmp/krb5cc_{user_uid}\"\n        - HADOOP_KEYTAB       if set, the specified keytab is used and the credential cache is ignored.\n\nSince it doesn't have to wait for the JVM to start up, it's also a lot faster\n`hadoop -fs`:\n\n    $ time hadoop fs -ls / \u003e /dev/null\n\n    real  0m2.218s\n    user  0m2.500s\n    sys 0m0.376s\n\n    $ time hdfs ls / \u003e /dev/null\n\n    real  0m0.015s\n    user  0m0.004s\n    sys 0m0.004s\n\nBest of all, it comes with bash tab completion for paths!\n\nInstalling the library\n----------------------\n\nTo install the library, once you have Go [all set up][2]:\n\n    $ go get -u github.com/colinmarc/hdfs\n\nInstalling the commandline client\n---------------------------------\n\nGrab a tarball from the [releases page](https://github.com/colinmarc/hdfs/releases)\nand unzip it wherever you like.\n\nYou'll want to add the following line to your `.bashrc` or `.profile`:\n\n    export HADOOP_NAMENODE=\"namenode:8020\"\n\nTo install tab completion globally on linux, copy or link the `bash_completion`\nfile which comes with the tarball into the right place:\n\n    ln -sT bash_completion /etc/bash_completion.d/gohdfs\n\nBy default, the HDFS user is set to the currently-logged-in user. You can\noverride this in your `.bashrc` or `.profile`:\n\n    export HADOOP_USER_NAME=username\n\n\nKerberos support\n----------------\nAuthentication via Kerberos (and authentication only) is supported.\n\nThe binary will check the default locations for your kerberos and hadoop configurations. These can be overridden via environment variables `HADOOP_KRB_CONF`, and `HADOOP_CONF_DIR`.\n\nYou will need either a kinit’ed credential cache, which is expected to live at `/tmp/krb5cc_$(id -u $(whoami))` — override via `HADOOP_CCACHE` — or a keytab specified through `HADOOP_KEYTAB`.\n\nThis has only been tested on one or two different kerberized clusters: if you have trouble using it, feedback is more than welcome.\n\n\n\nCompatibility\n-------------\n\nThis library uses \"Version 9\" of the HDFS protocol, which means it should work\nwith hadoop distributions based on 2.2.x and above. The tests run against CDH\n5.x and HDP 2.x.\n\nAcknowledgements\n----------------\n\nThis library is heavily indebted to [snakebite][3].\n\n[1]: https://godoc.org/github.com/colinmarc/hdfs\n[2]: https://golang.org/doc/install\n[3]: https://github.com/spotify/snakebite\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstaticmukesh%2Fhdfs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstaticmukesh%2Fhdfs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstaticmukesh%2Fhdfs/lists"}