10-29-2014 05:58 PM
Getting this error.
Error: java.net.ConnectException: Call From server1.cvrunner.com/220.127.116.11 to localhost:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
Created connection on linux in sqoop2 shell. THe connection passed. MySQL is up and running.
When i created a job on Hue and tried to run the job. I am getting this error.
Not sure it is connectivity to MySQL or something else
Can anybody suggest me?
10-29-2014 06:03 PM
10-30-2014 01:08 PM
Is server1.cvrunner.com your machine? If so, core-site.xml might not be configured properly. Could you try adding a property:
<property> <name>fs.defaultFS</name> <value>hdfs://server1.cvrunner.com:8020</value> </property>
10-31-2014 09:24 AM
Thanks Abe. It worked.
There are 2 changes I did.
1. changing from localhost to actual server name
2. Giving permission to Hue user to create the files on hdfs using "hadoop fs -R -chown" command.