| # This is the main configuration file for the application. |
| # ~~~~~ |
| |
| # Secret key |
| # ~~~~~ |
| # The secret key is used to secure cryptographics functions. |
| # If you deploy your application to several instances be sure to use the same key! |
| application.secret="CR2H^VlZ3M3fu;/jDZ<_ZQI`nb[pQ7:TxyV/tACshUD;Udj^5b64F=/J08yTG1A2" |
| |
| # The application languages |
| # ~~~~~ |
| application.langs="en" |
| |
| # Global object class |
| # ~~~~~ |
| # Define the Global object class for this application. |
| # Default to Global in the root package. |
| # global=Global |
| |
| # Database configuration |
| # ~~~~~ |
| # You can declare as many datasources as you want. |
| # By convention, the default datasource is named `default` |
| # |
| # db.default.driver=org.h2.Driver |
| # db.default.url="jdbc:h2:mem:play" |
| # db.default.user=sa |
| # db.default.password= |
| |
| # Evolutions |
| # ~~~~~ |
| # You can disable evolutions if needed |
| # evolutionplugin=disabled |
| |
| # Logger |
| # ~~~~~ |
| # You can also configure logback (http://logback.qos.ch/), by providing a logger.xml file in the conf directory . |
| |
| # Root logger: |
| logger.root=ERROR |
| |
| # Logger used by the framework: |
| logger.play=INFO |
| |
| # Logger provided to your application: |
| logger.application=DEBUG |
| |
| # Domains allowed to access your API server through cross-site scripts, comma-separated. |
| # Default to all domains. |
| # cors.allowed.domains = "*" |
| |
| # PredictionIO Commons Settings |
| io.prediction.commons.settings.db.type=mongodb |
| io.prediction.commons.settings.db.host=localhost |
| io.prediction.commons.settings.db.port=27017 |
| |
| io.prediction.commons.appdata.db.type=mongodb |
| io.prediction.commons.appdata.db.host=localhost |
| io.prediction.commons.appdata.db.port=27017 |
| |
| io.prediction.commons.appdata.test.db.type=mongodb |
| io.prediction.commons.appdata.test.db.host=localhost |
| io.prediction.commons.appdata.test.db.port=27017 |
| |
| io.prediction.commons.appdata.training.db.type=mongodb |
| io.prediction.commons.appdata.training.db.host=localhost |
| io.prediction.commons.appdata.training.db.port=27017 |
| |
| io.prediction.commons.appdata.validation.db.type=mongodb |
| io.prediction.commons.appdata.validation.db.host=localhost |
| io.prediction.commons.appdata.validation.db.port=27017 |
| |
| io.prediction.commons.modeldata.db.type=mongodb |
| io.prediction.commons.modeldata.db.host=localhost |
| io.prediction.commons.modeldata.db.port=27017 |
| |
| io.prediction.commons.modeldata.training.db.type=mongodb |
| io.prediction.commons.modeldata.training.db.host=localhost |
| io.prediction.commons.modeldata.training.db.port=27017 |
| |
| # Mahout core job |
| io.prediction.jars.mahoutCoreJob=${io.prediction.base}/vendors/mahout-distribution-0.9/pio-mahout-core-0.9-a91092c0e1-job.jar |
| |
| # PredictionIO Scheduler Threading |
| io.prediction.scheduler.steps.fork-join-executor.parallelism-factor = 1.0 |
| io.prediction.scheduler.steps.fork-join-executor.parallelism-max = 1 |
| |
| io.prediction.scheduler.child.java.opts="-Xmx1g" |
| |
| # Hadoop options passed by PredictionIO Scheduler |
| io.prediction.scheduler.mapred.min.split.size=0 |
| io.prediction.scheduler.mapred.map.tasks=4 |
| io.prediction.scheduler.mapred.reduce.tasks=2 |
| |
| # default local temporary space |
| io.prediction.commons.settings.local.temp.root=${io.prediction.base}/tmp/ |