Hann0321 commented on code in PR #3681:
URL: https://github.com/apache/ambari/pull/3681#discussion_r1161560950


##########
ambari-agent/src/main/python/ambari_agent/AmbariConfig.py:
##########
@@ -200,27 +200,27 @@ def cache_dir(self):
 
   @property
   def cluster_cache_dir(self):
-    return os.path.join(self.cache_dir, FileCache.CLUSTER_CACHE_DIRECTORY)
+    return os.path.join('ambari_agent', 'dummy_files')

Review Comment:
   When we try to test python3, we find that the corresponding path cannot be 
obtained. However, the default path obtained by python2 is this path. 
Therefore, the code is changed to dummy_files during the test of python3.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to