Error while using copyfromlocal command in hortonworks practice exam

when i am trying to copy file from local directory to hdfs in horton works practice exam using command
hadoop fs -copyFromLocal /home/hortonworks/datasets/flightdelays/weather.csv hdfs:namenode:8080/user/hortonworks/weather
i am facing below error
copyfromlocal :Failed on local exception:
Protocol message end-group tag did not match expected tag.;
Host Details : local host is: “namenode/”; destination host is: “namenode”:8080;

Hdfs port no should be 8020,

1 Like