ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlun...@apache.org
Subject [1/3] ambari git commit: AMBARI-15420: Refactor resource_management library (jluniya)
Date Mon, 21 Mar 2016 18:45:26 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk aa8409fd1 -> 0f3bf8aa8


http://git-wip-us.apache.org/repos/asf/ambari/blob/0f3bf8aa/ambari-server/src/test/python/stacks/2.1/TEZ/test_tez_client.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/python/stacks/2.1/TEZ/test_tez_client.py b/ambari-server/src/test/python/stacks/2.1/TEZ/test_tez_client.py
index ab08776..e53eb4b 100644
--- a/ambari-server/src/test/python/stacks/2.1/TEZ/test_tez_client.py
+++ b/ambari-server/src/test/python/stacks/2.1/TEZ/test_tez_client.py
@@ -75,7 +75,7 @@ class TestTezClient(RMFTestCase):
     get_stack_version_mock.return_value = "2.2.1.0-2067"
     self.assertResourceCalled("Execute", ('ambari-python-wrap', '/usr/bin/hdp-select', 'set',
'hadoop-client', '2.2.1.0-2067'), sudo=True)
 
-    # for now, it's enough that hdp-select is confirmed
+    # for now, it's enough that <stack-selector-tool> is confirmed
 
   @patch("resource_management.libraries.functions.get_stack_version")
   def test_upgrade_23(self, get_stack_version_mock):
@@ -89,7 +89,7 @@ class TestTezClient(RMFTestCase):
     get_stack_version_mock.return_value = "2.2.1.0-2067"
     self.assertResourceCalled("Execute", ('ambari-python-wrap', '/usr/bin/hdp-select', 'set',
'hadoop-client', '2.2.1.0-2067'), sudo=True)
 
-    # for now, it's enough that hdp-select is confirmed
+    # for now, it's enough that <stack-selector-tool> is confirmed
 
   def test_pre_upgrade_restart_23(self):
     config_file = self.get_src_folder()+"/test/python/stacks/2.1/configs/client-upgrade.json"

http://git-wip-us.apache.org/repos/asf/ambari/blob/0f3bf8aa/contrib/views/capacity-scheduler/src/main/resources/view.log4j.properties
----------------------------------------------------------------------
diff --git a/contrib/views/capacity-scheduler/src/main/resources/view.log4j.properties b/contrib/views/capacity-scheduler/src/main/resources/view.log4j.properties
index 1c51fb5..f10b694 100644
--- a/contrib/views/capacity-scheduler/src/main/resources/view.log4j.properties
+++ b/contrib/views/capacity-scheduler/src/main/resources/view.log4j.properties
@@ -1,3 +1,21 @@
+# Copyright 2011 The Apache Software Foundation
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 log4j.appender.capshedView=org.apache.log4j.RollingFileAppender
 log4j.appender.capshedView.File=/var/log/ambari-server/capshed-view.log
 log4j.appender.capshedView.MaxFileSize=80MB

http://git-wip-us.apache.org/repos/asf/ambari/blob/0f3bf8aa/contrib/views/files/src/main/resources/view.log4j.properties
----------------------------------------------------------------------
diff --git a/contrib/views/files/src/main/resources/view.log4j.properties b/contrib/views/files/src/main/resources/view.log4j.properties
index 4340341..18c9d32 100644
--- a/contrib/views/files/src/main/resources/view.log4j.properties
+++ b/contrib/views/files/src/main/resources/view.log4j.properties
@@ -1,3 +1,21 @@
+# Copyright 2011 The Apache Software Foundation
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 log4j.appender.filesView=org.apache.log4j.RollingFileAppender
 log4j.appender.filesView.File=/var/log/ambari-server/files-view.log
 log4j.appender.filesView.MaxFileSize=80MB

http://git-wip-us.apache.org/repos/asf/ambari/blob/0f3bf8aa/contrib/views/hive/src/main/resources/view.log4j.properties
----------------------------------------------------------------------
diff --git a/contrib/views/hive/src/main/resources/view.log4j.properties b/contrib/views/hive/src/main/resources/view.log4j.properties
index 77f8258..b0c61c3 100644
--- a/contrib/views/hive/src/main/resources/view.log4j.properties
+++ b/contrib/views/hive/src/main/resources/view.log4j.properties
@@ -1,3 +1,20 @@
+# Copyright 2011 The Apache Software Foundation
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 log4j.appender.hiveView=org.apache.log4j.RollingFileAppender
 log4j.appender.hiveView.File=/var/log/ambari-server/hive-view.log
 log4j.appender.hiveView.MaxFileSize=80MB

