HBASE-10021 Fix the REC_CATCH_EXCEPTION warning under hbase-thrift
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1545374 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6254e896f5
commit
164c0b29b4
|
@ -226,7 +226,6 @@ public class ThriftServer {
|
||||||
public static void main(String[] args) throws Exception {
|
public static void main(String[] args) throws Exception {
|
||||||
TServer server = null;
|
TServer server = null;
|
||||||
Options options = getOptions();
|
Options options = getOptions();
|
||||||
try {
|
|
||||||
Configuration conf = HBaseConfiguration.create();
|
Configuration conf = HBaseConfiguration.create();
|
||||||
CommandLine cmd = parseArguments(conf, options, args);
|
CommandLine cmd = parseArguments(conf, options, args);
|
||||||
|
|
||||||
|
@ -309,11 +308,6 @@ public class ThriftServer {
|
||||||
} else {
|
} else {
|
||||||
server = getTThreadPoolServer(protocolFactory, processor, transportFactory, inetSocketAddress);
|
server = getTThreadPoolServer(protocolFactory, processor, transportFactory, inetSocketAddress);
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
|
||||||
log.error(e.getMessage(), e);
|
|
||||||
printUsage();
|
|
||||||
System.exit(1);
|
|
||||||
}
|
|
||||||
server.serve();
|
server.serve();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue