Repository: ambari Updated Branches: refs/heads/trunk d69a418ff -> 727b7ac9f
AMBARI-7629 Update default startup.properties for Falcon HDP2.2 (dsen) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/727b7ac9 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/727b7ac9 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/727b7ac9 Branch: refs/heads/trunk Commit: 727b7ac9f6de12712228482e66f065e1bc5e9e27 Parents: d69a418 Author: Dmytro Sen <[email protected]> Authored: Fri Oct 3 15:23:18 2014 +0300 Committer: Dmytro Sen <[email protected]> Committed: Fri Oct 3 17:08:11 2014 +0300 ---------------------------------------------------------------------- .../package/templates/startup.properties.j2 | 89 -------------------- .../configuration/falcon-startup.properties.xml | 84 ++++++++++++++++++ 2 files changed, 84 insertions(+), 89 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/727b7ac9/ambari-server/src/main/resources/stacks/HDP/2.1/services/FALCON/package/templates/startup.properties.j2 ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.1/services/FALCON/package/templates/startup.properties.j2 b/ambari-server/src/main/resources/stacks/HDP/2.1/services/FALCON/package/templates/startup.properties.j2 deleted file mode 100644 index fe661a7..0000000 --- a/ambari-server/src/main/resources/stacks/HDP/2.1/services/FALCON/package/templates/startup.properties.j2 +++ /dev/null @@ -1,89 +0,0 @@ -{# -# 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. -#} - -# -# 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. -# - -#################################################### -#### This is used for falcon packaging only. #### -#################################################### - -*.domain=${falcon.app.type} - -######### Implementation classes ######### -## DONT MODIFY UNLESS SURE ABOUT CHANGE ## -*.workflow.engine.impl=org.apache.falcon.workflow.engine.OozieWorkflowEngine -*.oozie.process.workflow.builder=org.apache.falcon.workflow.OozieProcessWorkflowBuilder -*.oozie.feed.workflow.builder=org.apache.falcon.workflow.OozieFeedWorkflowBuilder -*.journal.impl=org.apache.falcon.transaction.SharedFileSystemJournal -*.SchedulableEntityManager.impl=org.apache.falcon.resource.SchedulableEntityManager -*.ConfigSyncService.impl=org.apache.falcon.resource.ConfigSyncService -*.ProcessInstanceManager.impl=org.apache.falcon.resource.InstanceManager -*.catalog.service.impl=org.apache.falcon.catalog.HiveCatalogService - -*.application.services=org.apache.falcon.entity.store.ConfigurationStore,\ - org.apache.falcon.service.ProcessSubscriberService,\ - org.apache.falcon.rerun.service.RetryService,\ - org.apache.falcon.rerun.service.LateRunService,\ - org.apache.falcon.service.LogCleanupService -prism.application.services=org.apache.falcon.entity.store.ConfigurationStore -*.configstore.listeners=org.apache.falcon.entity.v0.EntityGraph,\ - org.apache.falcon.entity.ColoClusterRelation,\ - org.apache.falcon.group.FeedGroupMap,\ - org.apache.falcon.service.SharedLibraryHostingService -prism.configstore.listeners=org.apache.falcon.entity.v0.EntityGraph,\ - org.apache.falcon.entity.ColoClusterRelation,\ - org.apache.falcon.group.FeedGroupMap -*.broker.impl.class=org.apache.activemq.ActiveMQConnectionFactory -*.shared.libs=activemq-core,ant,geronimo-j2ee-management,hadoop-distcp,jms,json-simple,oozie-client,spring-jms,s4fs-0.1.jar - -######### Implementation classes ######### - -*.config.store.uri={{store_uri}} -*.system.lib.location=${falcon.home}/server/webapp/falcon/WEB-INF/lib -prism.system.lib.location=${falcon.home}/server/webapp/prism/WEB-INF/lib -*.broker.url=tcp://localhost:61616 -*.retry.recorder.path=${falcon.log.dir}/retry - -*.falcon.cleanup.service.frequency=days(1) - -#default time-to-live for a JMS message 3 days (time in minutes) -*.broker.ttlInMins=4320 -*.entity.topic=FALCON.ENTITY.TOPIC -*.max.retry.failure.count=1 - -######### Properties for configuring iMon client and metric ######### -*.internal.queue.size=1000 -*.current.colo=default -*.falcon.authentication.type=simple -*.falcon.http.authentication.type=simple \ No newline at end of file http://git-wip-us.apache.org/repos/asf/ambari/blob/727b7ac9/ambari-server/src/main/resources/stacks/HDP/2.2/services/FALCON/configuration/falcon-startup.properties.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.2/services/FALCON/configuration/falcon-startup.properties.xml b/ambari-server/src/main/resources/stacks/HDP/2.2/services/FALCON/configuration/falcon-startup.properties.xml new file mode 100644 index 0000000..121dce9 --- /dev/null +++ b/ambari-server/src/main/resources/stacks/HDP/2.2/services/FALCON/configuration/falcon-startup.properties.xml @@ -0,0 +1,84 @@ +<?xml-stylesheet type="text/xsl" href="configuration.xsl"?> +<!-- +/** + * 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. + */ +--> +<configuration supports_final="false"> + + <property> + <name>*.journal.impl</name> + <value>org.apache.falcon.transaction.SharedFileSystemJournal</value> + <description>Journal implementation class</description> + </property> + <property> + <name>*.application.services</name> + <value>org.apache.falcon.security.AuthenticationInitializationService,\ + org.apache.falcon.workflow.WorkflowJobEndNotificationService, \ + org.apache.falcon.service.ProcessSubscriberService,\ + org.apache.falcon.entity.store.ConfigurationStore,\ + org.apache.falcon.rerun.service.RetryService,\ + org.apache.falcon.rerun.service.LateRunService,\ + org.apache.falcon.service.LogCleanupService + </value> + <description>Falcon Services</description> + </property> + <property> + <name>prism.application.services</name> + <value>org.apache.falcon.entity.store.ConfigurationStore</value> + <description>Prism Services</description> + </property> + <property> + <name>prism.configstore.listeners</name> + <value>org.apache.falcon.entity.v0.EntityGraph,\ + org.apache.falcon.entity.ColoClusterRelation,\ + org.apache.falcon.group.FeedGroupMap + </value> + <description>Prism Configuration Store Change listeners</description> + </property> + <!--<property>--> + <!--<name>*.workflow.execution.listeners</name>--> + <!--<value> </value>--> + <!--<description>Workflow Job Execution Completion listeners</description>--> + <!--</property>--> + <property> + <name>*.falcon.security.authorization.enabled</name> + <value>false</value> + <description>Authorization Enabled flag</description> + </property> + <property> + <name>*.falcon.security.authorization.superusergroup</name> + <value>falcon</value> + <description>The name of the group of super-users</description> + </property> + <property> + <name>*.falcon.security.authorization.admin.users</name> + <value>falcon,ambari-qa</value> + <description>Admin Users, comma separated users</description> + </property> + <property> + <name>*.falcon.security.authorization.admin.groups</name> + <value>falcon</value> + <description>Admin Group Membership, comma separated users</description> + </property> + <property> + <name>*.falcon.security.authorization.provider</name> + <value>org.apache.falcon.security.DefaultAuthorizationProvider</value> + <description>Authorization Provider Implementation Fully Qualified Class Name</description> + </property> + +</configuration>
