Created 04-09-2018 06:53 PM
if we install hadoop on windows , Do all commands works same . Lets say we list the content of a folder using following command
haddop ls path
does the same command will work on windows?
Created 04-09-2018 11:56 PM
Windows Operating System is not mentioned in the Tested & Certified Support Matrix list here: https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.4/bk_support-matrices/content/ch01.html
So it is better to be on the supported versions. If you want to use apache hadoop community version then you should refer to : https://wiki.apache.org/hadoop/Hadoop2OnWindows (although the link seems to be to old and outdated)
Better will be to use the Linux based OS instead of Windows for running hadoop components.
Created 04-10-2018 05:50 AM
Hey @Jay Kumar SenSharma Thanks for you reply , I understand its better to use linux . But dont see the answer i was looking for . My concern is if at all i run it on windows will commands will change or will remain same . If you have any idea on this will be great help for me.
Created 04-10-2018 06:24 AM
Please provide us exacxt information about which version of Hadoop are you using? From where have you downloaded the Hadoop Binaries (from Apache / Hortonworks repos).
The Hadoop commands are standard commands .. like "hdfs dfs -ls /" and should remain same in different os binaries... however if you are looking out for scripts that we use to start/stop /manage the hadoop on Windows/Unix then it might difffer.
But if you are concerned anout any specific command then please let us know.
Created 04-10-2018 08:35 PM
Yes, the commands work the same assuming you have winutils.exe on your PATH as well as HADOOP_HOME and HADOOP_CONF_DIR defined as environment variables.
Windows is not as stable or as supported as Linux, however.