-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchapter.sqoop.xml
1269 lines (1241 loc) · 38.7 KB
/
chapter.sqoop.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8"?>
<chapter id="index"><?dbhtml dir="apache-sqoop" ?>
<title>Apache Sqoop</title>
<section id="sqoop.setup">
<title>安装 Sqoop</title>
<para>OSCM 一键安装</para>
<screen>
curl -s https://raw.githubusercontent.com/oscm/shell/master/database/apache-sqoop/sqoop-1.99.7-bin-hadoop200.sh | bash
</screen>
<screen>
</screen>
<para>启动 Sqoop </para>
<screen>
/srv/apache-sqoop/bin/sqoop.sh server start
</screen>
<para>检查 Sqoop 线程</para>
<screen>
<![CDATA[
[hadoop@netkiller ~]$ jps
2512 SecondaryNameNode
23729 SqoopJettyServer
2290 DataNode
871 ResourceManager
23885 Jps
]]>
</screen>
</section>
<section id="sqoop2-tool">
<title>sqoop2-tool</title>
<section id="verify">
<title>verify</title>
<screen>
<![CDATA[
[hadoop@iZj6ciilv2rcpgauqg2uuwZ ~]$ sqoop2-tool verify
Setting conf dir: /srv/apache-sqoop/bin/../conf
Sqoop home directory: /srv/apache-sqoop
Sqoop tool executor:
Version: 1.99.7
Revision: 435d5e61b922a32d7bce567fe5fb1a9c0d9b1bbb
Compiled on Tue Jul 19 16:08:27 PDT 2016 by abefine
Running tool: class org.apache.sqoop.tools.tool.VerifyTool
0 [main] INFO org.apache.sqoop.core.SqoopServer - Initializing Sqoop server.
6 [main] INFO org.apache.sqoop.core.PropertiesConfigurationProvider - Starting config file poller thread
Verification was successful.
Tool class org.apache.sqoop.tools.tool.VerifyTool has finished correctly.
]]>
</screen>
</section>
<section id="upgrade">
<title>upgrade</title>
<screen>
<![CDATA[
[hadoop@iZj6ciilv2rcpgauqg2uuwZ apache-hadoop]$ sqoop2-tool upgrade
Setting conf dir: /srv/apache-sqoop/bin/../conf
Sqoop home directory: /srv/apache-sqoop
Sqoop tool executor:
Version: 1.99.7
Revision: 435d5e61b922a32d7bce567fe5fb1a9c0d9b1bbb
Compiled on Tue Jul 19 16:08:27 PDT 2016 by abefine
Running tool: class org.apache.sqoop.tools.tool.UpgradeTool
0 [main] INFO org.apache.sqoop.core.PropertiesConfigurationProvider - Starting config file poller thread
Tool class org.apache.sqoop.tools.tool.UpgradeTool has finished correctly.
]]>
</screen>
</section>
</section>
<section id="sqoop2-shell">
<title>sqoop2-shell</title>
<para>进入 sqoop2-shell</para>
<screen>
<![CDATA[
[hadoop@netkiller ~]$ sqoop2-shell
Setting conf dir: /srv/apache-sqoop/bin/../conf
Sqoop home directory: /srv/apache-sqoop
Sqoop Shell: Type 'help' or '\h' for help.
sqoop:000>
]]>
</screen>
<para>Sqoop client script:</para>
<screen>
<![CDATA[
sqoop2-shell /path/to/your/script.sqoop
]]>
</screen>
<section id="version">
<title>show version</title>
<screen>
<![CDATA[
sqoop:000> show version
client version:
Sqoop 1.99.7 source revision 435d5e61b922a32d7bce567fe5fb1a9c0d9b1bbb
Compiled by abefine on Tue Jul 19 16:08:27 PDT 2016
]]>
</screen>
<screen>
<![CDATA[
sqoop:000> show version --all
client version:
Sqoop 1.99.7 source revision 435d5e61b922a32d7bce567fe5fb1a9c0d9b1bbb
Compiled by abefine on Tue Jul 19 16:08:27 PDT 2016
0 [main] WARN org.apache.hadoop.util.NativeCodeLoader - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
server version:
Sqoop 1.99.7 source revision 435d5e61b922a32d7bce567fe5fb1a9c0d9b1bbb
Compiled by abefine on Tue Jul 19 16:08:27 PDT 2016
API versions:
[v1]
]]>
</screen>
</section>
<section id="set">
<title>set</title>
<section>
<title>server</title>
<screen>
<![CDATA[
sqoop:000> set server --host master --port 12000 --webapp sqoop
Server is set successfully
]]>
</screen>
</section>
<section>
<title>要设置可查看具体出错信息</title>
<screen>
<![CDATA[
sqoop:000> set option --name verbose --value true
Verbose option was changed to true
]]>
</screen>
</section>
</section>
<section id="connector">
<title>show connector</title>
<screen>
sqoop:000> show connector
0 [main] WARN org.apache.hadoop.util.NativeCodeLoader - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
+------------------------+---------+------------------------------------------------------------+----------------------+
| Name | Version | Class | Supported Directions |
+------------------------+---------+------------------------------------------------------------+----------------------+
| generic-jdbc-connector | 1.99.7 | org.apache.sqoop.connector.jdbc.GenericJdbcConnector | FROM/TO |
| kite-connector | 1.99.7 | org.apache.sqoop.connector.kite.KiteConnector | FROM/TO |
| oracle-jdbc-connector | 1.99.7 | org.apache.sqoop.connector.jdbc.oracle.OracleJdbcConnector | FROM/TO |
| ftp-connector | 1.99.7 | org.apache.sqoop.connector.ftp.FtpConnector | TO |
| hdfs-connector | 1.99.7 | org.apache.sqoop.connector.hdfs.HdfsConnector | FROM/TO |
| kafka-connector | 1.99.7 | org.apache.sqoop.connector.kafka.KafkaConnector | TO |
| sftp-connector | 1.99.7 | org.apache.sqoop.connector.sftp.SftpConnector | TO |
+------------------------+---------+------------------------------------------------------------+----------------------+
sqoop:000>
sqoop list-databases --connect jdbc:mysql://192.168.1.1:3306/ --username root --password 123456
</screen>
<screen>
<![CDATA[
sqoop:000> show connector --all
7 connector(s) to show:
Connector with Name: generic-jdbc-connector
Class: 1.99.7
Version: FROM/TO
Supported Directions {4}
link config 1:
Name: linkConfig
Label: Database connection
Help: Contains configuration that is required to establish connection with your database server.
Input 1:
Name: linkConfig.jdbcDriver
Label: Driver class
Help: Fully qualified class name of the JDBC driver that will be used for establishing this connection. Check documentation for instructions how to make the driver's jar files available to Sqoop 2 server.
Type: STRING
Sensitive: false
Editable By: ANY
Overrides:
Size: 128
Input 2:
Name: linkConfig.connectionString
Label: Connection String
Help: JDBC connection string associated with your database server.
Type: STRING
Sensitive: false
Editable By: ANY
Overrides:
Size: 2000
Input 3:
Name: linkConfig.username
Label: Username
Help: Username to be used for connection to the database server.
Type: STRING
Sensitive: false
Editable By: ANY
Overrides:
Size: 40
Input 4:
Name: linkConfig.password
Label: Password
Help: Password to be used for connection to the database server.
Type: STRING
Sensitive: true
Editable By: ANY
Overrides:
Size: 40
Input 5:
Name: linkConfig.fetchSize
Label: Fetch Size
Help: Optional hint specifying requested JDBC fetch size.
Type: INTEGER
Sensitive: false
Editable By: ANY
Overrides:
Input 6:
Name: linkConfig.jdbcProperties
Label: Connection Properties
Help: Key-value pairs that should be passed down to JDBC driver when establishing connection.
Type: MAP
Sensitive: false
Editable By: ANY
Overrides:
link config 2:
Name: dialect
Label: SQL Dialect
Help: Database dialect that should be used for generated queries.
Input 1:
Name: dialect.identifierEnclose
Label: Identifier enclose
Help: Character(s) that should be used to enclose table name, schema or column names.
Type: STRING
Sensitive: false
Editable By: ANY
Overrides:
Size: 5
FROM Job config 1:
Name: fromJobConfig
Label: Database source
Help: Specifies source and way how the data should be fetched from source database.
Input 1:
Name: fromJobConfig.schemaName
Label: Schema name
Help: Schema name if the table is not stored in default schema. Note: Not all database systems understands the concept of schema.
Type: STRING
Sensitive: false
Editable By: ANY
Overrides:
Size: 50
Input 2:
Name: fromJobConfig.tableName
Label: Table name
Help: Input table name from from which data will be retrieved.
Type: STRING
Sensitive: false
Editable By: ANY
Overrides:
Size: 50
Input 3:
Name: fromJobConfig.sql
Label: SQL statement
Help: Import data from given query's results set rather then static table.
Type: STRING
Sensitive: false
Editable By: ANY
Overrides:
Size: 2000
Input 4:
Name: fromJobConfig.columnList
Label: Column names
Help: Subset of columns that should be retrieved from source table.
Type: LIST
Sensitive: false
Editable By: ANY
Overrides:
Input 5:
Name: fromJobConfig.partitionColumn
Label: Partition column
Help: Input column that should be use to split the import into independent parallel processes. This column will be used in condition of generated queries.
Type: STRING
Sensitive: false
Editable By: ANY
Overrides:
Size: 50
Input 6:
Name: fromJobConfig.allowNullValueInPartitionColumn
Label: Partition column nullable
Help: Set true if partition column can contain NULL value.
Type: BOOLEAN
Sensitive: false
Editable By: ANY
Overrides:
Input 7:
Name: fromJobConfig.boundaryQuery
Label: Boundary query
Help: Customize query to retrieve minimal and maximal value of partition column.
Type: STRING
Sensitive: false
Editable By: ANY
Overrides:
Size: 50
FROM Job config 2:
Name: incrementalRead
Label: Incremental read
Help: Configures optional incremental read from the database where source data are changing over time and only new changes need to be re-imported.
Input 1:
Name: incrementalRead.checkColumn
Label: Check column
Help: Column that is checked during incremental read for new values.
Type: STRING
Sensitive: false
Editable By: ANY
Overrides:
Size: 50
Input 2:
Name: incrementalRead.lastValue
Label: Last value
Help: Last imported value, job will read only newer values.
Type: STRING
Sensitive: false
Editable By: ANY
Overrides:
Size: -1
TO Job config 1:
Name: toJobConfig
Label: Database target
Help: Describes target destination and way how data should be persisted on the RDBMS system.
Input 1:
Name: toJobConfig.schemaName
Label: Schema name
Help: Schema name if the table is not stored in default schema. Note: Not all database systems understands the concept of schema.
Type: STRING
Sensitive: false
Editable By: ANY
Overrides:
Size: 50
Input 2:
Name: toJobConfig.tableName
Label: Table name
Help: Destination table name to store transfer results.
Type: STRING
Sensitive: false
Editable By: ANY
Overrides:
Size: 2000
Input 3:
Name: toJobConfig.columnList
Label: Column names
Help: Subset of columns that will will be written to. Omitted columns have to either allow NULL values or have defined default value.
Type: LIST
Sensitive: false
Editable By: ANY
Overrides:
Input 4:
Name: toJobConfig.stageTableName
Label: Staging table
Help: Name of table with same structure as final table that should be used as a staging destination. Data will be directly written to final table if no staging table is specified.
Type: STRING
Sensitive: false
Editable By: ANY
Overrides:
Size: 2000
Input 5:
Name: toJobConfig.shouldClearStageTable
Label: Clear stage table
Help: If set to true, staging table will be wiped out upon job start.
Type: BOOLEAN
Sensitive: false
Editable By: ANY
Overrides:
Connector with Name: kite-connector
Class: 1.99.7
Version: FROM/TO
Supported Directions {4}
link config 1:
Name: linkConfig
Label: Global configuration
Help: Global configuration options that will be used for both from and to sides.
Input 1:
Name: linkConfig.authority
Label: HDFS host and port
Help: Optional to override HDFS file system location.
Type: STRING
Sensitive: false
Editable By: ANY
Overrides:
Size: 255
Input 2:
Name: linkConfig.confDir
Label: Hadoop conf directory
Help: Directory with Hadoop configuration files. This directory will be added to the classpath.
Type: STRING
Sensitive: false
Editable By: ANY
Overrides:
Size: 255
FROM Job config 1:
Name: fromJobConfig
Label: Source configuration
Help: Configuration options relevant to source dataset.
Input 1:
Name: fromJobConfig.uri
Label: dataset:hdfs://namespace/table
Help: Kite Dataset URI from which data will be read.
Type: STRING
Sensitive: false
Editable By: ANY
Overrides:
Size: 255
TO Job config 1:
Name: toJobConfig
Label: Target configuration
Help: Configuration options relevant to target dataset.
Input 1:
Name: toJobConfig.uri
Label: Dataset URI
Help: Kite Dataset URI where should be data written to.
Type: STRING
Sensitive: false
Editable By: ANY
Overrides:
Size: 255
Input 2:
Name: toJobConfig.fileFormat
Label: File format
Help: Storage format that should be used when creating new dataset.
Type: ENUM
Sensitive: false
Editable By: ANY
Overrides:
Possible values: CSV,AVRO,PARQUET
Connector with Name: oracle-jdbc-connector
Class: 1.99.7
Version: FROM/TO
Supported Directions {4}
link config 1:
Name: connectionConfig
Label: Oracle connection configuration
Help: You must supply the information requested in order to create an Oracle connection object.
Input 1:
Name: connectionConfig.connectionString
Label: JDBC connection string
Help: Enter the value of JDBC connection string to be used by this connector for creating Oracle connections.
Type: STRING
Sensitive: false
Editable By: ANY
Overrides:
Size: 128
Input 2:
Name: connectionConfig.username
Label: Username
Help: Enter the username to be used for connecting to the database.
Type: STRING
Sensitive: false
Editable By: ANY
Overrides:
Size: 40
Input 3:
Name: connectionConfig.password
Label: Password
Help: Enter the password to be used for connecting to the database.
Type: STRING
Sensitive: true
Editable By: ANY
Overrides:
Size: 40
Input 4:
Name: connectionConfig.jdbcProperties
Label: JDBC connection properties
Help: Enter any JDBC properties that should be supplied during the creation of connection.
Type: MAP
Sensitive: false
Editable By: ANY
Overrides:
Input 5:
Name: connectionConfig.timeZone
Label: Session time zone
Help: timeZone
Type: STRING
Sensitive: false
Editable By: ANY
Overrides:
Size: -1
Input 6:
Name: connectionConfig.actionName
Label: Session action name
Help: actionName
Type: STRING
Sensitive: false
Editable By: ANY
Overrides:
Size: -1
Input 7:
Name: connectionConfig.fetchSize
Label: JDBC fetch size
Help: fetchSize
Type: INTEGER
Sensitive: false
Editable By: ANY
Overrides:
Input 8:
Name: connectionConfig.initializationStatements
Label: Session initialization statements
Help: initializationStatements
Type: LIST
Sensitive: false
Editable By: ANY
Overrides:
Input 9:
Name: connectionConfig.jdbcUrlVerbatim
Label: Use JDBC connection string verbatim
Help: jdbcUrlVerbatim
Type: BOOLEAN
Sensitive: false
Editable By: ANY
Overrides:
Input 10:
Name: connectionConfig.racServiceName
Label: RAC service name
Help: racServiceName
Type: STRING
Sensitive: false
Editable By: ANY
Overrides:
Size: -1
FROM Job config 1:
Name: fromJobConfig
Label: From Oracle configuration
Help: You must supply the information requested in order to create the FROM part of the job object.
Input 1:
Name: fromJobConfig.tableName
Label: Table name
Help: tableName
Type: STRING
Sensitive: false
Editable By: ANY
Overrides:
Size: 2000
Input 2:
Name: fromJobConfig.columns
Label: Columns
Help: Columns
Type: LIST
Sensitive: false
Editable By: ANY
Overrides:
Input 3:
Name: fromJobConfig.consistentRead
Label: Consistent read
Help: consistentRead
Type: BOOLEAN
Sensitive: false
Editable By: ANY
Overrides:
Input 4:
Name: fromJobConfig.consistentReadScn
Label: Consistent read SCN
Help: consistentReadScn
Type: LONG
Sensitive: false
Editable By: ANY
Overrides:
Input 5:
Name: fromJobConfig.partitionList
Label: Partitions
Help: partitionList
Type: LIST
Sensitive: false
Editable By: ANY
Overrides:
Input 6:
Name: fromJobConfig.dataChunkMethod
Label: Data chunk method
Help: dataChunkMethod
Type: ENUM
Sensitive: false
Editable By: ANY
Overrides:
Possible values: ROWID,PARTITION
Input 7:
Name: fromJobConfig.dataChunkAllocationMethod
Label: Data chunk allocation method
Help: dataChunkAllocationMethod
Type: ENUM
Sensitive: false
Editable By: ANY
Overrides:
Possible values: ROUNDROBIN,SEQUENTIAL,RANDOM
Input 8:
Name: fromJobConfig.whereClauseLocation
Label: Where clause location
Help: whereClauseLocation
Type: ENUM
Sensitive: false
Editable By: ANY
Overrides:
Possible values: SUBSPLIT,SPLIT
Input 9:
Name: fromJobConfig.omitLobColumns
Label: Omit LOB columns
Help: omitLobColumns
Type: BOOLEAN
Sensitive: false
Editable By: ANY
Overrides:
Input 10:
Name: fromJobConfig.queryHint
Label: Query hint
Help: queryHint
Type: STRING
Sensitive: false
Editable By: ANY
Overrides:
Size: 2000
Input 11:
Name: fromJobConfig.conditions
Label: Conditions
Help: conditions
Type: STRING
Sensitive: false
Editable By: ANY
Overrides:
Size: 2000
TO Job config 1:
Name: toJobConfig
Label: To database configuration
Help: You must supply the information requested in order to create the TO part of the job object.
Input 1:
Name: toJobConfig.tableName
Label: Table name
Help: Table name to write data into
Type: STRING
Sensitive: false
Editable By: ANY
Overrides:
Size: 2000
Input 2:
Name: toJobConfig.columns
Label: Columns
Help: Columns
Type: LIST
Sensitive: false
Editable By: ANY
Overrides:
Input 3:
Name: toJobConfig.templateTable
Label: Template table name
Help: templateTable
Type: STRING
Sensitive: false
Editable By: ANY
Overrides:
Size: 2000
Input 4:
Name: toJobConfig.partitioned
Label: Partitioned
Help: partitioned
Type: BOOLEAN
Sensitive: false
Editable By: ANY
Overrides:
Input 5:
Name: toJobConfig.nologging
Label: Nologging
Help: nologging
Type: BOOLEAN
Sensitive: false
Editable By: ANY
Overrides:
Input 6:
Name: toJobConfig.updateKey
Label: Update key columns
Help: updateKey
Type: LIST
Sensitive: false
Editable By: ANY
Overrides:
Input 7:
Name: toJobConfig.updateMerge
Label: Merge updates
Help: updateMerge
Type: BOOLEAN
Sensitive: false
Editable By: ANY
Overrides:
Input 8:
Name: toJobConfig.dropTableIfExists
Label: Drop table if exists
Help: dropTableIfExists
Type: BOOLEAN
Sensitive: false
Editable By: ANY
Overrides:
Input 9:
Name: toJobConfig.storageClause
Label: Template table storage clause
Help: storageClause
Type: STRING
Sensitive: false
Editable By: ANY
Overrides:
Size: 2000
Input 10:
Name: toJobConfig.temporaryStorageClause
Label: Temporary table storage clause
Help: temporaryStorageClause
Type: STRING
Sensitive: false
Editable By: ANY
Overrides:
Size: 2000
Input 11:
Name: toJobConfig.appendValuesHint
Label: Append values hint usage
Help: appendValuesHint
Type: ENUM
Sensitive: false
Editable By: ANY
Overrides:
Possible values: AUTO,ON,OFF
Input 12:
Name: toJobConfig.parallel
Label: Parallel
Help: parallel
Type: BOOLEAN
Sensitive: false
Editable By: ANY
Overrides:
Connector with Name: ftp-connector
Class: 1.99.7
Version: TO
Supported Directions {4}
link config 1:
Name: linkConfig
Label: FTP Server configuration
Help: Parameters required to connect to an FTP server.
Input 1:
Name: linkConfig.server
Label: Hostname
Help: Hostname for the FTP server.
Type: STRING
Sensitive: false
Editable By: ANY
Overrides:
Size: 256
Input 2:
Name: linkConfig.port
Label: Port
Help: Port for the FTP server. Connector will use 21 if omitted.
Type: INTEGER
Sensitive: false
Editable By: ANY
Overrides:
Input 3:
Name: linkConfig.username
Label: Username
Help: Username that will be used to authenticate connection to the FTP Server.
Type: STRING
Sensitive: false
Editable By: ANY
Overrides:
Size: 256
Input 4:
Name: linkConfig.password
Label: Password
Help: Password that will be used to authenticate connection to the FTP Server.
Type: STRING
Sensitive: true
Editable By: ANY
Overrides:
Size: 256
TO Job config 1:
Name: toJobConfig
Label: Output configuration
Help: Parameters required to store data on the FTP server.
Input 1:
Name: toJobConfig.outputDirectory
Label: Output directory
Help: Directory on the FTP server to write data to.
Type: STRING
Sensitive: false
Editable By: ANY
Overrides:
Size: 260
Connector with Name: hdfs-connector
Class: 1.99.7
Version: FROM/TO
Supported Directions {4}
link config 1:
Name: linkConfig
Label: HDFS cluster
Help: Contains configuration required to connect to your HDFS cluster.
Input 1:
Name: linkConfig.uri
Label: URI
Help: Namenode URI for your cluster.
Type: STRING
Sensitive: false
Editable By: ANY
Overrides:
Size: 255
Input 2:
Name: linkConfig.confDir
Label: Conf directory
Help: Directory on Sqoop server machine with hdfs configuration files (hdfs-site.xml, ...). This connector will load all files ending with -site.xml.
Type: STRING
Sensitive: false
Editable By: ANY
Overrides:
Size: 255
Input 3:
Name: linkConfig.configOverrides
Label: Additional configs:
Help: Additional configuration that will be set on HDFS Configuration object, possibly overriding any keys loaded from configuration files.
Type: MAP
Sensitive: false
Editable By: ANY
Overrides:
FROM Job config 1:
Name: fromJobConfig
Label: Input configuration
Help: Specifies information required to get data from HDFS.
Input 1:
Name: fromJobConfig.inputDirectory
Label: Input directory
Help: Input directory containing files that should be transferred.
Type: STRING
Sensitive: false
Editable By: ANY
Overrides:
Size: 255
Input 2:
Name: fromJobConfig.overrideNullValue
Label: Override null value
Help: If set to true, then the null value will be overridden with the value set in Null value.
Type: BOOLEAN
Sensitive: false
Editable By: ANY
Overrides:
Input 3:
Name: fromJobConfig.nullValue
Label: Null value
Help: For file formats that doesn't have native representation of NULL (as for example text file) use this particular string to decode NULL value.
Type: STRING
Sensitive: false
Editable By: ANY
Overrides:
Size: 255
FROM Job config 2:
Name: incremental
Label: Incremental import
Help: Information relevant for incremental reading from HDFS.
Input 1:
Name: incremental.incrementalType
Label: Incremental type
Help: Type of incremental import.
Type: ENUM
Sensitive: false
Editable By: ANY
Overrides:
Possible values: NONE,NEW_FILES
Input 2:
Name: incremental.lastImportedDate
Label: Last imported date
Help: Datetime stamp of last read file. Next job execution will read only files that have been created after this point in time.
Type: DATETIME
Sensitive: false
Editable By: ANY
Overrides:
TO Job config 1:
Name: toJobConfig
Label: Target configuration
Help: Configuration describing where and how the resulting data should be stored.
Input 1:
Name: toJobConfig.overrideNullValue
Label: Override null value
Help: If set to true, then the null value will be overridden with the value set in Null value.
Type: BOOLEAN
Sensitive: false
Editable By: ANY
Overrides:
Input 2:
Name: toJobConfig.nullValue
Label: Null value
Help: For file formats that doesn't have native representation of NULL (as for example text file) use this particular string to encode NULL value.
Type: STRING
Sensitive: false
Editable By: ANY
Overrides:
Size: 255
Input 3:
Name: toJobConfig.outputFormat
Label: File format
Help: File format that should be used for transferred data.
Type: ENUM
Sensitive: false
Editable By: ANY
Overrides:
Possible values: TEXT_FILE,SEQUENCE_FILE,PARQUET_FILE
Input 4:
Name: toJobConfig.compression
Label: Compression codec
Help: Compression codec that should be use to compress transferred data.
Type: ENUM
Sensitive: false
Editable By: ANY
Overrides:
Possible values: NONE,DEFAULT,DEFLATE,GZIP,BZIP2,LZO,LZ4,SNAPPY,CUSTOM
Input 5:
Name: toJobConfig.customCompression
Label: Custom codec
Help: Fully qualified class name with Hadoop codec implementation that should be used if none of the build-in options are suitable.
Type: STRING
Sensitive: false
Editable By: ANY
Overrides:
Size: 255
Input 6:
Name: toJobConfig.outputDirectory
Label: Output directory
Help: HDFS directory where transferred data will be written to.
Type: STRING
Sensitive: false
Editable By: ANY
Overrides:
Size: 255
Input 7:
Name: toJobConfig.appendMode
Label: Append mode
Help: If set to false, job will fail if output directory already exists. If set to true then imported data will be stored to already existing and possibly non empty directory.
Type: BOOLEAN
Sensitive: false
Editable By: ANY
Overrides:
Connector with Name: kafka-connector
Class: 1.99.7
Version: TO
Supported Directions {4}
link config 1:
Name: linkConfig
Label: Kafka cluster
Help: Configuration options describing Kafka cluster.
Input 1:
Name: linkConfig.brokerList
Label: Kafka brokers
Help: Comma-separated list of Kafka brokers in the form of host:port. It doesn't need to contain all brokers, but at least two are recommended for high availability
Type: STRING
Sensitive: false
Editable By: ANY
Overrides:
Size: 1024
Input 2:
Name: linkConfig.zookeeperConnect
Label: Zookeeper quorum
Help: Address of Zookeeper used by the Kafka cluster. Usually host:port. Multiple zookeeper nodes are supported. If Kafka is stored in its own znode use host:portkafka
Type: STRING
Sensitive: false
Editable By: ANY
Overrides:
Size: 255
TO Job config 1:
Name: toJobConfig
Label: Output configuration
Help: Configuration necessary when writing data to Kafka.
Input 1:
Name: toJobConfig.topic
Label: Topic
Help: Name of Kafka topic where data will be written into.
Type: STRING
Sensitive: false
Editable By: ANY
Overrides:
Size: 255
Connector with Name: sftp-connector
Class: 1.99.7
Version: TO
Supported Directions {4}
link config 1:
Name: linkConfig
Label: FTP Server configuration
Help: Parameters required to connect to an SFTP server.
Input 1:
Name: linkConfig.server
Label: Hostname
Help: Hostname of the SFTP server.
Type: STRING
Sensitive: false
Editable By: ANY
Overrides:
Size: 255
Input 2:
Name: linkConfig.port
Label: Port
Help: Port for the SFTP server. Connector will use 22 if omitted.
Type: INTEGER
Sensitive: false
Editable By: ANY
Overrides:
Input 3:
Name: linkConfig.username
Label: Username
Help: Username that will be used to authenticate connection to SFTP serer.
Type: STRING
Sensitive: false
Editable By: ANY
Overrides: