From issues-return-17800-archive-asf-public=cust-asf.ponee.io@kylin.apache.org Wed May 30 12:27:08 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 249F118063B for ; Wed, 30 May 2018 12:27:07 +0200 (CEST) Received: (qmail 90198 invoked by uid 500); 30 May 2018 10:27:07 -0000 Mailing-List: contact issues-help@kylin.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kylin.apache.org Delivered-To: mailing list issues@kylin.apache.org Received: (qmail 90189 invoked by uid 99); 30 May 2018 10:27:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 May 2018 10:27:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id D4FB9C9F1C for ; Wed, 30 May 2018 10:27:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.501 X-Spam-Level: X-Spam-Status: No, score=-109.501 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id g55wT-ntDPcn for ; Wed, 30 May 2018 10:27:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 534B55F357 for ; Wed, 30 May 2018 10:27:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 7FD9EE00C8 for ; Wed, 30 May 2018 10:27:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 4A1A121092 for ; Wed, 30 May 2018 10:27:00 +0000 (UTC) Date: Wed, 30 May 2018 10:27:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@kylin.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KYLIN-3336) java.lang.NoSuchMethodException: org.apache.kylin.tool.HBaseUsageExtractor.execute([Ljava.lang.String;) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KYLIN-3336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16494978#comment-16494978 ] ASF GitHub Bot commented on KYLIN-3336: --------------------------------------- shaofengshi closed pull request #128: KYLIN-3336 URL: https://github.com/apache/kylin/pull/128 This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/tool/src/main/java/org/apache/kylin/tool/DiagnosisInfoCLI.java b/tool/src/main/java/org/apache/kylin/tool/DiagnosisInfoCLI.java index 6fe63e4ea4..d960f8f6a9 100644 --- a/tool/src/main/java/org/apache/kylin/tool/DiagnosisInfoCLI.java +++ b/tool/src/main/java/org/apache/kylin/tool/DiagnosisInfoCLI.java @@ -192,7 +192,7 @@ public void run() { projectNames, "-compress", "false", "-submodule", "true" }; logger.info("HBaseUsageExtractor args: " + Arrays.toString(hbaseArgs)); Object extractor = ClassUtil.newInstance("org.apache.kylin.tool.HBaseUsageExtractor"); - Method execute = extractor.getClass().getDeclaredMethod("execute", String[].class); + Method execute = extractor.getClass().getMethod("execute", String[].class); execute.invoke(extractor, (Object) hbaseArgs); } catch (Throwable e) { logger.error("Error in export HBase usage.", e); ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org > java.lang.NoSuchMethodException: org.apache.kylin.tool.HBaseUsageExtractor.execute([Ljava.lang.String;) > ------------------------------------------------------------------------------------------------------- > > Key: KYLIN-3336 > URL: https://issues.apache.org/jira/browse/KYLIN-3336 > Project: Kylin > Issue Type: Bug > Components: Tools, Build and Test > Affects Versions: v2.3.0 > Reporter: Peng Xing > Assignee: Peng Xing > Priority: Minor > Fix For: v2.4.0 > > > When using diag.sh, got following exception: > 2018-04-04 16:14:18,222 ERROR [pool-7-thread-3] tool.DiagnosisInfoCLI:171 : Error in export HBase usage. > java.lang.NoSuchMethodException: org.apache.kylin.tool.HBaseUsageExtractor.execute([Ljava.lang.String;) > at java.lang.Class.getDeclaredMethod(Class.java:2017) > at org.apache.kylin.tool.DiagnosisInfoCLI$3.run(DiagnosisInfoCLI.java:168) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:622) > at java.lang.Thread.run(Thread.java:745) > Because getDeclaredMethod(String name, Class... parameterTypes) can not get the inherited methods -- This message was sent by Atlassian JIRA (v7.6.3#76005)