[
https://issues.apache.org/jira/browse/HBASE-7942?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Devaraj Das updated HBASE-7942:
-------------------------------
Attachment: 7942-trunk-1.3.patch
Patch with testcase. The test uses reflection to figure out whether to run or
not..
There was a bug in the way InetSocketAddress is used in HDFS's DFSClient
(HDFS-4827) which I discovered when I ran the unit test in this patch. The way
I run the unit test now (against branch-2 of hadoop) is to patch branch-2 with
the patch from HDFS-4827, build & install the branch-2 artifacts locally (this
installs 2.0.5-SNAPSHOT presently). Then, I run the test TestRegionFavoredNodes
as:
{noformat}
mvn -U -PlocalTests -Dhadoop.profile=2.0 -Dhadoop-two.version=2.0.5-SNAPSHOT
-Dtest=TestRegionFavoredNodes test
{noformat}
> Make use of the plumbing in HBASE-7932 to provide location hints when region
> files are created
> ----------------------------------------------------------------------------------------------
>
> Key: HBASE-7942
> URL: https://issues.apache.org/jira/browse/HBASE-7942
> Project: HBase
> Issue Type: Sub-task
> Reporter: Devaraj Das
> Assignee: Devaraj Das
> Priority: Critical
> Fix For: 0.95.1
>
> Attachments: 7942-trunk-1.3.patch
>
>
> This "functionality" is blocked by the fixes in HDFS. Reflection is going to
> be used to figure out whether the underlying Hadoop version has the new API.
> Things will behave the same way if the underlying HDFS version doesn't have
> the new API.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira