You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ma...@apache.org on 2013/12/19 23:39:17 UTC
git commit: AMBARI-4128. Add License headers to missing files.
(mahadev)
Updated Branches:
refs/heads/branch-1.4.2 b451a81d6 -> 196b5b615
AMBARI-4128. Add License headers to missing files. (mahadev)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/196b5b61
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/196b5b61
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/196b5b61
Branch: refs/heads/branch-1.4.2
Commit: 196b5b6159cbb798e042e2e7b9caab941b7a55ac
Parents: b451a81
Author: Mahadev Konar <ma...@apache.org>
Authored: Thu Dec 19 14:37:46 2013 -0800
Committer: Mahadev Konar <ma...@apache.org>
Committed: Thu Dec 19 14:37:46 2013 -0800
----------------------------------------------------------------------
ambari-agent/pom.xml | 1 +
.../python/resource_management/core/__init__.py | 7 ++-----
.../main/python/resource_management/core/base.py | 8 +++-----
.../resource_management/core/environment.py | 7 ++-----
.../resource_management/core/exceptions.py | 7 ++-----
.../core/resources/__init__.py | 18 ++++++++++++++++++
.../core/resources/accounts.py | 19 +++++++++++++++++++
.../core/resources/packaging.py | 19 +++++++++++++++++++
.../core/resources/service.py | 19 +++++++++++++++++++
.../resource_management/core/resources/system.py | 19 +++++++++++++++++++
.../python/resource_management/core/shell.py | 8 +++-----
.../python/resource_management/core/source.py | 7 +++----
.../python/resource_management/core/system.py | 7 +++----
.../python/resource_management/core/utils.py | 6 ++----
.../src/main/python/ambari_client/__init__.py | 17 +++++++++++++++++
.../main/python/ambari_client/core/__init__.py | 17 +++++++++++++++++
.../main/python/ambari_client/model/__init__.py | 17 +++++++++++++++++
.../python/ambari_client/resources/__init__.py | 17 +++++++++++++++++
.../src/test/python/utils/HttpClientInvoker.py | 18 ++++++++++++++++++
ambari-server/conf/unix/krb5JAASLogin.conf | 18 ++++++++++++++++++
ambari-server/pom.xml | 4 +++-
.../server/actionmanager/HostRoleStatus.java | 18 ++++++++++++++++++
.../configuration/ComponentSSLConfiguration.java | 18 ++++++++++++++++++
.../server/actionmanager/HostRoleStatusTest.java | 18 ++++++++++++++++++
.../resources/BaseResourceDefinitionTest.java | 17 +++++++++++++++++
.../ComponentSSLConfigurationTest.java | 18 ++++++++++++++++++
.../gsinstaller/GSInstallerNoOpProviderTest.java | 18 ++++++++++++++++++
.../internal/AbstractProviderModuleTest.java | 18 ++++++++++++++++++
.../internal/RequestStatusImplTest.java | 18 ++++++++++++++++++
pom.xml | 4 ++++
30 files changed, 369 insertions(+), 38 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/196b5b61/ambari-agent/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-agent/pom.xml b/ambari-agent/pom.xml
index 51bda92..da0def9 100644
--- a/ambari-agent/pom.xml
+++ b/ambari-agent/pom.xml
@@ -387,6 +387,7 @@
<exclude>src/examples/*</exclude>
<exclude>src/test/python/dummy*.txt</exclude>
<exclude>src/main/python/ambari_agent/imports.txt</exclude>
+ <exclude>src/test/python/ambari_agent/*.txt</exclude>
<exclude>src/main/puppet/modules/stdlib/**</exclude>
<exclude>**/*.erb</exclude>
<exclude>**/*.json</exclude>
http://git-wip-us.apache.org/repos/asf/ambari/blob/196b5b61/ambari-agent/src/main/python/resource_management/core/__init__.py
----------------------------------------------------------------------
diff --git a/ambari-agent/src/main/python/resource_management/core/__init__.py b/ambari-agent/src/main/python/resource_management/core/__init__.py
index 4bb1c8e..ef90759 100644
--- a/ambari-agent/src/main/python/resource_management/core/__init__.py
+++ b/ambari-agent/src/main/python/resource_management/core/__init__.py
@@ -1,5 +1,5 @@
#!/usr/bin/env python2.6
-"""
+'''
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
@@ -15,10 +15,7 @@ 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.
-
-Ambari Agent
-
-"""
+'''
from resource_management.core.base import *
from resource_management.core.environment import *
http://git-wip-us.apache.org/repos/asf/ambari/blob/196b5b61/ambari-agent/src/main/python/resource_management/core/base.py
----------------------------------------------------------------------
diff --git a/ambari-agent/src/main/python/resource_management/core/base.py b/ambari-agent/src/main/python/resource_management/core/base.py
index 70197a2..8e5326e 100644
--- a/ambari-agent/src/main/python/resource_management/core/base.py
+++ b/ambari-agent/src/main/python/resource_management/core/base.py
@@ -1,5 +1,6 @@
#!/usr/bin/env python2.6
-"""
+
+'''
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
@@ -15,10 +16,7 @@ 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.
-
-Ambari Agent
-
-"""
+'''
__all__ = ["Resource", "ResourceArgument", "ForcedListArgument",
"BooleanArgument"]
http://git-wip-us.apache.org/repos/asf/ambari/blob/196b5b61/ambari-agent/src/main/python/resource_management/core/environment.py
----------------------------------------------------------------------
diff --git a/ambari-agent/src/main/python/resource_management/core/environment.py b/ambari-agent/src/main/python/resource_management/core/environment.py
index 59b9de3..50bd94a 100644
--- a/ambari-agent/src/main/python/resource_management/core/environment.py
+++ b/ambari-agent/src/main/python/resource_management/core/environment.py
@@ -1,5 +1,5 @@
#!/usr/bin/env python2.6
-"""
+'''
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
@@ -15,10 +15,7 @@ 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.
-
-Ambari Agent
-
-"""
+'''
__all__ = ["Environment"]
http://git-wip-us.apache.org/repos/asf/ambari/blob/196b5b61/ambari-agent/src/main/python/resource_management/core/exceptions.py
----------------------------------------------------------------------
diff --git a/ambari-agent/src/main/python/resource_management/core/exceptions.py b/ambari-agent/src/main/python/resource_management/core/exceptions.py
index dbeb265..11a2fa0 100644
--- a/ambari-agent/src/main/python/resource_management/core/exceptions.py
+++ b/ambari-agent/src/main/python/resource_management/core/exceptions.py
@@ -1,5 +1,5 @@
#!/usr/bin/env python2.6
-"""
+'''
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
@@ -15,10 +15,7 @@ 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.
-
-Ambari Agent
-
-"""
+'''
class Fail(Exception):
pass
http://git-wip-us.apache.org/repos/asf/ambari/blob/196b5b61/ambari-agent/src/main/python/resource_management/core/resources/__init__.py
----------------------------------------------------------------------
diff --git a/ambari-agent/src/main/python/resource_management/core/resources/__init__.py b/ambari-agent/src/main/python/resource_management/core/resources/__init__.py
index c4150ed..e2cf132 100644
--- a/ambari-agent/src/main/python/resource_management/core/resources/__init__.py
+++ b/ambari-agent/src/main/python/resource_management/core/resources/__init__.py
@@ -1,3 +1,21 @@
+'''
+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.
+
+'''
from resource_management.core.resources.accounts import *
from resource_management.core.resources.packaging import *
from resource_management.core.resources.service import *
http://git-wip-us.apache.org/repos/asf/ambari/blob/196b5b61/ambari-agent/src/main/python/resource_management/core/resources/accounts.py
----------------------------------------------------------------------
diff --git a/ambari-agent/src/main/python/resource_management/core/resources/accounts.py b/ambari-agent/src/main/python/resource_management/core/resources/accounts.py
index cd86de2..cecbc85 100644
--- a/ambari-agent/src/main/python/resource_management/core/resources/accounts.py
+++ b/ambari-agent/src/main/python/resource_management/core/resources/accounts.py
@@ -1,3 +1,22 @@
+'''
+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.
+
+'''
+
__all__ = ["Group", "User"]
from resource_management.core.base import Resource, ForcedListArgument, ResourceArgument, BooleanArgument
http://git-wip-us.apache.org/repos/asf/ambari/blob/196b5b61/ambari-agent/src/main/python/resource_management/core/resources/packaging.py
----------------------------------------------------------------------
diff --git a/ambari-agent/src/main/python/resource_management/core/resources/packaging.py b/ambari-agent/src/main/python/resource_management/core/resources/packaging.py
index 8ca4534..239b00b 100644
--- a/ambari-agent/src/main/python/resource_management/core/resources/packaging.py
+++ b/ambari-agent/src/main/python/resource_management/core/resources/packaging.py
@@ -1,3 +1,22 @@
+'''
+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.
+
+'''
+
__all__ = ["Package"]
from resource_management.core.base import Resource, ForcedListArgument, ResourceArgument
http://git-wip-us.apache.org/repos/asf/ambari/blob/196b5b61/ambari-agent/src/main/python/resource_management/core/resources/service.py
----------------------------------------------------------------------
diff --git a/ambari-agent/src/main/python/resource_management/core/resources/service.py b/ambari-agent/src/main/python/resource_management/core/resources/service.py
index 94f03b2..a5692c5 100644
--- a/ambari-agent/src/main/python/resource_management/core/resources/service.py
+++ b/ambari-agent/src/main/python/resource_management/core/resources/service.py
@@ -1,3 +1,22 @@
+'''
+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.
+
+'''
+
__all__ = ["Service"]
from resource_management.core.base import Resource, ResourceArgument, ForcedListArgument
http://git-wip-us.apache.org/repos/asf/ambari/blob/196b5b61/ambari-agent/src/main/python/resource_management/core/resources/system.py
----------------------------------------------------------------------
diff --git a/ambari-agent/src/main/python/resource_management/core/resources/system.py b/ambari-agent/src/main/python/resource_management/core/resources/system.py
index c8c31e3..c48b4b7 100644
--- a/ambari-agent/src/main/python/resource_management/core/resources/system.py
+++ b/ambari-agent/src/main/python/resource_management/core/resources/system.py
@@ -1,3 +1,22 @@
+'''
+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.
+
+'''
+
__all__ = ["File", "Directory", "Link", "Execute", "ExecuteScript", "Mount"]
from resource_management.core.base import Resource, ForcedListArgument, ResourceArgument, BooleanArgument
http://git-wip-us.apache.org/repos/asf/ambari/blob/196b5b61/ambari-agent/src/main/python/resource_management/core/shell.py
----------------------------------------------------------------------
diff --git a/ambari-agent/src/main/python/resource_management/core/shell.py b/ambari-agent/src/main/python/resource_management/core/shell.py
index 3c244b5..fcc6e32 100644
--- a/ambari-agent/src/main/python/resource_management/core/shell.py
+++ b/ambari-agent/src/main/python/resource_management/core/shell.py
@@ -1,5 +1,6 @@
#!/usr/bin/env python2.6
-"""
+
+'''
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
@@ -15,10 +16,7 @@ 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.
-
-Ambari Agent
-
-"""
+'''
__all__ = ["checked_call"]
http://git-wip-us.apache.org/repos/asf/ambari/blob/196b5b61/ambari-agent/src/main/python/resource_management/core/source.py
----------------------------------------------------------------------
diff --git a/ambari-agent/src/main/python/resource_management/core/source.py b/ambari-agent/src/main/python/resource_management/core/source.py
index 369b84c..26da46f 100644
--- a/ambari-agent/src/main/python/resource_management/core/source.py
+++ b/ambari-agent/src/main/python/resource_management/core/source.py
@@ -1,5 +1,6 @@
#!/usr/bin/env python2.6
-"""
+
+'''
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
@@ -16,9 +17,7 @@ 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.
-Ambari Agent
-
-"""
+'''
from __future__ import with_statement
from resource_management.core.environment import Environment
http://git-wip-us.apache.org/repos/asf/ambari/blob/196b5b61/ambari-agent/src/main/python/resource_management/core/system.py
----------------------------------------------------------------------
diff --git a/ambari-agent/src/main/python/resource_management/core/system.py b/ambari-agent/src/main/python/resource_management/core/system.py
index 296dc04..965a0be 100644
--- a/ambari-agent/src/main/python/resource_management/core/system.py
+++ b/ambari-agent/src/main/python/resource_management/core/system.py
@@ -1,5 +1,6 @@
#!/usr/bin/env python2.6
-"""
+
+'''
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
@@ -16,9 +17,7 @@ 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.
-Ambari Agent
-
-"""
+'''
__all__ = ["System"]
http://git-wip-us.apache.org/repos/asf/ambari/blob/196b5b61/ambari-agent/src/main/python/resource_management/core/utils.py
----------------------------------------------------------------------
diff --git a/ambari-agent/src/main/python/resource_management/core/utils.py b/ambari-agent/src/main/python/resource_management/core/utils.py
index b8606a7..ab87c75 100644
--- a/ambari-agent/src/main/python/resource_management/core/utils.py
+++ b/ambari-agent/src/main/python/resource_management/core/utils.py
@@ -1,5 +1,5 @@
#!/usr/bin/env python2.6
-"""
+'''
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
@@ -16,9 +16,7 @@ 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.
-Ambari Agent
-
-"""
+'''
from resource_management.core.exceptions import Fail
http://git-wip-us.apache.org/repos/asf/ambari/blob/196b5b61/ambari-client/src/main/python/ambari_client/__init__.py
----------------------------------------------------------------------
diff --git a/ambari-client/src/main/python/ambari_client/__init__.py b/ambari-client/src/main/python/ambari_client/__init__.py
index e69de29..62aeca1 100755
--- a/ambari-client/src/main/python/ambari_client/__init__.py
+++ b/ambari-client/src/main/python/ambari_client/__init__.py
@@ -0,0 +1,17 @@
+'''
+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.
+'''
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/196b5b61/ambari-client/src/main/python/ambari_client/core/__init__.py
----------------------------------------------------------------------
diff --git a/ambari-client/src/main/python/ambari_client/core/__init__.py b/ambari-client/src/main/python/ambari_client/core/__init__.py
index e69de29..62aeca1 100755
--- a/ambari-client/src/main/python/ambari_client/core/__init__.py
+++ b/ambari-client/src/main/python/ambari_client/core/__init__.py
@@ -0,0 +1,17 @@
+'''
+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.
+'''
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/196b5b61/ambari-client/src/main/python/ambari_client/model/__init__.py
----------------------------------------------------------------------
diff --git a/ambari-client/src/main/python/ambari_client/model/__init__.py b/ambari-client/src/main/python/ambari_client/model/__init__.py
index e69de29..62aeca1 100755
--- a/ambari-client/src/main/python/ambari_client/model/__init__.py
+++ b/ambari-client/src/main/python/ambari_client/model/__init__.py
@@ -0,0 +1,17 @@
+'''
+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.
+'''
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/196b5b61/ambari-client/src/main/python/ambari_client/resources/__init__.py
----------------------------------------------------------------------
diff --git a/ambari-client/src/main/python/ambari_client/resources/__init__.py b/ambari-client/src/main/python/ambari_client/resources/__init__.py
index e69de29..62aeca1 100755
--- a/ambari-client/src/main/python/ambari_client/resources/__init__.py
+++ b/ambari-client/src/main/python/ambari_client/resources/__init__.py
@@ -0,0 +1,17 @@
+'''
+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.
+'''
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/196b5b61/ambari-client/src/test/python/utils/HttpClientInvoker.py
----------------------------------------------------------------------
diff --git a/ambari-client/src/test/python/utils/HttpClientInvoker.py b/ambari-client/src/test/python/utils/HttpClientInvoker.py
index 7c72b3e..9246cc6 100644
--- a/ambari-client/src/test/python/utils/HttpClientInvoker.py
+++ b/ambari-client/src/test/python/utils/HttpClientInvoker.py
@@ -1,3 +1,21 @@
+'''
+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.
+'''
+
class HttpClientInvoker():
@staticmethod
def http_client_invoke_side_effects(*args, **kwargs):
http://git-wip-us.apache.org/repos/asf/ambari/blob/196b5b61/ambari-server/conf/unix/krb5JAASLogin.conf
----------------------------------------------------------------------
diff --git a/ambari-server/conf/unix/krb5JAASLogin.conf b/ambari-server/conf/unix/krb5JAASLogin.conf
index b667081..4095515 100644
--- a/ambari-server/conf/unix/krb5JAASLogin.conf
+++ b/ambari-server/conf/unix/krb5JAASLogin.conf
@@ -1,3 +1,21 @@
+/**
+ * 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.
+ */
+
com.sun.security.jgss.initiate {
com.sun.security.auth.module.Krb5LoginModule required
renewTGT=true
http://git-wip-us.apache.org/repos/asf/ambari/blob/196b5b61/ambari-server/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-server/pom.xml b/ambari-server/pom.xml
index bf7ae8c..9149058 100644
--- a/ambari-server/pom.xml
+++ b/ambari-server/pom.xml
@@ -116,7 +116,8 @@
<exclude>derby.log</exclude>
<exclude>src/test/resources/users.ldif</exclude>
<exclude>src/test/resources/gsInstaller-hosts.txt</exclude>
- <exclude>src/test/resources/temporal_ganglia_data.txt</exclude>
+ <exclude>src/test/resources/*.txt</exclude>
+ <exclude>src/test/resources/*.ldif</exclude>
<exclude>src/test/resources/users.ldif</exclude>
<exclude>src/main/resources/ca.config</exclude>
<exclude>src/main/resources/hive-schema-0.10.0.oracle.sql</exclude>
@@ -125,6 +126,7 @@
<exclude>src/main/resources/db/index.txt</exclude>
<exclude>conf/unix/ca.config</exclude>
<exclude>**/*.json</exclude>
+ <exclude>**/*.j2</exclude>
<!--gitignore content-->
<exclude>src/main/resources/db/newcerts/**</exclude>
http://git-wip-us.apache.org/repos/asf/ambari/blob/196b5b61/ambari-server/src/main/java/org/apache/ambari/server/actionmanager/HostRoleStatus.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/actionmanager/HostRoleStatus.java b/ambari-server/src/main/java/org/apache/ambari/server/actionmanager/HostRoleStatus.java
index 84b8f93..d5552e3 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/actionmanager/HostRoleStatus.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/actionmanager/HostRoleStatus.java
@@ -17,6 +17,24 @@
*/
package org.apache.ambari.server.actionmanager;
+/**
+ * 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.
+ */
+
public enum HostRoleStatus {
PENDING(0), //Not queued for a host
QUEUED(1), //Queued for a host
http://git-wip-us.apache.org/repos/asf/ambari/blob/196b5b61/ambari-server/src/main/java/org/apache/ambari/server/configuration/ComponentSSLConfiguration.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/configuration/ComponentSSLConfiguration.java b/ambari-server/src/main/java/org/apache/ambari/server/configuration/ComponentSSLConfiguration.java
index fe5e249..0626e3c 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/configuration/ComponentSSLConfiguration.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/configuration/ComponentSSLConfiguration.java
@@ -1,3 +1,21 @@
+/**
+ * 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.
+ */
+
package org.apache.ambari.server.configuration;
/**
http://git-wip-us.apache.org/repos/asf/ambari/blob/196b5b61/ambari-server/src/test/java/org/apache/ambari/server/actionmanager/HostRoleStatusTest.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/java/org/apache/ambari/server/actionmanager/HostRoleStatusTest.java b/ambari-server/src/test/java/org/apache/ambari/server/actionmanager/HostRoleStatusTest.java
index 000815b..5e29100 100644
--- a/ambari-server/src/test/java/org/apache/ambari/server/actionmanager/HostRoleStatusTest.java
+++ b/ambari-server/src/test/java/org/apache/ambari/server/actionmanager/HostRoleStatusTest.java
@@ -1,3 +1,21 @@
+/**
+ * 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.
+ */
+
package org.apache.ambari.server.actionmanager;
import org.junit.Assert;
http://git-wip-us.apache.org/repos/asf/ambari/blob/196b5b61/ambari-server/src/test/java/org/apache/ambari/server/api/resources/BaseResourceDefinitionTest.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/java/org/apache/ambari/server/api/resources/BaseResourceDefinitionTest.java b/ambari-server/src/test/java/org/apache/ambari/server/api/resources/BaseResourceDefinitionTest.java
index 86b0603..0e6a4dc 100644
--- a/ambari-server/src/test/java/org/apache/ambari/server/api/resources/BaseResourceDefinitionTest.java
+++ b/ambari-server/src/test/java/org/apache/ambari/server/api/resources/BaseResourceDefinitionTest.java
@@ -1,3 +1,20 @@
+/**
+ * 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.
+ */
package org.apache.ambari.server.api.resources;
import org.apache.ambari.server.api.handlers.BaseManagementHandler;
http://git-wip-us.apache.org/repos/asf/ambari/blob/196b5b61/ambari-server/src/test/java/org/apache/ambari/server/configuration/ComponentSSLConfigurationTest.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/java/org/apache/ambari/server/configuration/ComponentSSLConfigurationTest.java b/ambari-server/src/test/java/org/apache/ambari/server/configuration/ComponentSSLConfigurationTest.java
index e8f8b17..d319fab 100644
--- a/ambari-server/src/test/java/org/apache/ambari/server/configuration/ComponentSSLConfigurationTest.java
+++ b/ambari-server/src/test/java/org/apache/ambari/server/configuration/ComponentSSLConfigurationTest.java
@@ -1,3 +1,21 @@
+/**
+ * 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.
+ */
+
package org.apache.ambari.server.configuration;
import org.junit.Assert;
http://git-wip-us.apache.org/repos/asf/ambari/blob/196b5b61/ambari-server/src/test/java/org/apache/ambari/server/controller/gsinstaller/GSInstallerNoOpProviderTest.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/java/org/apache/ambari/server/controller/gsinstaller/GSInstallerNoOpProviderTest.java b/ambari-server/src/test/java/org/apache/ambari/server/controller/gsinstaller/GSInstallerNoOpProviderTest.java
index f0e66cd..d00a0d0 100644
--- a/ambari-server/src/test/java/org/apache/ambari/server/controller/gsinstaller/GSInstallerNoOpProviderTest.java
+++ b/ambari-server/src/test/java/org/apache/ambari/server/controller/gsinstaller/GSInstallerNoOpProviderTest.java
@@ -1,3 +1,21 @@
+/**
+ * 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.
+ */
+
package org.apache.ambari.server.controller.gsinstaller;
import junit.framework.Assert;
http://git-wip-us.apache.org/repos/asf/ambari/blob/196b5b61/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/AbstractProviderModuleTest.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/AbstractProviderModuleTest.java b/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/AbstractProviderModuleTest.java
index 36410c9..4b90a39 100644
--- a/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/AbstractProviderModuleTest.java
+++ b/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/AbstractProviderModuleTest.java
@@ -1,3 +1,21 @@
+/**
+ * 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.
+ */
+
package org.apache.ambari.server.controller.internal;
import org.apache.ambari.server.controller.spi.NoSuchParentResourceException;
http://git-wip-us.apache.org/repos/asf/ambari/blob/196b5b61/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/RequestStatusImplTest.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/RequestStatusImplTest.java b/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/RequestStatusImplTest.java
index 4863784..cd61822 100644
--- a/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/RequestStatusImplTest.java
+++ b/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/RequestStatusImplTest.java
@@ -1,3 +1,21 @@
+/**
+ * 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.
+ */
+
package org.apache.ambari.server.controller.internal;
import org.apache.ambari.server.controller.spi.RequestStatus;
http://git-wip-us.apache.org/repos/asf/ambari/blob/196b5b61/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 5d86dc0..e3cec90 100644
--- a/pom.xml
+++ b/pom.xml
@@ -131,6 +131,9 @@
<exclude>CHANGES.txt</exclude>
<exclude>pass.txt</exclude>
<exclude>contrib/addons/test/dataServices/jmx/data/cluster_configuration.json.nohbase</exclude>
+ <exclude>contrib/ambari-scom/management-pack/Hadoop_MP/Installer/Assets/EULA.rtf</exclude>
+ <exclude>contrib/ambari-scom/management-pack/Hadoop_MP/ScomPages/Properties/Resources.Designer.cs</exclude>
+
<exclude>version</exclude>
<!--IDE and GIT files-->
@@ -153,6 +156,7 @@
<!--Python Mock library (BSD license)-->
<exclude>ambari-common/src/test/python/mock/**</exclude>
+ <exclude>ambari-common/src/main/python/jinja2/**</exclude>
</excludes>
</configuration>