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

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

                Author: ASF GitHub Bot
            Created on: 13/Jul/20 20:35
            Start Date: 13/Jul/20 20:35
    Worklog Time Spent: 10m 
      Work Description: sv2000 commented on a change in pull request #3056:
URL: https://github.com/apache/incubator-gobblin/pull/3056#discussion_r453916541



##########
File path: 
gobblin-cluster/src/main/java/org/apache/gobblin/cluster/GobblinClusterManager.java
##########
@@ -142,23 +142,25 @@
 
   public GobblinClusterManager(String clusterName, String applicationId, 
Config sysConfig,
       Optional<Path> appWorkDirOptional) throws Exception {
+    // Set system properties passed in via application config. As an example, 
Helix uses System#getProperty() for ZK configuration
+    // overrides such as sessionTimeout. In this case, the overrides specified
+    // in the application configuration have to be extracted and set before 
initializing HelixManager.
+    GobblinClusterUtils.setSystemProperties(sysConfig);
+
+    //Add dynamic config
+    this.config = GobblinClusterUtils.addDynamicConfig(sysConfig);

Review comment:
       Yes. Dynamic config generation should happen after system properties are 
set, since some of the config generation (such as temp file locations) depend 
on system properties.




----------------------------------------------------------------
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:
us...@infra.apache.org


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

    Worklog Id:     (was: 458300)
    Time Spent: 1h 40m  (was: 1.5h)

> Provide an option to configure the java tmp dir to the Yarn cache location  
> ----------------------------------------------------------------------------
>
>                 Key: GOBBLIN-1209
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-1209
>             Project: Apache Gobblin
>          Issue Type: Improvement
>          Components: gobblin-yarn
>    Affects Versions: 0.15.0
>            Reporter: Sudarshan Vasudevan
>            Assignee: Abhishek Tiwari
>            Priority: Major
>             Fix For: 0.15.0
>
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> This PR allows the tmp dir to be set to the container's cache location 
> overriding the default setting of /tmp. This requires the the tmp dir system 
> property to dynamically configured to the cache location.  



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

Reply via email to