Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HadoopTools can't work #14

Closed
redondox opened this issue Oct 14, 2014 · 6 comments
Closed

HadoopTools can't work #14

redondox opened this issue Oct 14, 2014 · 6 comments

Comments

@redondox
Copy link

I have set up hadoop on the server 19.106.11.231.

When I use the tool “Copy To HDFS”,

The Arcgis shows”Failed to execute (CopyToHDFS).”

“Executing: CopyToHDFS G:\t2.json 19.106.11.231 50070 hadoop /user/t2.json CREATE
Start Time: Mon Oct 13 16:57:41 2014
Running script CopyToHDFS…
Unexpected error : [Errno 11004] getaddrinfo failed
Traceback (most recent call last):
File “”, line 184, in execute
File “D:\Python27\ArcGIS10.2\lib\site-packages\webhdfs\webhdfs.py”, line 91, in copyToHDFS
fileUploadClient.request(‘PUT’, redirect_path, open(source_path, “rb”), headers={})
File “D:\Python27\ArcGIS10.2\Lib\httplib.py”, line 958, in request
self._send_request(method, url, body, headers)
File “D:\Python27\ArcGIS10.2\Lib\httplib.py”, line 992, in _send_request
self.endheaders(body)
File “D:\Python27\ArcGIS10.2\Lib\httplib.py”, line 954, in endheaders
self._send_output(message_body)
File “D:\Python27\ArcGIS10.2\Lib\httplib.py”, line 814, in _send_output
self.send(msg)
File “D:\Python27\ArcGIS10.2\Lib\httplib.py”, line 776, in send
self.connect()
File “D:\Python27\ArcGIS10.2\Lib\httplib.py”, line 757, in connect
self.timeout, self.source_address)
File “D:\Python27\ArcGIS10.2\Lib\socket.py”, line 553, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
gaierror: [Errno 11004] getaddrinfo failed

Completed script CopyToHDFS…
Failed to execute (CopyToHDFS).
Failed at Mon Oct 13 16:57:44 2014 (Elapsed Time: 2.62 seconds)”

Who can help me for the error?
//thx

@climbage
Copy link
Member

The issue is that your computer with ArcGIS does not have access to every node in the Hadoop cluster. Likely, you only gave it access to the NameNode. What is the cluster you're connecting to (Amazon, local, ...)?

@trumboosahil
Copy link

I'm facing same issue I have Windows 7 as Host machine and Cloudera VM as guest machine. Arcmap is installed on Host machine

@climbage
Copy link
Member

climbage commented Nov 4, 2014

Can you connect to http://19.106.11.231:50070 through a browser on the same machine as ArcMap?

@trumboosahil
Copy link

@climbage : Yes I'm able to connect however my Ip Address is http://192.168.56.101

Please find details about this issue under #16

@bigclove
Copy link

how to solve this problem?

@smambrose
Copy link
Contributor

Check out a step by step tutorial on starting out with GIS tools for Hadoop using a sandbox here.

When you have worked through those steps you can start moving data between ArcGIS and Hadoop using this and this tutorial.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants