[
https://issues.apache.org/jira/browse/GOBBLIN-1076?focusedWorklogId=401000&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-401000
]
ASF GitHub Bot logged work on GOBBLIN-1076:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 10/Mar/20 21:01
Start Date: 10/Mar/20 21:01
Worklog Time Spent: 10m
Work Description: sv2000 commented on pull request #2916: GOBBLIN-1076:
Make Gobblin cluster working directories configurable
URL: https://github.com/apache/incubator-gobblin/pull/2916#discussion_r390608708
##########
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:
Added logs on the caller side instead of inside the utility method.
----------------------------------------------------------------
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: 401000)
Time Spent: 40m (was: 0.5h)
> 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: 40m
> 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)