From issues-return-15107-archive-asf-public=cust-asf.ponee.io@kylin.apache.org Fri Jan 5 18:45:04 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 3DFCC180647 for ; Fri, 5 Jan 2018 18:45:04 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 2E46A160C28; Fri, 5 Jan 2018 17:45:04 +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 73EF6160C15 for ; Fri, 5 Jan 2018 18:45:03 +0100 (CET) Received: (qmail 22754 invoked by uid 500); 5 Jan 2018 17:45:02 -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 22744 invoked by uid 99); 5 Jan 2018 17:45:02 -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; Fri, 05 Jan 2018 17:45:02 +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 2169EC2B34 for ; Fri, 5 Jan 2018 17:45:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.911 X-Spam-Level: X-Spam-Status: No, score=-99.911 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id ZPmoh6IGNadx for ; Fri, 5 Jan 2018 17:45:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 36C725F6C8 for ; Fri, 5 Jan 2018 17:45: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 C05FCE0D22 for ; Fri, 5 Jan 2018 17:45: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 7A544212F8 for ; Fri, 5 Jan 2018 17:45:00 +0000 (UTC) Date: Fri, 5 Jan 2018 17:45:00 +0000 (UTC) From: "Vsevolod Ostapenko (JIRA)" To: issues@kylin.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KYLIN-3139) Failure in map-reduce job due to undefined hdp.version variable when using HDP stack and remote HBase cluster 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-3139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16313524#comment-16313524 ] Vsevolod Ostapenko commented on KYLIN-3139: ------------------------------------------- [~Shaofengshi], I'm not sure who to ask to review my proposed changes to this JIRA. Perhaps you could have a look or direct it to the correct reviewer? Thanks in advance. > Failure in map-reduce job due to undefined hdp.version variable when using HDP stack and remote HBase cluster > ------------------------------------------------------------------------------------------------------------- > > Key: KYLIN-3139 > URL: https://issues.apache.org/jira/browse/KYLIN-3139 > Project: Kylin > Issue Type: Bug > Components: General > Affects Versions: v2.2.0 > Environment: HDP 2.5.6, two cluster setup, Kylin 2.2.0 in a cluster with Hive only, remote HBase cluster for data storage > Reporter: Vsevolod Ostapenko > Assignee: Vsevolod Ostapenko > Priority: Minor > Labels: hdp > Attachments: KYLIN-3139.master.001.patch > > Original Estimate: 24h > Remaining Estimate: 24h > > When running on top of HDP stack and using a setup where Hive and HBase run in different clusters cube build/refresh fails on the step "Extract Fact Table Distinct Columns" with the error > {quote}java.lang.IllegalArgumentException: Unable to parse '/hdp/apps/$\{hdp.version\}/mapreduce/mapreduce.tar.gz#mr-framework' as a URI, check the setting for mapreduce.application.framework.path{quote} > Based on existing JIRA discussions in Ambari project, it's responsibility of a service to set hdp.version Java property. When HBase is not installed as a service in a cluster where Kylin server is running, hbase launcher (invoked by kylin.sh) does not set this property (presumably because HBase in that case is just a client and not a service). > The only suitable workaround found so far is to set property as part of the conf/setenv.sh script. > In order to avoid hard coding of the HDP version info, suggested change to setenv.sh will attempt to detect HDP version at run-time. It should work for all released HDP version from 2.2.x to 2.6.x > In addition to that, it will also try to locate and set Java native library path, when running on top of HDP. -- This message was sent by Atlassian JIRA (v6.4.14#64029)