[jira] [Commented] (HADOOP-15697) memory leak in distcp run method

2020-11-12 Thread Wei-Chiu Chuang (Jira)


[ 
https://issues.apache.org/jira/browse/HADOOP-15697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17231022#comment-17231022
 ] 

Wei-Chiu Chuang commented on HADOOP-15697:
--

Maybe related MAPREDUCE-7298

> memory leak in distcp run method
> 
>
> Key: HADOOP-15697
> URL: https://issues.apache.org/jira/browse/HADOOP-15697
> Project: Hadoop Common
>  Issue Type: Bug
>  Components: tools/distcp
>Reporter: mahesh kumar behera
>Priority: Major
> Attachments: gc-root.png
>
>
> in distcp run method, execute is called but the job is not closed. This is 
> causing OOM error in Hive replication. I think in run method , shouldBlock 
> should be set to true and execute should be called within try-with-resources.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Commented] (HADOOP-15697) memory leak in distcp run method

2018-08-29 Thread Steve Loughran (JIRA)


[ 
https://issues.apache.org/jira/browse/HADOOP-15697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16596428#comment-16596428
 ] 

Steve Loughran commented on HADOOP-15697:
-

Can you tag this JIRA with the hadoop version you are seeing this on? If its a 
commercial product, just say the name in a comment and we'll guess the closest 
ASF release to it. thanks

> memory leak in distcp run method
> 
>
> Key: HADOOP-15697
> URL: https://issues.apache.org/jira/browse/HADOOP-15697
> Project: Hadoop Common
>  Issue Type: Bug
>  Components: tools/distcp
>Reporter: mahesh kumar behera
>Priority: Major
> Attachments: gc-root.png
>
>
> in distcp run method, execute is called but the job is not closed. This is 
> causing OOM error in Hive replication. I think in run method , shouldBlock 
> should be set to true and execute should be called within try-with-resources.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Commented] (HADOOP-15697) memory leak in distcp run method

2018-08-27 Thread mahesh kumar behera (JIRA)


[ 
https://issues.apache.org/jira/browse/HADOOP-15697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16593883#comment-16593883
 ] 

mahesh kumar behera commented on HADOOP-15697:
--

 !gc-root.png! 

> memory leak in distcp run method
> 
>
> Key: HADOOP-15697
> URL: https://issues.apache.org/jira/browse/HADOOP-15697
> Project: Hadoop Common
>  Issue Type: Bug
>Reporter: mahesh kumar behera
>Priority: Major
>
> in distcp run method, execute is called but the job is not closed. This is 
> causing OOM error in Hive replication. I think in run method , shouldBlock 
> should be set to true and execute should be called within try-with-resources.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Commented] (HADOOP-15697) memory leak in distcp run method

2018-08-27 Thread mahesh kumar behera (JIRA)


[ 
https://issues.apache.org/jira/browse/HADOOP-15697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16593882#comment-16593882
 ] 

mahesh kumar behera commented on HADOOP-15697:
--

https://docs.google.com/document/d/1RNcAcRbATM7RfYboGLSpTmbzHbHPsrU8tRo9O9pPOZM/edit?usp=sharing

[~jojochuang]
The hprof file is shared. 



> memory leak in distcp run method
> 
>
> Key: HADOOP-15697
> URL: https://issues.apache.org/jira/browse/HADOOP-15697
> Project: Hadoop Common
>  Issue Type: Bug
>Reporter: mahesh kumar behera
>Priority: Major
>
> in distcp run method, execute is called but the job is not closed. This is 
> causing OOM error in Hive replication. I think in run method , shouldBlock 
> should be set to true and execute should be called within try-with-resources.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Commented] (HADOOP-15697) memory leak in distcp run method

2018-08-27 Thread Wei-Chiu Chuang (JIRA)


[ 
https://issues.apache.org/jira/browse/HADOOP-15697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16593620#comment-16593620
 ] 

Wei-Chiu Chuang commented on HADOOP-15697:
--

Hi [~maheshk114] thanks for reporting the issue. Do you have a heap dump after 
the OOM? Without a heapdump or a stacktrace it's hard to know what went wrong 
exactly.

One source of OOM that we are aware of is the file lists (distcp has to get a 
list of every files) and it can grow to several gigabytes for a large 
directory. This known issue is addressed by HADOOP-12502. But there could be 
other issues as well so we'll need more data to understand better.

> memory leak in distcp run method
> 
>
> Key: HADOOP-15697
> URL: https://issues.apache.org/jira/browse/HADOOP-15697
> Project: Hadoop Common
>  Issue Type: Bug
>Reporter: mahesh kumar behera
>Priority: Major
>
> in distcp run method, execute is called but the job is not closed. This is 
> causing OOM error in Hive replication. I think in run method , shouldBlock 
> should be set to true and execute should be called within try-with-resources.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org