I have installed Hadoop 2.2 on my laptop running ubuntu as single node cluster and run the word count example. After that I installed Hive and Hadoop started to give error i.e.
hdfs dfs -ls throws IOException : localhost is "utbuntu/127.0.1.1 and destination host is localhost:9000"
I found the below two entries in my hosts file
127.0.0.1 localhost
127.0.1.1 ubuntu
#and some IPv6 entries...
My question is why it is giving error after configuring hive and what is the solution? Any help is really appreciated.
Thanks!