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 7929277
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T20:01:11+00:00 2026-06-03T20:01:11+00:00

I am trying to stop the daemon processes in hadoop by ./stop-all.sh script but

  • 0

I am trying to stop the daemon processes in hadoop by ./stop-all.sh script but it gives following message:

no jobtracker to stop
localhost: no tasktracker to stop
no namenode to stop
localhost: no datanode to stop
localhost: no secondarynamenode to stop

I tried to see if the hadoop is running after this using jps and it showed:

27948 SecondaryNameNode
27714 NameNode
28136 TaskTracker
27816 DataNode
28022 JobTracker
8174 Jps

That is, it’s running all daemons properly. I also checked hadoop dfs -ls / to just see if I am able to connect to hdfs. It’s working.

I am running stop-all.sh script by supergroup user meaning, there is no issue with permissions.

  • 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-06-03T20:01:12+00:00Added an answer on June 3, 2026 at 8:01 pm

    This message is shown if the start/stop scripts cannot find a pid file got the deamon in the $HADOOP_PID_DIR folder (which defaults to /tmp).

    If:

    • these files have been deleted (by someone or something), or
    • the env variable $HADOOP_PID_DIR has been changed since you started the deamons, or
    • the user stopping the deamons is not the user that started them

    then hadoop will show the error messages you are seeing.

    Selected portions from the hadoop-daemon.sh file (for 1.0.0):

    #   HADOOP_IDENT_STRING   A string representing this instance of hadoop. $USER by default
    
    if [ "$HADOOP_IDENT_STRING" = "" ]; then
      export HADOOP_IDENT_STRING="$USER"
    fi
    
    # ....
    
    if [ "$HADOOP_PID_DIR" = "" ]; then
      HADOOP_PID_DIR=/tmp
    fi    
    
    # ....
    
    pid=$HADOOP_PID_DIR/hadoop-$HADOOP_IDENT_STRING-$command.pid
    
    # ....
    
    (stop)
    
      if [ -f $pid ]; then
        if kill -0 `cat $pid` > /dev/null 2>&1; then
          echo stopping $command
          kill `cat $pid`
        else
          echo no $command to stop
        fi
      else
        echo no $command to stop
      fi
      ;;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been trying to make an init script using start-stop-daemon. I am stuck
I'm trying to start python script with start-stop-daemon: sudo /sbin/start-stop-daemon --start --pidfile /home/loop.pid \
I'm trying to stop the browser from following certain links, rather I want to
I'm trying to stop members from adding them selves as a friend but I
I tried the following (pseudocode) but I always get a deadlock when Iam trying
I am trying to stop some events but stopPropagation does not work with live
I'm trying to stop a repeating alarm. I already looked all over the web
I'm trying to stop all tabs from loading when chrome starts up. I then
I have the following code which is trying to stop propagation, works every where
I am trying to stop the data in the following table from continuing to

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.