Click here to Skip to main content
15,887,350 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
XML
While installing hadoop in windows 8.1 pro and was ready to run mapreduce I got this error message.

Unable to make directory and further more errors are mentioned below.


-mkdir: java.net.URISyntaxException: Illegal character in hostname at index 24:
hdfs://localhost127.0.0.1:9000
Usage: hadoop fs [generic options] -mkdir [-p] <path> ...

for this command
hadoop fs -copyFromLocal c:\Hwork\recipeitems-latest.json /in
I'm getting something like this

-copyFromLocal: java.net.URISyntaxException: Illegal character in hostname at in
dex 24: hdfs://localhost127.0.0.1:9000
Usage: hadoop fs [generic options] -copyFromLocal [-f] [-p] <localsrc> ... <dst>


please help me to get rid of it
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900