hive2hive.json.template 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {
  2. "job": {
  3. "content": [
  4. {
  5. "reader": {
  6. "name": "hdfsreader",
  7. "parameter": {
  8. "column": ["*"],
  9. "defaultFS": "${ReaderdefaultFS}",
  10. "encoding": "UTF-8",
  11. "fieldDelimiter": "${ReaderfieldDelimiter}",
  12. "fileType": "${ReaderfileType}",
  13. "path": "${ReaderPath}"
  14. }
  15. },
  16. "writer": {
  17. "name": "hdfswriter",
  18. "parameter": {
  19. "column": "${columns}",
  20. "compress": "",
  21. "defaultFS": "${WriterdefaultFS}",
  22. "fieldDelimiter": "${WriterfieldDelimiter}",
  23. "fileName": "${WriterfileName}",
  24. "fileType": "${WriterfileType}",
  25. "path": "${Writerpath}",
  26. "writeMode": "${WriteMode}"
  27. }
  28. }
  29. }
  30. ],
  31. "setting": {
  32. "speed": {
  33. "channel": "${channel}"
  34. }
  35. }
  36. }
  37. }