pankaj72981 commented on a change in pull request #2958:
URL: https://github.com/apache/hbase/pull/2958#discussion_r586087348
##########
File path:
hbase-examples/src/main/java/org/apache/hadoop/hbase/thrift2/DemoClient.java
##########
@@ -90,8 +93,13 @@ public Void run() throws Exception {
public void run() throws Exception {
int timeout = 10000;
boolean framed = false;
+ TTransport transport = null;
+ try {
+ transport = new TSocket(new TConfiguration(), host, port, timeout);
+ } catch (TTransportException e) {
Review comment:
Yeah, no need of try/catch here.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]