{"id":28842905,"url":"https://github.com/keanteng/wqd7007-lab-test","last_synced_at":"2026-05-04T23:35:08.034Z","repository":{"id":299007451,"uuid":"1001234130","full_name":"keanteng/wqd7007-lab-test","owner":"keanteng","description":"Lab Test With Hive","archived":false,"fork":false,"pushed_at":"2025-06-14T04:42:14.000Z","size":1,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-14T05:29:43.596Z","etag":null,"topics":["bash","big-data","docker","hive"],"latest_commit_sha":null,"homepage":"","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/keanteng.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":"2025-06-13T03:38:28.000Z","updated_at":"2025-06-14T04:42:17.000Z","dependencies_parsed_at":"2025-06-14T05:29:45.138Z","dependency_job_id":"bab26655-33d0-40bb-88cd-428f45a60c68","html_url":"https://github.com/keanteng/wqd7007-lab-test","commit_stats":null,"previous_names":["keanteng/wqd7007-lab-test"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/keanteng/wqd7007-lab-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keanteng%2Fwqd7007-lab-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keanteng%2Fwqd7007-lab-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keanteng%2Fwqd7007-lab-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keanteng%2Fwqd7007-lab-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/keanteng","download_url":"https://codeload.github.com/keanteng/wqd7007-lab-test/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keanteng%2Fwqd7007-lab-test/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260783897,"owners_count":23062430,"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":["bash","big-data","docker","hive"],"created_at":"2025-06-19T16:08:07.338Z","updated_at":"2026-05-04T23:35:08.028Z","avatar_url":"https://github.com/keanteng.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WQD7007 Lab Test\n\n![Apache Hive](https://img.shields.io/badge/Apache%20Hive-FDEE21?style=for-the-badge\u0026logo=apachehive\u0026logoColor=black)\n![Docker](https://img.shields.io/badge/docker-%230db7ed.svg?style=for-the-badge\u0026logo=docker\u0026logoColor=white)\n![Bash Script](https://img.shields.io/badge/bash_script-%23121011.svg?style=for-the-badge\u0026logo=gnu-bash\u0026logoColor=white)\n\nThe lab test is designed to assess your understanding of data cleaning and transformation using Hive. You will be working with a dataset where you are performing various data cleaning operations, and generating insights from the data.\n\n## Using This Repository\n\n- Load the repository into your local environment.\n\n```bash\ngit clone https://github.com/keanteng/wqd7007-lab-test\n```\n\n- To produce the report make sure you have pandoc installed. You can download the latest distribution from [Pandoc's GitHub](https://github.com/jgm/pandoc/releases/tag/3.7.0.2).\n\n- Also, make sure you have Docker installed on your machine. You can download it from [Docker's official website](https://www.docker.com/products/docker-desktop).\n\n## Setup Hive on Docker\n\n```bash\n# pull the latest Hive image\ndocker pull apache/hive:4.0.1\n\n# run the Hive container\ndocker run -d -p 10000:10000 -p 10002:10002 `\n  --env SERVICE_NAME=hiveserver2 `\n  --name hive-server `\n  -v \"${PWD}:/keanteng\" `\n  apache/hive:4.0.1\n```\n\nAfter the container is running, you can access the Hive CLI or Beeline to interact with Hive.\n\n```bash\n# find your data, you will be put at opt/hive, to go to root\ncd ..\ncd ..\n\n# view your directory\nls keanteng\n\n# start hive CLI\nhive\n\n# set the connection\n!connect jdbc:hive2://localhost:10000\n```\n\n## Docker Extra\n\nSome useful Docker commands to manage your Hive container:\n\n```bash\n# start the container\ndocker start hive-server\n\n# stop the container\ndocker stop hive-server\n\n# enter the cli\ndocker exec -it hive-server bash\n\n# list all running containers\ndocker ps\n```\n## Further Usage\n\nWhat about cleaning up your Docker environment? Here are some commands to help you manage your Docker containers and images:\n\n```bash\n# remove a container\ndocker rm hive-server\n\n# prune all stopped containers\ndocker container prune\n# remove all unused images\ndocker image prune -a\n# remove all unused volumes\ndocker volume prune\n# remove build cache\ndocker builder prune\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeanteng%2Fwqd7007-lab-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeanteng%2Fwqd7007-lab-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeanteng%2Fwqd7007-lab-test/lists"}