Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created on
10-29-2014
05:58 PM
- last edited on
04-21-2026
07:00 AM
by
GrazittiAPI
Getting this error.
Error: java.net.ConnectException: Call From server1.cvrunner.com/158.85.75.36 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?
Created 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.
Created 10-29-2014 06:03 PM
Created 10-29-2014 06:48 PM
Both the components are on the same server.
I am using CDH 4.7 and sqoop2.
Created 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>
Created 10-30-2014 06:51 PM
Yes...
Created 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.