Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 48FD9200CC5 for ; Tue, 11 Jul 2017 19:56:06 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 47B29166BC2; Tue, 11 Jul 2017 17:56:06 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 69CE3166BC0 for ; Tue, 11 Jul 2017 19:56:05 +0200 (CEST) Received: (qmail 49855 invoked by uid 500); 11 Jul 2017 17:56:02 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 49843 invoked by uid 99); 11 Jul 2017 17:56:01 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Jul 2017 17:56:01 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 27551195B3F for ; Tue, 11 Jul 2017 17:56:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.085 X-Spam-Level: *** X-Spam-Status: No, score=3.085 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FORGED_HOTMAIL_RCVD2=1.187, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=hotmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id iXeToI58z1hM for ; Tue, 11 Jul 2017 17:55:58 +0000 (UTC) Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-oln040092002043.outbound.protection.outlook.com [40.92.2.43]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id B91A462674 for ; Tue, 11 Jul 2017 17:55:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=XAUl9Xw9S9XAQmdcuNBo18dwdB4ymUpAaUP600l4FOM=; b=POVHFB8PP6dspKYLrU2Kcj/MdzcUNesv2WbYEbXikdK6IsuDHbBRkzO2yOSjqUooE/JPjmvVYgbKgr7DZxtUJKASaZ4RrbN865JZn6O/JZTu6r/w1kAzeuFfjRtvTEpTlAqPWMnWYgRjJy7Dm1in8eCxOAo1mfCvRlsdmkbyRPVGhb4Qr6V9jGiRCFomG3cYdYwx10jFW9HJI+FM7aho1VPKyosq3h9gUskLAuZnElUbLqRtUABc9qeCnqSYkbgWQ5iuOVPIlzKuMcf80hIB23+ef9o9dKXjj/IDA9h/4jotKDIKlLfYkcYVAcgiZiUsubRvrQVPWzCbSRhfcvMIlw== Received: from BY2NAM01FT045.eop-nam01.prod.protection.outlook.com (10.152.68.59) by BY2NAM01HT060.eop-nam01.prod.protection.outlook.com (10.152.68.158) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1220.9; Tue, 11 Jul 2017 17:55:40 +0000 Received: from MWHPR14MB1293.namprd14.prod.outlook.com (10.152.68.52) by BY2NAM01FT045.mail.protection.outlook.com (10.152.68.206) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1240.9 via Frontend Transport; Tue, 11 Jul 2017 17:55:40 +0000 Received: from MWHPR14MB1293.namprd14.prod.outlook.com ([10.173.102.19]) by MWHPR14MB1293.namprd14.prod.outlook.com ([10.173.102.19]) with mapi id 15.01.1261.012; Tue, 11 Jul 2017 17:55:41 +0000 From: jeff saremi To: "user@hbase.apache.org" Subject: How to get a list of running tasks in hbase shell? Thread-Topic: How to get a list of running tasks in hbase shell? Thread-Index: AQHS+m63RQJ2FAV63kmxo4AUHbfUXA== Date: Tue, 11 Jul 2017 17:55:40 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: hbase.apache.org; dkim=none (message not signed) header.d=none;hbase.apache.org; dmarc=none action=none header.from=hotmail.com; x-incomingtopheadermarker: OriginalChecksum:C45390E9A413894DDC93D4C2A01801395FE03A894FECD47AE6C3D6BC28CF899D;UpperCasedChecksum:6D5D59E9404B548E4141ED450916106AB0BB9A978E0DF1E2A131EF1D6D2579DD;SizeAsReceived:7066;Count:43 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [RdFYwULFeSRs0UZBb58mqGyZRq7UBULM] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;BY2NAM01HT060;7:XXFfN5re7NUiS4HzYrtq0pK1eBU1SVO5FKdW8FYPaKerBd7+JAIda7lbESxY5quJrvuBCqfQIpglgxt9d2WNEMs/pdNeKeS2CRS85yokKuqSW2vhtQ9GsQ1pP4kuWwY7xYVGVgyRY47aRy2mBvgY8DwOCX+d+BaYS3lcVIRxh168LNB8tP571QYuJ3bEz7+4GUFjzUG8WIW2zcIoYRLt4yiSfANo4qiE0Xz2W7wJYUszsLTTbhFiCAzS8uWkv5MYTMX+Yc9Bb9xbwoJu/jejICeccp1PhsOiLb0owX9mBo5f0whATczmjdvGzTBO/JB8mjoASnGh+NnrxdGCsbWM3i74B0HLR/aMgwGq8fLV+JMgRkxlO3q95d6YoQlQWqAHsw6UYniw0F+Z/sOIeuTDvqIn0Yr8HA7LRmSalriE5kmVJjn0EzkH+d4rar6ifurY21+ykQQbleE1KZ8/ZHXvhCAW7muwBYs2mCZupzIPZIJieaeGJlrQWwVewtND82FSOTGuboM1K7Zzkc9NXY6N1T/UDo5ISOmbLhJPjsdxiHk0/Z3VNCGJ3e6GtVVlk5BQIZ+p9sr3lp9yDMHwSc1XXNzNEf9e6sW9iS3/gVm25li5fZe+FL9O27gM81VTnUpfEsP73GDV52EXdnvSRDIx++SEoZFAli+UF9VdzZztXRc/zymklOg9P3xluf/ZZS4YWhNaR45IZFfqlHVhFvNoRkQgepUFwYU0cRwmTkFaXi21yz5obc5lfQNY/fOTa1KANf+IN/1e2nH5zsc9s9zqXQ== x-incomingheadercount: 43 x-eopattributedmessage: 0 x-forefront-antispam-report: EFV:NLI;SFV:NSPM;SFS:(7070007)(98901004);DIR:OUT;SFP:1901;SCL:1;SRVR:BY2NAM01HT060;H:MWHPR14MB1293.namprd14.prod.outlook.com;FPR:;SPF:None;LANG:en; x-ms-office365-filtering-correlation-id: 5efab4db-5941-44e4-e274-08d4c8860b7f x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201702061074)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322274)(1603101448)(1601125374)(1701031045)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:BY2NAM01HT060; x-ms-traffictypediagnostic: BY2NAM01HT060: x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(444000031);SRVR:BY2NAM01HT060;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:BY2NAM01HT060; x-forefront-prvs: 0365C0E14B spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: multipart/alternative; boundary="_000_MWHPR14MB129381E8FFD14407FAAB9BC2C1AE0MWHPR14MB1293namp_" MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Jul 2017 17:55:40.9560 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2NAM01HT060 archived-at: Tue, 11 Jul 2017 17:56:06 -0000 --_000_MWHPR14MB129381E8FFD14407FAAB9BC2C1AE0MWHPR14MB1293namp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I sent this earlier in another thread. Thought i'd create its own to get an= answer. thanks How do you get an instance of TaskMonitor in Jruby (bin/hbase shell)? I tried the following and didn't result in anything: ---------------------------------------------------------------------------= ---------------------------------- taskmonitor =3D org.apache.hadoop.hbase.monitoring.TaskMonitor.get taskmonitor.get_tasks.each do |task| printf("%s\r\n", task.to_string) end exit ---------------------------------------------------------------------------= ---------------------------------- I was trying to mimic the following code in "hbase-server/src/main/jamon/or= g/apache/hadoop/hbase/tmpl/common/TaskMonitorTmpl.jamon" TaskMonitor taskMonitor =3D TaskMonitor.get(); ... List tasks =3D taskMonitor.getTasks(); --_000_MWHPR14MB129381E8FFD14407FAAB9BC2C1AE0MWHPR14MB1293namp_--