{"id":16135694,"url":"https://github.com/sergiosim/debian-hadoop","last_synced_at":"2025-07-07T08:34:08.851Z","repository":{"id":115436797,"uuid":"550057571","full_name":"SergioSim/debian-hadoop","owner":"SergioSim","description":"A vagrant project with a debian box running hadoop","archived":false,"fork":false,"pushed_at":"2024-04-16T14:32:50.000Z","size":550,"stargazers_count":2,"open_issues_count":0,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-18T15:03:29.437Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SergioSim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2022-10-12T06:22:54.000Z","updated_at":"2025-04-09T09:29:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"d9104820-fc92-47df-8196-e8585567dcc3","html_url":"https://github.com/SergioSim/debian-hadoop","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SergioSim/debian-hadoop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SergioSim%2Fdebian-hadoop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SergioSim%2Fdebian-hadoop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SergioSim%2Fdebian-hadoop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SergioSim%2Fdebian-hadoop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SergioSim","download_url":"https://codeload.github.com/SergioSim/debian-hadoop/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SergioSim%2Fdebian-hadoop/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264043264,"owners_count":23548530,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-10-09T23:09:00.205Z","updated_at":"2025-07-07T08:34:08.817Z","avatar_url":"https://github.com/SergioSim.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Debian-Hadoop\n\nAn Debian vagrant box with Hadoop\n\n## Prerequisites\n\n- Install a git client (for example [git SCM](https://git-scm.com/download/win)) and clone this repository: `git clone https://github.com/SergioSim/debian-hadoop.git`\n- Install [virtualbox 7.0.10](https://www.virtualbox.org/wiki/Downloads)\n  with the [extension pack 7.0.10](https://download.virtualbox.org/virtualbox/7.0.10/Oracle_VM_VirtualBox_Extension_Pack-7.0.10.vbox-extpack)\n- Install [vagrant](https://www.vagrantup.com/)\n\n## Getting started\n\n**Install \u0026 start the vagrant box using VirtualBox:**\n\nNavigate to the debian-hadoop directory and run the following command:\n\n```bash\n$ vagrant up\n```\n\n**Install \u0026 start the vagrant box using Docker:**\n\n```bash\n$ vagrant up --provider docker\n```\n\n**Connect to the vagrant box (VM):**\n\n```bash\n$ vagrant ssh\n```\n\n## Useful vagrant commands\n\nCheck the vagrant box (VM) status:\n\n```bash\n$ vagrant status\n```\n\u003e You can also check the status of all vagrant boxes you have installed with `vagrant global-status`.\n\nPower-off the vagrant box:\n\n```bash\n$ vagrant halt\n```\n\nRemove the vagrant box from disk:\n\n```bash\n$ vagrant destroy\n```\n\nStart jupyter notebook:\n\n```bash\n$ jupyter notebook --ip=0.0.0.0\n```\n\n## Health check\n\nOnce you have installed, started and connected to the vagrant box.\n\nCheck if Hadoop processes (HDFS \u0026 YARN) are running:\n\n```bash\nvagrant@bullseye:~$ jps\n```\n\nThe command should output something like:\n\n```\n4416 DataNode\n4978 NodeManager\n4580 SecondaryNameNode\n5351 Jps\n4873 ResourceManager\n4287 NameNode\n```\n\n\u003e If no Hadoop processes show up, try to start Hadoop:\n\n```bash\nvagrant@bullseye:~$ start-dfs.sh\nvagrant@bullseye:~$ start-yarn.sh\n```\n\n## Troubleshooting\n\n**Symptom: the `vagrant up` command succeeded but Hadoop processes didn't start.**\n\n\u003e If you are running for the first time:\n\nTry to reinstall the vagrant box:\n\n```bash\nvagrant up --provision\n```\n\n\u003e Else, if it was working previously - try to start Hadoop.\n\n**Symptom: the `vagrant ssh` command fails with `Permission denied (publickey)`.**\n\n1. Get the location of your vagrant ssh private key: `vagrant ssh-config`\n   Then copy the path of the IdentityFile \n2. Run the following command instead of `vagrant ssh` to connect to the VM:\n   ```bash\n   ssh -i path/to/identity/file/private_key -p 2222 vagrant@127.0.0.1\n   ```\n\n## Updating configuration files\n\nTo apply changes done in `config/vagrant` - run the `prerequisites` provisioner:\n\n```bash\nvagrant provision --provision-with prerequisites\n```\n\nTo apply changes done in `config/hadoop` - run the `install_hadoop` provisioner:\n\n```bash\nvagrant provision --provision-with install_hadoop\n```\n\n\u003e Warning: this will format HDFS (removing all files on HDFS)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergiosim%2Fdebian-hadoop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsergiosim%2Fdebian-hadoop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergiosim%2Fdebian-hadoop/lists"}