Skip to content

Conversation

mykidong
Copy link

If I run the mr job which reads data from ES and writes parquet files on HDFS, I got the following errors:
...
java.lang.IllegalArgumentException: Network location name contains /: my-host01/10.xxx.xxx.xxx
at org.apache.hadoop.net.NodeBase.set(NodeBase.java:87)
at org.apache.hadoop.net.NodeBase.(NodeBase.java:65)
at org.apache.hadoop.yarn.util.RackResolver.coreResolve(RackResolver.java:111)
at org.apache.hadoop.yarn.util.RackResolver.resolve(RackResolver.java:95)
...

I noticed that nodeIp from PartitionDefinition has such form like /.
After removing slash and ip part of nodeIp, and just returning hostname, my mr job works fine.
I am not sure if it happened to my case.

@costin
Copy link
Member

costin commented Jan 8, 2016

This has been fixed in master through 98ab152. Further more in case of a host/ip, using the IP is preferred.

Thanks for raising the PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants