[ 
https://issues.apache.org/jira/browse/GOBBLIN-1076?focusedWorklogId=400938&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-400938
 ]

ASF GitHub Bot logged work on GOBBLIN-1076:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 10/Mar/20 19:18
            Start Date: 10/Mar/20 19:18
    Worklog Time Spent: 10m 
      Work Description: autumnust commented on pull request #2916: 
GOBBLIN-1076: Make Gobblin cluster working directories configurable
URL: https://github.com/apache/incubator-gobblin/pull/2916#discussion_r390553518
 
 

 ##########
 File path: 
gobblin-cluster/src/main/java/org/apache/gobblin/cluster/GobblinClusterUtils.java
 ##########
 @@ -63,8 +68,9 @@ public static Path getAppWorkDirPath(FileSystem fs, String 
applicationName, Stri
 
   public static Path getAppWorkDirPathFromConfig(Config config, FileSystem fs,
       String applicationName, String applicationId) {
-    if (config.hasPath(CLUSTER_WORK_DIR)) {
-      return new Path(config.getString(CLUSTER_WORK_DIR));
+    if (config.hasPath(GobblinClusterConfigurationKeys.CLUSTER_WORK_DIR)) {
+      return new Path(new Path(fs.getUri()), 
PathUtils.combinePaths(config.getString(GobblinClusterConfigurationKeys.CLUSTER_WORK_DIR),
 
 Review comment:
   Shall we log the app-specific work directory here, since users may not 
expect applicationName / ID appearing ? 
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 400938)
    Time Spent: 0.5h  (was: 20m)

> Make Gobblin cluster working directories configurable
> -----------------------------------------------------
>
>                 Key: GOBBLIN-1076
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-1076
>             Project: Apache Gobblin
>          Issue Type: Improvement
>          Components: gobblin-cluster
>    Affects Versions: 0.15.0
>            Reporter: Sudarshan Vasudevan
>            Assignee: Hung Tran
>            Priority: Major
>             Fix For: 0.15.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Currently, the root path for the cluster working directory is derived from 
> user's home directory. This task allows the root directory to be configurable.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to