Page tree

Versions Compared

Key

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

...

ParameterDescription
cacheEnabledDebugging setting. Leave the default value.
numThreads

Maximum number of threads permitted to the Photon process. See below for recommended values.

enabled

Verifiy that this value to true. This parameter must be properly set to enable Photon. See Enable Photon below.

distroPath

Please verify that this property is set to the following value, which works for all operating system distributions:

Code Block
  "distroPath": "/photon/dist/centos6/photon",
loadScalingFactor
Used in conjunction with other parameters to define the maximum size of samples for Photon. For more information, see Sample Size below. 
traceExecutionDebugging setting. Leave the default value.
websocket.hostHostname of the web socket service. Leave this value as localhost
websocket.portPort number of the web socket service. Default value is 8082 . 
mode

Set this value is pnacl.

This parameter must be properly set to enable Photon. See Enable Photon below.

Recommended Photon Configuration by Core Count

...

Parameter16 cores (default)Low number of simultaneous usersHigh number of simultaneous users
webapp.numProcesses
214
vfs-service.numProcesses
214
photon.numThreads
444
batchserver.workers.photon.max
222

Enable Photon

...

Disable

This running environment is enabled by default. Please verify complete the following configuration to enable the Photon running environmentdisable the running environment.

Info

NOTE: A cluster-based running environment, such as Spark, must be available for processing jobs when this one is disabled.


Steps:

  1. D s config
  2. To enable Photondisable the 

    D s server
    , apply the following configuration settings: 

    Code Block
    "photonwebapp.enabledrunInTrifactaServer": truefalse,
    "photonfeature.modeenableSamplingScanOptions": "pnacl"false,
    "feature.enableFirstRowsSample": false, 
  3. Do not change the following, which applies to the Photon web-client:

    Code Block
    "photon.enabled": true,
  4. Save your changes and restart the platform.

...