Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ServiceStandalone (Yes/No)Preview (Yes/No)Description
userInterfaceService
YesNoWe don't want to run UI separately.
trackerAppCreationService
YesNoTracker app is for exploring meta data, this should be on real data (standalone) and not preview data.
router
YesNo
streamService
YesNo
exploreExecutorService
YesNo
exploreClientwe don't want to run another router, existing router should be able to discover and router to preview service.
streamService
YesNo 
metadataServiceexploreExecutorService
YesNo ( since we use remote dataset framework for

datasets in user namespace, they should have metadata by default)

serviceStore (set/get service instances)
No requirement to explore data in preview
exploreClient
YesNoappFabricServerYesNo
previewServer
NoYes
datasetService
YesYes
No requirement to explore data in preview
metadataService
Yes

No

Metadata service just starts a service with Metadata and Lineage handler. which is used by user to add user-level meta data. CDAP System uses Metadata Store to emit system level metadata.

since we use remote dataset framework for system level dataset, we need to check if that will be enough to emit metadata in system dataset or do we need to share meta data store.

serviceStore (set/get service instances)
YesNoPreview service runs as a single instance and works on small input set, doesn't need many instances, so we wouldn't need a serviceStore to increase/decrease preview instances.
appFabricServer
YesNoAppFabric has many services which we wouldn't need, PreviewServer can include just the required services.
previewServer
NoYesNew addition
datasetService
YesYesWe have a new shared dataset framework, need dataset service to handle dataset requests.
metricsQueryService
YesNo (Can call user MetricStore query)to query directly, as our requirement for metrics is straightforward. we will return all metrics emitted by a preview-id
txService
YesNo (can use standalone's tx service) 
externalAuthenticationServer (if security enabled)
YesNo 
logAppenderInitializer
YesYes 
kafkaClient(if audit enabled)
YesNo 
zkClient (if audit enabled)
YesNo 
authorizerInstantiator (started by default)
YesNo 

 

AppFabricServer vs PreviewServer :

...