Guest User

Untitled

a guest
Apr 16th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.47 KB | None | 0 0
  1. sqoop import -D --compress --compression-codec lzop --mapreduce-job-name interaction_sqoop_cartoes --connection-manager org.apache.sqoop.manager.OracleManager --connect "jdbc:Oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=VCBXP0+
  2. 024CTO)(PORT=1531)))(CONNECT_DATA=(SERVICE_NAME=OLPRC146)))" --username yyyyyyyy --password yyyyyxy$
  3. --table GACCUCSM.interaction --columns ID,ENTITYTYPEID,MEDIATYPEID,SUBTYPEID,OWNERID,CONTACTID,PARENTID,STARTDATE,ENDDATE,THREADID,SUBJECT,TEXT,STRUCTUREDTEXT,STRUCTTEXTMIMETYPE,THECOMMENT,TENANTID,CANBEPARENT,QUEUENAME,STRATTRIBUTE1,STRATTRIBUTE2,ST+
  4. RATTRIBUTE3,STRATTRIBUTE6,STRATTRIBUTE7,STRATTRIBUTE9,STRATTRIBUTE10,STOPPEDREASON --where "mediatypeid in('sms', 'chat', 'email') AND TO_CHAR(ENDDATE,'YYYYMMDD') = '20180414'"
  5. --null-string '' --null-non-string '' --fields-terminated-by '|' --map-column-java TEXT=String,STRUCTUREDTEXT=String,THECOMMENT=String
  6. --lines-terminated-by 'n' --warehouse-dir /dados/prod/rt2_wrk/RT2_AI6_L1_INTERACTION_CARTOES_001 --delete-target-dir
  7. --hive-import --hive-drop-import-delims --hive-partition-key "anomesdia" --hive-partition-value 20180414 --hive-overwrite --verbose -m 1 --hive-table RT2.RT2_AI6_L1_INTERACTION_CARTOES_001
  8.  
  9. 18/04/15 03:12:50 INFO mapreduce.Job: Counters: 30
  10. File System Counters
  11. FILE: Number of bytes read=0
  12. FILE: Number of bytes written=156107
  13. FILE: Number of read operations=0
  14. FILE: Number of large read operations=0
  15. FILE: Number of write operations=0
  16. HDFS: Number of bytes read=87
  17. HDFS: Number of bytes written=67494005
  18. HDFS: Number of read operations=4
  19. HDFS: Number of large read operations=0
  20. HDFS: Number of write operations=2
  21. Job Counters
  22. Launched map tasks=1
  23. Other local map tasks=1
  24. Total time spent by all maps in occupied slots (ms)=1473198
  25. Total time spent by all reduces in occupied slots (ms)=0
  26. Total time spent by all map tasks (ms)=736599
  27. Total vcore-seconds taken by all map tasks=736599
  28. Total megabyte-seconds taken by all map tasks=3017109504
  29. Map-Reduce Framework
  30. Map input records=40301
  31. Map output records=40301
  32. Input split bytes=87
  33. Spilled Records=0
  34. Failed Shuffles=0
  35. Merged Map outputs=0
  36. GC time elapsed (ms)=2468
  37. CPU time spent (ms)=63700
  38. Physical memory (bytes) snapshot=1622859776
  39. Virtual memory (bytes) snapshot=4335001600
  40. Total committed heap usage (bytes)=1505755136
  41. File Input Format Counters
  42. Bytes Read=0
  43. File Output Format Counters
  44. Bytes Written=67494005
Add Comment
Please, Sign In to add comment