DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Run Apache Hive on Windows in 6 Easy Steps

Tharindu Mathew user avatar by
Tharindu Mathew
·
Oct. 16, 12 · Interview
Like (0)
Save
Tweet
Share
21.27K Views

Join the DZone community and get the full member experience.

Join For Free

note : you need to have cygwin installed to run this tutorial, as hadoop (needed by hive) needs cygwin to run on windows. at a minimum, basic, net (openssh,tcp_wrapper packages) and security related cygwin packages need to be present in the system.

here are the 6 steps:

1. download wso2 bam 2.0.0 . it’s free and open source.

2. extract it to a preferred location. let’s call it $bam_home.

3.start the server by executing the wso2server.bat file present in $bam_home/bin. the server would startup on the default port 9443 on the machine’s ip.

4. log in to the web console at https://localhost:9443 using the default credentials, i.e. username: admin, password: admin and clicking “sign-in”.

wso2 bam login screen

wso2 bam login screen

5. navigate to the “add analytics” option by clicking the menu item on the left hand menu.

wso2 bam left hand menu - add analytics option

wso2 bam left hand menu – add analytics option

6. now execute your hive script, by entering the script and clicking execute!

note: follow this kpi sample document to see a sample working for you in no time, with results appearing on a dashboard. also, notice that you can schedule the hive script as well.

execute apache hive script

execute apache hive script

i have to thank my colleague buddhika chamith , as all this was possible because of some grueling work done by him. also, i hate the fact hadoop and hive makes it so hard to run stuff on windows, especially since this is a java application. read about those concerns here .

Apache Hive

Published at DZone with permission of Tharindu Mathew, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • How To Create and Edit Excel XLSX Documents in Java
  • How To Check Docker Images for Vulnerabilities
  • Fraud Detection With Apache Kafka, KSQL, and Apache Flink
  • How Observability Is Redefining Developer Roles

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: