Repository: falcon
Updated Branches:
  refs/heads/0.10 11ca2a0eb -> b2e1296bd


FALCON-2032 Update the extension documentation to add ExtensionService before 
ConfigurationStore in startup properties

Author: Sowmya Ramesh <[email protected]>

Reviewers: Balu Vellanki <[email protected]>

Closes #186 from sowmyaramesh/FALCON-2032

(cherry picked from commit df10d5ac333813edc9a6025b8f3098bd8d3e79db)
Signed-off-by: Sowmya Ramesh <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/falcon/commit/b2e1296b
Tree: http://git-wip-us.apache.org/repos/asf/falcon/tree/b2e1296b
Diff: http://git-wip-us.apache.org/repos/asf/falcon/diff/b2e1296b

Branch: refs/heads/0.10
Commit: b2e1296bdabdc58c104a2858aef483719cf5bc42
Parents: 11ca2a0
Author: Sowmya Ramesh <[email protected]>
Authored: Wed Jun 15 17:25:51 2016 -0700
Committer: Sowmya Ramesh <[email protected]>
Committed: Wed Jun 15 17:27:19 2016 -0700

----------------------------------------------------------------------
 common/src/main/resources/startup.properties | 4 ++--
 docs/src/site/twiki/Extensions.twiki         | 3 ++-
 src/conf/startup.properties                  | 5 +++--
 webapp/src/test/resources/startup.properties | 4 ++--
 4 files changed, 9 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/falcon/blob/b2e1296b/common/src/main/resources/startup.properties
----------------------------------------------------------------------
diff --git a/common/src/main/resources/startup.properties 
b/common/src/main/resources/startup.properties
index 8ce1174..0990035 100644
--- a/common/src/main/resources/startup.properties
+++ b/common/src/main/resources/startup.properties
@@ -34,6 +34,7 @@
 
*.application.services=org.apache.falcon.security.AuthenticationInitializationService,\
                         
org.apache.falcon.workflow.WorkflowJobEndNotificationService, \
                         org.apache.falcon.service.ProcessSubscriberService,\
+                        org.apache.falcon.extensions.ExtensionService,\
                         org.apache.falcon.service.FeedSLAMonitoringService,\
                         org.apache.falcon.service.LifecyclePolicyMap,\
                         org.apache.falcon.entity.store.ConfigurationStore,\
@@ -43,8 +44,7 @@
                         org.apache.falcon.service.LogCleanupService,\
                         org.apache.falcon.service.GroupsService,\
                         org.apache.falcon.service.ProxyUserService,\
-                        org.apache.falcon.service.FalconJPAService,\
-                        org.apache.falcon.extensions.ExtensionService
+                        org.apache.falcon.service.FalconJPAService
 ##Add if you want to send data to graphite
 #                        org.apache.falcon.metrics.MetricNotificationService\
 ## Add if you want to use Falcon Azure integration ##

http://git-wip-us.apache.org/repos/asf/falcon/blob/b2e1296b/docs/src/site/twiki/Extensions.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/Extensions.twiki 
b/docs/src/site/twiki/Extensions.twiki
index cf88c87..a3fed4e 100644
--- a/docs/src/site/twiki/Extensions.twiki
+++ b/docs/src/site/twiki/Extensions.twiki
@@ -53,6 +53,7 @@ config name: *.application.services
 config value: org.apache.falcon.extensions.ExtensionService
 </verbatim>
 
+ExtensionService should be added before ConfigurationStore in startup 
properties for application services configuration.
 For manual installation user is expected to update "extension.store.uri" 
property defined in startup properties with
 HDFS path where the extension artifacts will be copied to.
 Extension artifacts in addons/extensions are packaged in falcon. For manual 
installation once the Falcon Server is setup user is expected to copy the 
extension artifacts under {falcon-server-dir}/extensions to HDFS at 
"extension.store.uri" path defined in startup properties and then restart 
Falcon.
@@ -60,5 +61,5 @@ Extension artifacts in addons/extensions are packaged in 
falcon. For manual inst
 ---++ Migration
 Recipes framework and HDFS mirroring capability was added in Apache Falcon 
