Error during installation of Hadoop

(Doc ID 1486557.1)

Last updated on MAY 10, 2018

Applies to:

Oracle WebCenter Sites - Version 7.6.0 to 7.6.2 [Release FatWire]
Information in this document applies to any platform.

Goal

When trying to run the command "$ bin/hadoop namenode -format" during hadoop installation the user sees the below error message

bin/hadoop: line 234: C:\Program: command not found
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms