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 B6C4C200C30 for ; Tue, 21 Feb 2017 03:59:48 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id B54F0160B76; Tue, 21 Feb 2017 02:59:48 +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 0D31E160B73 for ; Tue, 21 Feb 2017 03:59:47 +0100 (CET) Received: (qmail 58108 invoked by uid 500); 21 Feb 2017 02:59:47 -0000 Mailing-List: contact issues-help@carbondata.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@carbondata.incubator.apache.org Delivered-To: mailing list issues@carbondata.incubator.apache.org Received: (qmail 58098 invoked by uid 99); 21 Feb 2017 02:59:47 -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; Tue, 21 Feb 2017 02:59:47 +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 CC6B5C6CCA for ; Tue, 21 Feb 2017 02:59:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.799 X-Spam-Level: * X-Spam-Status: No, score=1.799 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-0.001] 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 rcYDIP6kG3Er for ; Tue, 21 Feb 2017 02:59:46 +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 AC4115F5F7 for ; Tue, 21 Feb 2017 02:59:45 +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 BA397E0834 for ; Tue, 21 Feb 2017 02:59:44 +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 1DFBD24127 for ; Tue, 21 Feb 2017 02:59:44 +0000 (UTC) Date: Tue, 21 Feb 2017 02:59:44 +0000 (UTC) From: "Yadong Qi (JIRA)" To: issues@carbondata.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (CARBONDATA-713) Use store location in properties when user didn't pass the location as the parameter MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 21 Feb 2017 02:59:48 -0000 [ https://issues.apache.org/jira/browse/CARBONDATA-713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15875278#comment-15875278 ] Yadong Qi edited comment on CARBONDATA-713 at 2/21/17 2:59 AM: --------------------------------------------------------------- [~chenliang613] Yes, but I configurate the "carbon.storelocation" in carbon.properties, I think it will replace the defalut store location, but actually not. was (Author: waterman): [~chenliang613] Yes, but i configurate the "carbon.storelocation" in carbon.properties, I think it will replace the defalut store location, but actually not. > Use store location in properties when user didn't pass the location as the parameter > ------------------------------------------------------------------------------------ > > Key: CARBONDATA-713 > URL: https://issues.apache.org/jira/browse/CARBONDATA-713 > Project: CarbonData > Issue Type: Bug > Components: spark-integration > Affects Versions: 1.1.0-incubating > Reporter: Yadong Qi > > The store location of carbon comes from three places: > 1. default location path in code(../carbon.store) > 2. configurate "carbon.storelocation" in carbon.properties > 3. pass the location as the parameter > The priority is low to high. > But when I create a CarbonContext or CarbonSession without any parameters and configurate "carbon.storelocation" in carbon.properties, the final value of location is defalut(../carbon.store) -- This message was sent by Atlassian JIRA (v6.3.15#6346)