This is an automated email from the ASF dual-hosted git repository.
dsen pushed a commit to branch branch-2.6
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/branch-2.6 by this push:
new c2bbc59 [AMBARI-23308] Tgt cache file is delete before balancer
access it during rebalance HDFS operation (dsen) (#736)
c2bbc59 is described below
commit c2bbc5919e1a1a208239dc480de56b191630c1a6
Author: Dmitry Sen <[email protected]>
AuthorDate: Thu Mar 22 15:07:30 2018 +0200
[AMBARI-23308] Tgt cache file is delete before balancer access it during
rebalance HDFS operation (dsen) (#736)
* [AMBARI-23308] Tgt cache file is delete before balancer access it during
rebalance HDFS operation (dsen)
* [AMBARI-23308] Tgt cache file is delete before balancer access it during
rebalance HDFS operation (dsen) - changes according to the review
---
.../common-services/HDFS/2.1.0.2.0/package/scripts/namenode.py | 6 ------
ambari-server/src/test/python/stacks/2.0.6/HDFS/test_namenode.py | 4 ----
2 files changed, 10 deletions(-)
diff --git
a/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/namenode.py
b/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/namenode.py
index aa00bbe..7fb541b 100644
---
a/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/namenode.py
+++
b/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/namenode.py
@@ -282,12 +282,6 @@ class NameNodeDefault(NameNode):
"operation earlier. The process may take a long time to finish
(hours, even days). If the problem persists "
"please consult with the HDFS administrators if they have
triggred or killed the operation.")
- if params.security_enabled:
- # Delete the kerberos credentials cache (ccache) file
- File(ccache_file_path,
- action = "delete",
- )
-
def get_log_folder(self):
import params
return params.hdfs_log_dir
diff --git a/ambari-server/src/test/python/stacks/2.0.6/HDFS/test_namenode.py
b/ambari-server/src/test/python/stacks/2.0.6/HDFS/test_namenode.py
index 23d88af..fc1ada8 100644
--- a/ambari-server/src/test/python/stacks/2.0.6/HDFS/test_namenode.py
+++ b/ambari-server/src/test/python/stacks/2.0.6/HDFS/test_namenode.py
@@ -1269,10 +1269,6 @@ class TestNamenode(RMFTestCase):
wait_for_finish=False
)
- self.assertResourceCalled('File', ccache_path,
- action = ['delete'],
- )
-
self.assertNoMoreResources()
@patch("os.path.isfile")
--
To stop receiving notification emails like this one, please contact
[email protected].