mysql2hive.json.template 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {
  2. "job": {
  3. "content": [
  4. {
  5. "reader": {
  6. "name": "mysqlreader",
  7. "parameter": {
  8. "connection": [
  9. {
  10. "jdbcUrl": ["${jdbcReader}"],
  11. "querySql": ["${querySql}"]
  12. }
  13. ],
  14. "password": "${passwordReader}",
  15. "username": "${usernameReader}"
  16. }
  17. },
  18. "writer": {
  19. "name": "hdfswriter",
  20. "parameter": {
  21. "column": "${columns}",
  22. "compress": "",
  23. "defaultFS": "${WriterdefaultFS}",
  24. "fieldDelimiter": "${WriterfieldDelimiter}",
  25. "fileName": "${WriterfileName}",
  26. "fileType": "${WriterfileType}",
  27. "path": "${Writerpath}",
  28. "writeMode": "${WriteMode}"
  29. }
  30. }
  31. }
  32. ],
  33. "setting": {
  34. "speed": {
  35. "channel": "${channel}"
  36. }
  37. }
  38. }
  39. }