HBASE-3176 Remove compile warnings in HRegionServer
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1029178 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
add2f82ca7
commit
ff7b723c57
|
@ -1076,6 +1076,7 @@ Release 0.21.0 - Unreleased
|
||||||
HBASE-2253 Show Block cache hit ratio for requests where
|
HBASE-2253 Show Block cache hit ratio for requests where
|
||||||
cacheBlocks=true
|
cacheBlocks=true
|
||||||
HBASE-3126 Force use of 'mv -f' when moving aside hbase logfiles
|
HBASE-3126 Force use of 'mv -f' when moving aside hbase logfiles
|
||||||
|
HBASE-3176 Remove compile warnings in HRegionServer
|
||||||
|
|
||||||
|
|
||||||
NEW FEATURES
|
NEW FEATURES
|
||||||
|
|
|
@ -266,7 +266,8 @@ public class HRegionServer implements HRegionInterface, HBaseRPCErrorHandler,
|
||||||
this.isOnline = false;
|
this.isOnline = false;
|
||||||
|
|
||||||
// check to see if the codec list is available:
|
// check to see if the codec list is available:
|
||||||
String [] codecs = conf.getStrings("hbase.regionserver.codecs", null);
|
String [] codecs = conf.getStrings("hbase.regionserver.codecs",
|
||||||
|
(String[])null);
|
||||||
if (codecs != null) {
|
if (codecs != null) {
|
||||||
for (String codec : codecs) {
|
for (String codec : codecs) {
|
||||||
if (!CompressionTest.testCompression(codec)) {
|
if (!CompressionTest.testCompression(codec)) {
|
||||||
|
@ -2359,6 +2360,7 @@ public class HRegionServer implements HRegionInterface, HBaseRPCErrorHandler,
|
||||||
return serverInfo;
|
return serverInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("unchecked")
|
||||||
@Override
|
@Override
|
||||||
public MultiResponse multi(MultiAction multi) throws IOException {
|
public MultiResponse multi(MultiAction multi) throws IOException {
|
||||||
MultiResponse response = new MultiResponse();
|
MultiResponse response = new MultiResponse();
|
||||||
|
|
Loading…
Reference in New Issue