You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by Eugene Koifman <eu...@workday.com> on 2019/04/09 17:17:53 UTC

JvmPauseMonitor

Hi,
Hive has 2 JvmPauseMonitor classes
https://github.com/apache/hive/blob/master/common/src/java/org/apache/hadoop/hive/common/JvmPauseMonitor.java
https://github.com/apache/hive/blob/master/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/metrics/JvmPauseMonitor.java

both of which are close to copies of Hadoop JvmPauseMonitor
https://github.com/apache/hadoop/blob/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/JvmPauseMonitor.java

Is there a reason not to use one from Hadoop?

Thanks,
Eugene

Re: JvmPauseMonitor

Posted by Gopal Vijayaraghavan <go...@apache.org>.
Hi,
 
>    Is there a reason not to use one from Hadoop?

Historically, yes - it would need a Hadoop-1 shim & that would be a copy of the code.

The 2nd copy exists because of standalone-metastore modules, I guess.

Cheers,
Gopal