Code Monkey home page Code Monkey logo

Comments (14)

Nr5D avatar Nr5D commented on September 17, 2024 7

I have same problem, but it is solved.

The Problem is, on the file C:\hadoop-3.3.0\etc\hadoop\hadoop-env.cmd.

Edit Last row of the file :

@Rem A string representing this instance of hadoop. %USERNAME% by default.
set HADOOP_IDENT_STRING=%USERNAME%

As default Hadoop will use our username, but some username contain space.
Just Edit %USERNAME% with any word without space.

from hadoop-on-window.

shivansh-infogain avatar shivansh-infogain commented on September 17, 2024 1

set JAVA_HOME=C:\PROGRA~1\Java\jdk1.8.0_151

from hadoop-on-window.

MuhammadBilalYar avatar MuhammadBilalYar commented on September 17, 2024

Please check your paths.

from hadoop-on-window.

PRIYESH-SHAHI avatar PRIYESH-SHAHI commented on September 17, 2024

Hi
when i am installing hadoop & jdk. the jdk is running properly but the hadoop provide error:

C:\Users\SHAHI>javac -version
javac 1.8.0_181

C:\Users\SHAHI>cd c:\hadoop-2.8.0\bin

c:\hadoop-2.8.0\bin>hdfs namenode -format
'Files' is not recognized as an internal or external command,
operable program or batch file.
Error: JAVA_HOME is incorrectly set.
Please update c:\hadoop-2.8.0\etc\hadoop\hadoop-env.cmd
'-Dhadoop.security.logger' is not recognized as an internal or external command,
operable program or batch file.

how can solve it ????
and i set the environmental variable as well.
PATH=C:\hadoop-2.8.0\bin;C:\Program Files\Java\jdk1.8.0_181\bin;

from hadoop-on-window.

dr-r00t3r avatar dr-r00t3r commented on September 17, 2024

I also had a problem like yours.
To solve this problem, I looked like something like this.find line in

hadoop-env.cmd

And put JavaPath in "" inside ,like this.
set JAVA_HOME="C:\Program Files\Java\jdk1.8.0_121"

from hadoop-on-window.

PRIYESH-SHAHI avatar PRIYESH-SHAHI commented on September 17, 2024

hi
no change same error occur ???????

Error: JAVA_HOME is incorrectly set.
Please update c:\hadoop-2.8.0\etc\hadoop\hadoop-env.cmd
'-Dhadoop.security.logger' is not recognized as an internal or external command,
operable program or batch file.

from hadoop-on-window.

shivansh-infogain avatar shivansh-infogain commented on September 17, 2024

image
I'm having this issue.
Any suggestion?

from hadoop-on-window.

Rgurjar21 avatar Rgurjar21 commented on September 17, 2024

i am facing the issue.
image
Any suggestion to resolve the issue,

from hadoop-on-window.

MuhammadBilalYar avatar MuhammadBilalYar commented on September 17, 2024

image
I'm having this issue.
Any suggestion?

Please Check you Yarn configuration

from hadoop-on-window.

MuhammadBilalYar avatar MuhammadBilalYar commented on September 17, 2024

@Rgurjar21, make sure you are running CMD in Administrative mode, you have setting Haddop variable properly

from hadoop-on-window.

Rgurjar21 avatar Rgurjar21 commented on September 17, 2024

Hi
i have checked all the variables & cmd is also run in administrative mode. but then to same error is coming. please help
image

from hadoop-on-window.

edwinefru avatar edwinefru commented on September 17, 2024

put the java path in code " c:........."

from hadoop-on-window.

thinksoft14 avatar thinksoft14 commented on September 17, 2024

I am also facing the same issues

Hadoop Error

from hadoop-on-window.

shedha-mariyam avatar shedha-mariyam commented on September 17, 2024

hi,
when i'm try to run hdfs namenode -format there is an error shows as

'C:Program' is not recognized as internal or external command,
operable program or batch file.
'-classpath' is not recognized as internal or external command,
operable program or batch file.

from hadoop-on-window.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.