Skip to content

Commit

Permalink
HBASE-25568 Handled review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
pankaj72981 committed Mar 3, 2021
1 parent 5c79798 commit d232d0e
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,8 @@ 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) {
throw new IOException(e);
}

TTransport transport = new TSocket(new TConfiguration(), host, port, timeout);
if (framed) {
transport = new TFramedTransport(transport);
} else if (secure) {
Expand Down

0 comments on commit d232d0e

Please sign in to comment.