Repository: falcon Updated Branches: refs/heads/master 37468da5a -> 8736fcbe8
FALCON-1860 ADFProviderService should be optional as default setting Author: yzheng-hortonworks <[email protected]> Reviewers: "Balu <[email protected]>, Venkatesan Ramachandran <[email protected]>, Sowmya Ramesh <[email protected]>" Closes #70 from yzheng-hortonworks/FALCON-1860 Project: http://git-wip-us.apache.org/repos/asf/falcon/repo Commit: http://git-wip-us.apache.org/repos/asf/falcon/commit/8736fcbe Tree: http://git-wip-us.apache.org/repos/asf/falcon/tree/8736fcbe Diff: http://git-wip-us.apache.org/repos/asf/falcon/diff/8736fcbe Branch: refs/heads/master Commit: 8736fcbe835075ebdf345999fc81f185e3ad9fd5 Parents: 37468da Author: yzheng-hortonworks <[email protected]> Authored: Wed Mar 16 14:41:32 2016 -0700 Committer: bvellanki <[email protected]> Committed: Wed Mar 16 14:41:32 2016 -0700 ---------------------------------------------------------------------- addons/adf/README | 8 +++++++- common/src/main/resources/startup.properties | 5 +++-- src/conf/startup.properties | 5 +++-- 3 files changed, 13 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/falcon/blob/8736fcbe/addons/adf/README ---------------------------------------------------------------------- diff --git a/addons/adf/README b/addons/adf/README index 39883b8..5dddca9 100644 --- a/addons/adf/README +++ b/addons/adf/README @@ -30,7 +30,13 @@ like HDInsight Hadoop clusters and Azure Machine Learning. Usage --------- -Falcon reads Azure Service Bus credentials from conf/startup.properties when it starts. +1. ADFProviderService is not enabled by default. Please make sure it is enabled in conf/startup.properties: + +*.application.services= ... + org.apache.falcon.service.ProxyUserService,\ + org.apache.falcon.adfservice.ADFProviderService + +2. Falcon reads Azure Service Bus credentials from conf/startup.properties when it starts. So, the credential needs to be added before starting Falcon, and Falcon needs to be restarted if there is any change in the credential. http://git-wip-us.apache.org/repos/asf/falcon/blob/8736fcbe/common/src/main/resources/startup.properties ---------------------------------------------------------------------- diff --git a/common/src/main/resources/startup.properties b/common/src/main/resources/startup.properties index 2660f24..81d3da1 100644 --- a/common/src/main/resources/startup.properties +++ b/common/src/main/resources/startup.properties @@ -42,8 +42,9 @@ org.apache.falcon.metadata.MetadataMappingService,\ org.apache.falcon.service.LogCleanupService,\ org.apache.falcon.service.GroupsService,\ - org.apache.falcon.service.ProxyUserService,\ - org.apache.falcon.adfservice.ADFProviderService + org.apache.falcon.service.ProxyUserService +## Add if you want to use Falcon Azure integration ## +# org.apache.falcon.adfservice.ADFProviderService ## If you wish to use Falcon native scheduler add the commented out services below to application.services ## # org.apache.falcon.notification.service.impl.JobCompletionService,\ # org.apache.falcon.notification.service.impl.SchedulerService,\ http://git-wip-us.apache.org/repos/asf/falcon/blob/8736fcbe/src/conf/startup.properties ---------------------------------------------------------------------- diff --git a/src/conf/startup.properties b/src/conf/startup.properties index f489096..f23337b 100644 --- a/src/conf/startup.properties +++ b/src/conf/startup.properties @@ -50,8 +50,9 @@ org.apache.falcon.metadata.MetadataMappingService,\ org.apache.falcon.service.LogCleanupService,\ org.apache.falcon.service.GroupsService,\ - org.apache.falcon.service.ProxyUserService,\ - org.apache.falcon.adfservice.ADFProviderService + org.apache.falcon.service.ProxyUserService +## Add if you want to use Falcon Azure integration ## +# org.apache.falcon.adfservice.ADFProviderService ## If you wish to use Falcon native scheduler uncomment out below application services and comment out above application services ## #*.application.services=org.apache.falcon.security.AuthenticationInitializationService,\ # org.apache.falcon.workflow.WorkflowJobEndNotificationService, \
