[ https://issues.apache.org/jira/browse/HIVE-17825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16207040#comment-16207040 ]
anishek commented on HIVE-17825: -------------------------------- [~thejas]/[~daijy] can you please review. > Socket not closed when trying to read files to copy over in replication from > metadata > ------------------------------------------------------------------------------------- > > Key: HIVE-17825 > URL: https://issues.apache.org/jira/browse/HIVE-17825 > Project: Hive > Issue Type: Bug > Components: HiveServer2 > Affects Versions: 3.0.0 > Reporter: anishek > Assignee: anishek > Priority: Critical > Labels: pull-request-available > Fix For: 3.0.0 > > Attachments: HIVE-17825.0.patch > > > for replication we create a _files in hdfs which lists the source files to be > copied over for a table/partition. _files is read in ReplCopyTask to read > what files to be copied. The File operations w.r.t to _files is not correct > and we leave the files open there, which leads to a lot of CLOSE_WAIT > connections to the source Data nodes from HS2 on the replica cluster. -- This message was sent by Atlassian JIRA (v6.4.14#64029)