]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
hadoop: return all replica hostnames
authorNoah Watkins <noahwatkins@gmail.com>
Wed, 9 Nov 2011 02:39:20 +0000 (18:39 -0800)
committerSage Weil <sage@newdream.net>
Wed, 9 Nov 2011 21:28:28 +0000 (13:28 -0800)
commit3354933359ecddde79bcadf47f1894eb7086865b
tree0a2416b8a2a09c44cffaba5338b24eb7eacc6d52
parente6035a628add861526657ddca1eb8c4c7d04d99f
hadoop: return all replica hostnames

Updates CephFileSystem to return all replica locations,
and in addition attempts to use reverse DNS to convert
the OSD IPs into hostnames. Hadoop does not do well at
comparing the IP with hostnames, and locality is lost.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
src/client/hadoop/ceph/CephFileSystem.java