You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "Ravindra Pesala (Jira)" <ji...@apache.org> on 2019/08/20 11:06:00 UTC

[jira] [Updated] (CARBONDATA-3388) Optimize the way to acquire project or root path

     [ https://issues.apache.org/jira/browse/CARBONDATA-3388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ravindra Pesala updated CARBONDATA-3388:
----------------------------------------
    Fix Version/s:     (was: 1.6.0)

> Optimize the way to acquire project or root path 
> -------------------------------------------------
>
>                 Key: CARBONDATA-3388
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-3388
>             Project: CarbonData
>          Issue Type: Improvement
>          Components: core, examples, spark-integration
>    Affects Versions: 1.5.3
>            Reporter: lamber-ken
>            Priority: Major
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> For now, to acquire the root path of project path was called by
> {code:java}
> val rootPath = new File(this.getClass.getResource("/").getPath  + "../../../..").getCanonicalPath
> {code}
> we can use a simpler approach to optimize
> {code:java}
> System.getProperty("user.dir")
> {code}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)