test.toml 863 B

12345678910111213141516171819202122232425262728293031
  1. [redis]
  2. name = "recommend-job"
  3. proto = "tcp"
  4. addr = "127.0.0.1:6379"
  5. idle = 2000
  6. active = 2000
  7. dialTimeout = "1s"
  8. readTimeout = "1s"
  9. writeTimeout = "1s"
  10. idleTimeout = "10s"
  11. expire = "1m"
  12. [log]
  13. stdout = true
  14. [hadoop]
  15. tarUrl = "http://livedev.bilibili.co/download/hadoop-2.8.4.tar.gz"
  16. hadoopDir = "/tmp"
  17. [itemcfJob]
  18. schedule = "30 50 16 * * *" # 秒 分钟 小时 天 月 星期
  19. workerNum = 1000
  20. inputFile = "/department/live/recommend/item-cf-output"
  21. hadoopFile = "/department/live/recommend/%s/item-cf-output"
  22. localTmpFile = "/tmp/recommend-cf-output-%s"
  23. [userAreaJob]
  24. schedule = "20 37 14 * * *" # 秒 分钟 小时 天 月 星期
  25. workerNum = 1000
  26. inputFile = "/Users/liugang/Downloads/user-area.txt"
  27. hadoopFile = "/department/live/recommend/%s/user-area"
  28. localTmpFile = "/tmp/user-area-output-%s"