[
https://issues.apache.org/jira/browse/HADOOP-1928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
stack updated HADOOP-1928:
--------------------------
Attachment: master_passing_config-v2.patch
v2 comes of edit and testing on cluster
HADOOP-1928 Have master pass the regionserver the filesystem to use
M src/contrib/hbase/src/test/org/apache/hadoop/hbase/TestDFSAbort.java
Remove commented out lines (We used to have shorter than default
ipc timeouts and retries but was failing on hudson so went back to
using defaults again).
M src/contrib/hbase/src/test/org/apache/hadoop/hbase/MultiRegionTable.java
Rootdir data member has been removed from HRegionServer. Use conf
setting.
M src/contrib/hbase/src/test/org/apache/hadoop/hbase/OOMERegionServer.java
HRegionServer constructor signature changed.
M src/contrib/hbase/src/java/org/apache/hadoop/hbase/HRegionServer.java
Refactor constructor. Delay filesystem access and service thread startups
until after first communique w/ master. Constructor no longer takes
the hbase.rootdir param. Instead, this is now read from the master
when regionserver reports in for duty. Made most of the data members
final.
(join): Refactored. Pass each thread to new join override.
(init): Added. Takes a MapWritable of configs obtained from master.
(startServiceThreads): Renamed from startAllServices.
(setupHlog, getThisIP): Added.
M
src/contrib/hbase/src/java/org/apache/hadoop/hbase/HMasterRegionInterface.java
M src/contrib/hbase/src/java/org/apache/hadoop/hbase/HMaster.java
(regionServerStartup): Now returns subset of configuration to
regionserver.
M src/contrib/hbase/src/java/org/apache/hadoop/hbase/util/FSUtils.java
(isSystemAvaliable): Takes optional arg that can short-circuit retries
if another thread has ruled server should go down. Improved logging.
M src/contrib/hbase/build.xml
Add hbase conf dir to the test classpath. Means that hbase default
location will be under whatever has been specified as hadoop
default.
> [hbase] Have master pass the regionserver the filesystem to use
> ---------------------------------------------------------------
>
> Key: HADOOP-1928
> URL: https://issues.apache.org/jira/browse/HADOOP-1928
> Project: Hadoop
> Issue Type: Improvement
> Components: contrib/hbase
> Reporter: stack
> Assignee: stack
> Priority: Minor
> Fix For: 0.15.0
>
> Attachments: master_passing_config-v2.patch,
> master_passing_config.patch
>
>
> The less configuration needed starting a regionserver the better. Currently
> the regionserver needs to read hadoop-site mainly so it knows which
> filesystem to go against. If it could get this info from the master instead
> when it gets the response to its reporting-for-duty message, then the
> dependency on hadoop-site.xml could mostly go away.
> Looking at regionserver, it looks like it would just take a little
> reorganization so that the hlog opening and the startup of worker threads
> doesn't happen until after we get our first response from the master.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.