0.6.0 release and it was client side logic. With 0.10 release its moved to 
server side and renamed as server side extensions. Client side recipes only had 
CLI support and expected certain pre steps to get it working. This is no longer 
required in 0.10 release as new CLI and REST API support has been provided.
 
-If user is migrating to 0.10 release and above then old Recipe setup and CLI's 
won't work. For manual installation user is expected to copy Extension 
artifacts to HDFS. Please refer "Packaging and installation" section above for 
more details.
+Migrating to 0.10 release and above is not backward compatible for Recipes. If 
user is migrating to 0.10 release and above then old Recipe setup and CLI's 
won't work. For manual installation user is expected to copy Extension 
artifacts to HDFS. Please refer "Packaging and installation" section above for 
more details.
 Please Refer to [[falconcli/FalconCLI][Falcon CLI]] and 
[[restapi/ResourceList][REST API]] for more details on usage of CLI and REST 
API's for extension jobs and instances management.

http://git-wip-us.apache.org/repos/asf/falcon/blob/b2e1296b/src/conf/startup.properties
----------------------------------------------------------------------
diff --git a/src/conf/startup.properties b/src/conf/startup.properties
index 00ac4cd..ae50d51 100644
--- a/src/conf/startup.properties
+++ b/src/conf/startup.properties
@@ -42,6 +42,7 @@
 
*.application.services=org.apache.falcon.security.AuthenticationInitializationService,\
                         
org.apache.falcon.workflow.WorkflowJobEndNotificationService, \
                         org.apache.falcon.service.ProcessSubscriberService,\
+                        org.apache.falcon.extensions.ExtensionService,\
                         org.apache.falcon.service.LifecyclePolicyMap,\
                         org.apache.falcon.entity.store.ConfigurationStore,\
                         org.apache.falcon.rerun.service.RetryService,\
@@ -49,8 +50,8 @@
                         org.apache.falcon.metadata.MetadataMappingService,\
                         org.apache.falcon.service.LogCleanupService,\
                         org.apache.falcon.service.GroupsService,\
-                        org.apache.falcon.service.ProxyUserService,\
-                        org.apache.falcon.extensions.ExtensionService
+                        org.apache.falcon.service.ProxyUserService
+
 ##For feed SLA monitoring enable these two
 #                        org.apache.falcon.service.FalconJPAService,\
 #                        org.apache.falcon.service.FeedSLAMonitoringService,\

http://git-wip-us.apache.org/repos/asf/falcon/blob/b2e1296b/webapp/src/test/resources/startup.properties
----------------------------------------------------------------------
diff --git a/webapp/src/test/resources/startup.properties 
b/webapp/src/test/resources/startup.properties
index fd62bc4..1cfebab 100644
--- a/webapp/src/test/resources/startup.properties
+++ b/webapp/src/test/resources/startup.properties
@@ -32,6 +32,7 @@
 
*.application.services=org.apache.falcon.security.AuthenticationInitializationService,\
                         
org.apache.falcon.workflow.WorkflowJobEndNotificationService, \
                         org.apache.falcon.service.ProcessSubscriberService,\
+                        org.apache.falcon.extensions.ExtensionService,\
                         org.apache.falcon.service.FalconJPAService,\
                         org.apache.falcon.entity.store.ConfigurationStore,\
                         org.apache.falcon.rerun.service.RetryService,\
@@ -42,8 +43,7 @@
                         
org.apache.falcon.notification.service.impl.SchedulerService,\
                         
org.apache.falcon.notification.service.impl.AlarmService,\
                         
org.apache.falcon.notification.service.impl.DataAvailabilityService,\
-                        org.apache.falcon.execution.FalconExecutionService,\
-                        org.apache.falcon.extensions.ExtensionService
+                        org.apache.falcon.execution.FalconExecutionService
 
 ##### Falcon Configuration Store Change listeners #####
 *.configstore.listeners=org.apache.falcon.entity.v0.EntityGraph,\

Reply via email to