Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3878676
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T22:38:23+00:00 2026-05-19T22:38:23+00:00

can someone pls tell me how can i execute my HelloWorld.java in apache hadoop

  • 0

can someone pls tell me how can i execute my HelloWorld.java in apache hadoop which contains

class Helloworld  
{  
  public static void main(String[] args)  
   {  
    Sytem.out.println("HelloWorld");  
    }  
 }

Am running a single node. Kindly tell me how can i run this piece of code or pls a send a link which is understandable for an absolute beginner.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T22:38:23+00:00Added an answer on May 19, 2026 at 10:38 pm

    The way a jar is run in hadoop is by the command

    $HADOOP_HOME/bin/hadoop jar [your_jar_file]
    

    You can also use -jar to force it to run as a local job. Useful for playing and debugging.

    While I haven’t tested with such a simple application, I think it should print the line and then be done. Don’t hold me to that though. 😛

    You might need to specify main throws Exception but I’m not 100% on that. My code has it.

    I hope that helps. As mentioned in other answers, without getting into setting up Jobs and MapReduce, there’s not going to be a gain from Hadoop.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can someone pls show me how to map this correctly? I am trying to
can someone help me pls, im new to vb.net and im trying to work
Can someone tell me how to create tabs in the title bar area of
Can someone please tell me how I can get the changeset number, the current
Can someone please tell what this strange error is Mod_python error: PythonHandler django.core.handlers.modpython Traceback
Can someone tell me if this is a bug in the SDK/IDE: Any custom
Can someone tell me why the following code intermittently throws an exception ? I
Can someone help me pls. I am ready to deploy my web application. I
Can someone please explain to me why I keep getting this PLS-00905 error for
Can someone tell me the regex to see if something is surrounded in double

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.