Details
Description
//Client.java public void stop() { ... // wait until all connections are closed while (!connections.isEmpty()) { try { Thread.sleep(100); } catch (InterruptedException e) { } } ... }
In the code above, the sleep time is 100ms. We found that simply changing the sleep time to 10ms could improve a Hive job running time by 10x.
Attachments
Attachments
Issue Links
- is required by
-
HADOOP-16127 In ipc.Client, put a new connection could happen after stop
- Resolved