http://git-wip-us.apache.org/repos/asf/ambari/blob/0f3bf8aa/contrib/views/jobs/src/main/resources/view.log4j.properties
----------------------------------------------------------------------
diff --git a/contrib/views/jobs/src/main/resources/view.log4j.properties b/contrib/views/jobs/src/main/resources/view.log4j.properties
index 4007e0e..27c49c5 100644
--- a/contrib/views/jobs/src/main/resources/view.log4j.properties
+++ b/contrib/views/jobs/src/main/resources/view.log4j.properties
@@ -1,3 +1,21 @@
+# Copyright 2011 The Apache Software Foundation
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 log4j.appender.jobsView=org.apache.log4j.RollingFileAppender
 log4j.appender.jobsView.File=/var/log/ambari-server/jobs-view.log
 log4j.appender.jobsView.MaxFileSize=80MB

http://git-wip-us.apache.org/repos/asf/ambari/blob/0f3bf8aa/contrib/views/pig/src/main/resources/view.log4j.properties
----------------------------------------------------------------------
diff --git a/contrib/views/pig/src/main/resources/view.log4j.properties b/contrib/views/pig/src/main/resources/view.log4j.properties
index 38eb5ee..50c19c4 100644
--- a/contrib/views/pig/src/main/resources/view.log4j.properties
+++ b/contrib/views/pig/src/main/resources/view.log4j.properties
@@ -1,3 +1,21 @@
+# Copyright 2011 The Apache Software Foundation
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 log4j.appender.pigView=org.apache.log4j.RollingFileAppender
 log4j.appender.pigView.File=/var/log/ambari-server/pig-view.log
 log4j.appender.pigView.MaxFileSize=80MB

http://git-wip-us.apache.org/repos/asf/ambari/blob/0f3bf8aa/contrib/views/slider/src/main/resources/view.log4j.properties
----------------------------------------------------------------------
diff --git a/contrib/views/slider/src/main/resources/view.log4j.properties b/contrib/views/slider/src/main/resources/view.log4j.properties
index 2eed2ca..1ee9483 100644
--- a/contrib/views/slider/src/main/resources/view.log4j.properties
+++ b/contrib/views/slider/src/main/resources/view.log4j.properties
@@ -1,3 +1,21 @@
+# Copyright 2011 The Apache Software Foundation
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 log4j.appender.sliderView=org.apache.log4j.RollingFileAppender
 log4j.appender.sliderView.File=/var/log/ambari-server/slider-view.log
 log4j.appender.sliderView.MaxFileSize=80MB

http://git-wip-us.apache.org/repos/asf/ambari/blob/0f3bf8aa/contrib/views/storm/src/main/resources/view.log4j.properties
----------------------------------------------------------------------
diff --git a/contrib/views/storm/src/main/resources/view.log4j.properties b/contrib/views/storm/src/main/resources/view.log4j.properties
index a51fb74..c62ca30 100644
--- a/contrib/views/storm/src/main/resources/view.log4j.properties
+++ b/contrib/views/storm/src/main/resources/view.log4j.properties
@@ -1,3 +1,21 @@
+# Copyright 2011 The Apache Software Foundation
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 log4j.appender.stormView=org.apache.log4j.RollingFileAppender
 log4j.appender.stormView.File=/var/log/ambari-server/storm-view.log
 log4j.appender.stormView.MaxFileSize=80MB

http://git-wip-us.apache.org/repos/asf/ambari/blob/0f3bf8aa/contrib/views/tez/src/main/resources/view.log4j.properties
----------------------------------------------------------------------
diff --git a/contrib/views/tez/src/main/resources/view.log4j.properties b/contrib/views/tez/src/main/resources/view.log4j.properties
index c7cf0be..25d16d0 100644
--- a/contrib/views/tez/src/main/resources/view.log4j.properties
+++ b/contrib/views/tez/src/main/resources/view.log4j.properties
@@ -1,3 +1,21 @@
+# Copyright 2011 The Apache Software Foundation
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 log4j.appender.tezView=org.apache.log4j.RollingFileAppender
 log4j.appender.tezView.File=/var/log/ambari-server/tez-view.log
 log4j.appender.tezView.MaxFileSize=80MB


Mime
View raw message