Skip to content

Commit

Permalink
updated check_hadoop_resource_manager_java_gc.py
Browse files Browse the repository at this point in the history
  • Loading branch information
HariSekhon committed Jan 12, 2019
1 parent f7f03e9 commit 1fd2e58
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions check_hadoop_resource_manager_java_gc.py
Expand Up @@ -44,14 +44,14 @@
sys.exit(4)

__author__ = 'Hari Sekhon'
__version__ = '0.1'
__version__ = '0.2'


class CheckHadoopYarnResourceManagerJavaGC(CheckHadoopNameNodeJavaGC):
class CheckHadoopResourceManagerJavaGC(CheckHadoopNameNodeJavaGC):

def __init__(self):
# Python 2.x
super(CheckHadoopYarnResourceManagerJavaGC, self).__init__()
super(CheckHadoopResourceManagerJavaGC, self).__init__()
# Python 3.x
# super().__init__()
self.name = ['Hadoop Yarn Resource Manager', 'Hadoop']
Expand All @@ -64,4 +64,4 @@ def add_options(self):


if __name__ == '__main__':
CheckHadoopYarnResourceManagerJavaGC().main()
CheckHadoopResourceManagerJavaGC().main()

0 comments on commit 1fd2e58

Please sign in to comment.