You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@slider.apache.org by te...@apache.org on 2015/05/08 05:26:35 UTC
incubator-slider git commit: Copy hbase-env.sh if needed
Repository: incubator-slider
Updated Branches:
refs/heads/develop 82eb7c100 -> 01a3055de
Copy hbase-env.sh if needed
Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/01a3055d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/01a3055d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/01a3055d
Branch: refs/heads/develop
Commit: 01a3055de0d5495344e367f56dc6866581dbcd0b
Parents: 82eb7c1
Author: tedyu <yu...@gmail.com>
Authored: Thu May 7 20:27:17 2015 -0700
Committer: tedyu <yu...@gmail.com>
Committed: Thu May 7 20:27:17 2015 -0700
----------------------------------------------------------------------
app-packages/hbase/hbase-slider.py | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/01a3055d/app-packages/hbase/hbase-slider.py
----------------------------------------------------------------------
diff --git a/app-packages/hbase/hbase-slider.py b/app-packages/hbase/hbase-slider.py
index dc32b0d..2278d98 100644
--- a/app-packages/hbase/hbase-slider.py
+++ b/app-packages/hbase/hbase-slider.py
@@ -250,6 +250,7 @@ HBaseConfFile=os.path.join(local_conf_dir, "hbase-site.xml")
if not exists(local_conf_dir):
shutil.copytree(hbase_conf_dir, local_conf_dir)
else:
+ shutil.copy2(os.path.join(hbase_conf_dir, "hbase-env.sh"), local_conf_dir)
if exists(HBaseConfFile):
diff = os.path.getmtime(HBaseConfFile)-int(time.time())
diff = diff / 60 / 60