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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Akash R Nilugal (Jira)

     [ 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)