博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
大数据工具篇之Hive与HBase整合完整教程
阅读量:7216 次
发布时间:2019-06-29

本文共 76333 字,大约阅读时间需要 254 分钟。

一、引言

  最近的一次培训,用户特意提到Hadoop环境下HDFS中存储的文件如何才能导入到HBase,关于这部分基于HBase Java API的写入方式,之前曾经有过技术文章共享,本文就不再说明。本文基于Hive执行HDFS批量向HBase导入数据,讲解Hive与HBase的整合问题。这方面的文章已经很多,但是由于版本差异,可操作性不大,本文采用的版本均基于以下版本说明中的版本。

二、版本说明

序号 软件 版本
1 Hive  0.10.0
2 HBase 0.94.0
3 Hadoop 1.0.1

  

三、配置指南

  3.1 创建配置文件

  cp conf/hive-default.xml.template hive-default.xml

  cp conf/hive-default.xml.template hive-site.xml

  3.2 修改配置文件

  基于hive-default.xml.template进行拷贝复制的hive-site.xml文件有问题,主要集中在<description></description>标签不配对的情况,需要根据错误提示进行修改,修改完成后的配置文件如下所示:  

1 
2
3
19 20
21 22
23
24
25 26 27
28
29
mapred.reduce.tasks
30
-1
31
The default number of reduce tasks per job. Typically set 32 to a prime close to the number of available hosts. Ignored when 33 mapred.job.tracker is "local". Hadoop set this to 1 by default, whereas hive uses -1 as its default value. 34 By setting this property to -1, Hive will automatically figure out what should be the number of reducers. 35
36
37 38
39
hive.exec.reducers.bytes.per.reducer
40
1000000000
41
size per reducer.The default is 1G, i.e if the input size is 10G, it will use 10 reducers.
42
43 44
45
hive.exec.reducers.max
46
999
47
max number of reducers will be used. If the one 48 specified in the configuration parameter mapred.reduce.tasks is 49 negative, hive will use this one as the max number of reducers when 50 automatically determine number of reducers.
51
52 53
54
hive.cli.print.header
55
false
56
Whether to print the names of the columns in query output.
57
58 59
60
hive.cli.print.current.db
61
false
62
Whether to include the current database in the hive prompt.
63
64 65
66
hive.cli.prompt
67
hive
68
Command line prompt configuration value. Other hiveconf can be used in 69 this configuration value. Variable substitution will only be invoked at the hive 70 cli startup.
71
72 73
74
hive.exec.scratchdir
75
/tmp/hive-${user.name}
76
Scratch space for Hive jobs
77
78 79
80
hive.exec.local.scratchdir
81
/tmp/${user.name}
82
Local scratch space for Hive jobs
83
84 85
86
hive.test.mode
87
false
88
whether hive is running in test mode. If yes, it turns on sampling and prefixes the output tablename
89
90 91
92
hive.test.mode.prefix
93
test_
94
if hive is running in test mode, prefixes the output table by this string
95
96 97
98
99
100
101
102
103
104
105
hive.test.mode.samplefreq
106
32
107
if hive is running in test mode and table is not bucketed, sampling frequency
108
109 110
111
hive.test.mode.nosamplelist
112
113
if hive is running in test mode, dont sample the above comma seperated list of tables
114
115 116
117
hive.metastore.uris
118
119
Thrift uri for the remote metastore. Used by metastore client to connect to remote metastore.
120
121 122
123
javax.jdo.option.ConnectionURL
124
jdbc:derby:;databaseName=metastore_db;create=true
125
JDBC connect string for a JDBC metastore
126
127 128
129
javax.jdo.option.ConnectionDriverName
130
org.apache.derby.jdbc.EmbeddedDriver
131
Driver class name for a JDBC metastore
132
133 134
135
javax.jdo.PersistenceManagerFactoryClass
136
org.datanucleus.jdo.JDOPersistenceManagerFactory
137
class implementing the jdo persistence
138
139 140
141
javax.jdo.option.DetachAllOnCommit
142
true
143
detaches all objects from session so that they can be used after transaction is committed
144
145 146
147
javax.jdo.option.NonTransactionalRead
148
true
149
reads outside of transactions
150
151 152
153
javax.jdo.option.ConnectionUserName
154
APP
155
username to use against metastore database
156
157 158
159
javax.jdo.option.ConnectionPassword
160
mine
161
password to use against metastore database
162
163 164
165
javax.jdo.option.Multithreaded
166
true
167
Set this to true if multiple threads access metastore through JDO concurrently.
168
169 170
171
datanucleus.connectionPoolingType
172
DBCP
173
Uses a DBCP connection pool for JDBC metastore
174
175 176
177
datanucleus.validateTables
178
false
179
validates existing schema against code. turn this on if you want to verify existing schema
180
181 182
183
datanucleus.validateColumns
184
false
185
validates existing schema against code. turn this on if you want to verify existing schema
186
187 188
189
datanucleus.validateConstraints
190
false
191
validates existing schema against code. turn this on if you want to verify existing schema
192
193 194
195
datanucleus.storeManagerType
196
rdbms
197
metadata store type
198
199 200
201
datanucleus.autoCreateSchema
202
true
203
creates necessary schema on a startup if one doesn't exist. set this to false, after creating it once
204
205 206
207
datanucleus.autoStartMechanismMode
208
checked
209
throw exception if metadata tables are incorrect
210
211 212
213
datanucleus.transactionIsolation
214
read-committed
215
Default transaction isolation level for identity generation.
216
217 218
219
datanucleus.cache.level2
220
false
221
Use a level 2 cache. Turn this off if metadata is changed independently of hive metastore server
222
223 224
225
datanucleus.cache.level2.type
226
SOFT
227
SOFT=soft reference based cache, WEAK=weak reference based cache.
228
229 230
231
datanucleus.identifierFactory
232
datanucleus
233
Name of the identifier factory to use when generating table/column names etc. 'datanucleus' is used for backward compatibility
234
235 236
237
datanucleus.plugin.pluginRegistryBundleCheck
238
LOG
239
Defines what happens when plugin bundles are found and are duplicated [EXCEPTION|LOG|NONE]
240
241 242
243
hive.metastore.warehouse.dir
244
/user/hive/warehouse
245
location of default database for the warehouse
246
247 248
249
hive.metastore.execute.setugi
250
false
251
In unsecure mode, setting this property to true will cause the metastore to execute DFS operations using the client's reported user and group permissions. Note that this property must be set on both the client and server sides. Further note that its best effort. If client sets its to true and server sets it to false, client setting will be ignored.
252
253 254
255
hive.metastore.event.listeners
256
257
list of comma seperated listeners for metastore events.
258
259 260
261
hive.metastore.partition.inherit.table.properties
262
263
list of comma seperated keys occurring in table properties which will get inherited to newly created partitions. * implies all the keys will get inherited.
264
265 266
267
hive.metadata.export.location
268
269
When used in conjunction with the org.apache.hadoop.hive.ql.parse.MetaDataExportListener pre event listener, it is the location to which the metadata will be exported. The default is an empty string, which results in the metadata being exported to the current user's home directory on HDFS.
270
271 272
273
hive.metadata.move.exported.metadata.to.trash
274
275
When used in conjunction with the org.apache.hadoop.hive.ql.parse.MetaDataExportListener pre event listener, this setting determines if the metadata that is exported will subsequently be moved to the user's trash directory alongside the dropped table data. This ensures that the metadata will be cleaned up along with the dropped table data.
276
277 278
279
hive.metastore.partition.name.whitelist.pattern
280
281
Partition names will be checked against this regex pattern and rejected if not matched. To use, enable hive.metastore.pre.event.listeners=org.apache.hadoop.hive.metastore.PartitionNameWhitelistPreEventListener Listener will not register if this property value is empty.
282
283 284
285
hive.metastore.end.function.listeners
286
287
list of comma separated listeners for the end of metastore functions.
288
289 290
291
hive.metastore.event.expiry.duration
292
0
293
Duration after which events expire from events table (in seconds)
294
295 296
297
hive.metastore.event.clean.freq
298
0
299
Frequency at which timer task runs to purge expired events in metastore(in seconds).
300
301 302
303
hive.metastore.connect.retries
304
5
305
Number of retries while opening a connection to metastore
306
307 308
309
hive.metastore.failure.retries
310
3
311
Number of retries upon failure of Thrift metastore calls
312
313 314
315
hive.metastore.client.connect.retry.delay
316
1
317
Number of seconds for the client to wait between consecutive connection attempts
318
319 320
321
hive.metastore.client.socket.timeout
322
20
323
MetaStore Client socket timeout in seconds
324
325 326
327
hive.metastore.rawstore.impl
328
org.apache.hadoop.hive.metastore.ObjectStore
329
Name of the class that implements org.apache.hadoop.hive.metastore.rawstore interface. This class is used to store and retrieval of raw metadata objects such as table, database
330
331 332
333
hive.metastore.batch.retrieve.max
334
300
335
Maximum number of objects (tables/partitions) can be retrieved from metastore in one batch. The higher the number, the less the number of round trips is needed to the Hive metastore server, but it may also cause higher memory requirement at the client side.
336
337 338
339
hive.metastore.batch.retrieve.table.partition.max
340
1000
341
Maximum number of table partitions that metastore internally retrieves in one batch.
342
343 344
345
hive.default.fileformat
346
TextFile
347
Default file format for CREATE TABLE statement. Options are TextFile and SequenceFile. Users can explicitly say CREATE TABLE ... STORED AS <TEXTFILE|SEQUENCEFILE> to override
348
349 350
351
hive.fileformat.check
352
true
353
Whether to check file format or not when loading data files
354
355 356
357
hive.map.aggr
358
true
359
Whether to use map-side aggregation in Hive Group By queries
360
361 362
363
hive.groupby.skewindata
364
false
365
Whether there is skew in data to optimize group by queries
366
367 368
369
hive.groupby.mapaggr.checkinterval
370
100000
371
Number of rows after which size of the grouping keys/aggregation classes is performed
372
373 374
375
hive.mapred.local.mem
376
0
377
For local mode, memory of the mappers/reducers
378
379 380
381
hive.mapjoin.followby.map.aggr.hash.percentmemory
382
0.3
383
Portion of total memory to be used by map-side grup aggregation hash table, when this group by is followed by map join
384
385 386
387
hive.map.aggr.hash.force.flush.memory.threshold
388
0.9
389
The max memory to be used by map-side grup aggregation hash table, if the memory usage is higher than this number, force to flush data
390
391 392
393
hive.map.aggr.hash.percentmemory
394
0.5
395
Portion of total memory to be used by map-side grup aggregation hash table
396
397 398
399
hive.map.aggr.hash.min.reduction
400
0.5
401
Hash aggregation will be turned off if the ratio between hash 402 table size and input rows is bigger than this number. Set to 1 to make sure 403 hash aggregation is never turned off.
404
405 406
407
hive.optimize.cp
408
true
409
Whether to enable column pruner
410
411 412
413
hive.optimize.index.filter
414
false
415
Whether to enable automatic use of indexes
416
417 418
419
hive.optimize.index.groupby
420
false
421
Whether to enable optimization of group-by queries using Aggregate indexes.
422
423 424
425
hive.optimize.ppd
426
true
427
Whether to enable predicate pushdown
428
429 430
431
hive.optimize.ppd.storage
432
true
433
Whether to push predicates down into storage handlers. Ignored when hive.optimize.ppd is false.
434
435 436
437
hive.ppd.recognizetransivity
438
true
439
Whether to transitively replicate predicate filters over equijoin conditions.
440
441 442
443
hive.optimize.groupby
444
true
445
Whether to enable the bucketed group by from bucketed partitions/tables.
446
447 448
449
hive.optimize.skewjoin.compiletime
450
false
451
Whether to create a separate plan for skewed keys for the tables in the join. 452 This is based on the skewed keys stored in the metadata. At compile time, the plan is broken 453 into different joins: one for the skewed keys, and the other for the remaining keys. And then, 454 a union is performed for the 2 joins generated above. So unless the same skewed key is present 455 in both the joined tables, the join for the skewed key will be performed as a map-side join. 456 457 The main difference between this paramater and hive.optimize.skewjoin is that this parameter 458 uses the skew information stored in the metastore to optimize the plan at compile time itself. 459 If there is no skew information in the metadata, this parameter will not have any affect. 460 Both hive.optimize.skewjoin.compiletime and hive.optimize.skewjoin should be set to true. 461 Ideally, hive.optimize.skewjoin should be renamed as hive.optimize.skewjoin.runtime, but not doing 462 so for backward compatibility. 463 464 If the skew information is correctly stored in the metadata, hive.optimize.skewjoin.compiletime 465 would change the query plan to take care of it, and hive.optimize.skewjoin will be a no-op. 466
467
468 469
470
hive.optimize.union.remove
471
false
472
473 Whether to remove the union and push the operators between union and the filesink above 474 union. This avoids an extra scan of the output by union. This is independently useful for union 475 queries, and specially useful when hive.optimize.skewjoin.compiletime is set to true, since an 476 extra union is inserted. 477 478 The merge is triggered if either of hive.merge.mapfiles or hive.merge.mapredfiles is set to true. 479 If the user has set hive.merge.mapfiles to true and hive.merge.mapredfiles to false, the idea was the 480 number of reducers are few, so the number of files anyway are small. However, with this optimization, 481 we are increasing the number of files possibly by a big margin. So, we merge aggresively. 482
483
484 485
486
hive.mapred.supports.subdirectories
487
false
488
Whether the version of hadoop which is running supports sub-directories for tables/partitions. 489 Many hive optimizations can be applied if the hadoop version supports sub-directories for 490 tables/partitions. It was added by MAPREDUCE-1501 491
492
493 494
495
hive.multigroupby.singlemr
496
false
497
Whether to optimize multi group by query to generate single M/R 498 job plan. If the multi group by query has common group by keys, it will be 499 optimized to generate single M/R job.
500
501 502
503
hive.map.groupby.sorted
504
false
505
If the bucketing/sorting properties of the table exactly match the grouping key, whether to 506 perform the group by in the mapper by using BucketizedHiveInputFormat. The only downside to this 507 is that it limits the number of mappers to the number of files. 508
509
510 511
512
hive.join.emit.interval
513
1000
514
How many rows in the right-most join operand Hive should buffer before emitting the join result.
515
516 517
518
hive.join.cache.size
519
25000
520
How many rows in the joining tables (except the streaming table) should be cached in memory.
521
522 523
524
hive.mapjoin.bucket.cache.size
525
100
526
How many values in each keys in the map-joined table should be cached in memory.
527
528 529
530
hive.mapjoin.cache.numrows
531
25000
532
How many rows should be cached by jdbm for map join.
533
534 535
536
hive.optimize.skewjoin
537
false
538
Whether to enable skew join optimization. 539 The algorithm is as follows: At runtime, detect the keys with a large skew. Instead of 540 processing those keys, store them temporarily in a hdfs directory. In a follow-up map-reduce 541 job, process those skewed keys. The same key need not be skewed for all the tables, and so, 542 the follow-up map-reduce job (for the skewed keys) would be much faster, since it would be a 543 map-join. 544
545
546 547
548
hive.exec.list.bucketing.default.dir
549
HIVE_DEFAULT_LIST_BUCKETING_DIR_NAME
550
Default directory name used in list bucketing. 551 List bucketing feature will create sub-directory for each skewed-value and a default directory 552 for non-skewed value. This config specifies the default name for the default directory. 553 Sub-directory is created by list bucketing DML and under partition directory. User doesn't need 554 to know how to construct the canonical path. It just gives user choice if they want to change 555 the default directory name. 556 For example, there are 2 skewed column c1 and c2. 2 skewed value: (1,a) and (2,b). subdirectory: 557
/c1=1/c2=a/
558
/c1=2/c2=b/
559
/HIVE_DEFAULT_LIST_BUCKETING_DIR_NAME/HIVE_DEFAULT_LIST_BUCKETING_DIR_NAME/
560 Note: This config won't impact users if they don't list bucketing. 561
562
563 564
565
hive.skewjoin.key
566
100000
567
Determine if we get a skew key in join. If we see more 568 than the specified number of rows with the same key in join operator, 569 we think the key as a skew join key.
570
571 572
573
hive.skewjoin.mapjoin.map.tasks
574
10000
575
Determine the number of map task used in the follow up map join job 576 for a skew join. It should be used together with hive.skewjoin.mapjoin.min.split 577 to perform a fine grained control.
578
579 580
581
hive.skewjoin.mapjoin.min.split
582
33554432
583
Determine the number of map task at most used in the follow up map join job 584 for a skew join by specifying the minimum split size. It should be used together with 585 hive.skewjoin.mapjoin.map.tasks to perform a fine grained control.
586
587 588
589
hive.mapred.mode
590
nonstrict
591
The mode in which the hive operations are being performed. 592 In strict mode, some risky queries are not allowed to run. They include: 593 Cartesian Product. 594 No partition being picked up for a query. 595 Comparing bigints and strings. 596 Comparing bigints and doubles. 597 Orderby without limit. 598
599
600 601
602
hive.enforce.bucketmapjoin
603
false
604
If the user asked for bucketed map-side join, and it cannot be performed, 605 should the query fail or not ? For eg, if the buckets in the tables being joined are 606 not a multiple of each other, bucketed map-side join cannot be performed, and the 607 query will fail if hive.enforce.bucketmapjoin is set to true. 608
609
610 611
612
hive.exec.script.maxerrsize
613
100000
614
Maximum number of bytes a script is allowed to emit to standard error (per map-reduce task). This prevents runaway scripts from filling logs partitions to capacity
615
616 617
618
hive.exec.script.allow.partial.consumption
619
false
620
When enabled, this option allows a user script to exit successfully without consuming all the data from the standard input. 621
622
623 624
625
hive.script.operator.id.env.var
626
HIVE_SCRIPT_OPERATOR_ID
627
Name of the environment variable that holds the unique script operator ID in the user's transform function (the custom mapper/reducer that the user has specified in the query) 628
629
630 631
632
hive.script.operator.truncate.env
633
false
634
Truncate each environment variable for external script in scripts operator to 20KB (to fit system limits)
635
636 637
638
hive.exec.compress.output
639
false
640
This controls whether the final outputs of a query (to a local/hdfs file or a hive table) is compressed. The compression codec and other options are determined from hadoop config variables mapred.output.compress*
641
642 643
644
hive.exec.compress.intermediate
645
false
646
This controls whether intermediate files produced by hive between multiple map-reduce jobs are compressed. The compression codec and other options are determined from hadoop config variables mapred.output.compress*
647
648 649
650
hive.exec.parallel
651
false
652
Whether to execute jobs in parallel
653
654 655
656
hive.exec.parallel.thread.number
657
8
658
How many jobs at most can be executed in parallel
659
660 661
662
hive.exec.rowoffset
663
false
664
Whether to provide the row offset virtual column
665
666 667
668
hive.task.progress
669
false
670
Whether Hive should periodically update task progress counters during execution. Enabling this allows task progress to be monitored more closely in the job tracker, but may impose a performance penalty. This flag is automatically set to true for jobs with hive.exec.dynamic.partition set to true.
671
672 673
674
hive.hwi.war.file
675
lib/hive-hwi-0.10.0.war
676
This sets the path to the HWI war file, relative to ${HIVE_HOME}.
677
678 679
680
hive.hwi.listen.host
681
0.0.0.0
682
This is the host address the Hive Web Interface will listen on
683
684 685
686
hive.hwi.listen.port
687
9999
688
This is the port the Hive Web Interface will listen on
689
690 691
692
hive.exec.pre.hooks
693
694
Comma-separated list of pre-execution hooks to be invoked for each statement. A pre-execution hook is specified as the name of a Java class which implements the org.apache.hadoop.hive.ql.hooks.ExecuteWithHookContext interface.
695
696 697
698
hive.exec.post.hooks
699
700
Comma-separated list of post-execution hooks to be invoked for each statement. A post-execution hook is specified as the name of a Java class which implements the org.apache.hadoop.hive.ql.hooks.ExecuteWithHookContext interface.
701
702 703
704
hive.exec.failure.hooks
705
706
Comma-separated list of on-failure hooks to be invoked for each statement. An on-failure hook is specified as the name of Java class which implements the org.apache.hadoop.hive.ql.hooks.ExecuteWithHookContext interface.
707
708 709
710
hive.client.stats.publishers
711
712
Comma-separated list of statistics publishers to be invoked on counters on each job. A client stats publisher is specified as the name of a Java class which implements the org.apache.hadoop.hive.ql.stats.ClientStatsPublisher interface.
713
714 715
716
hive.client.stats.counters
717
718
Subset of counters that should be of interest for hive.client.stats.publishers (when one wants to limit their publishing). Non-display names should be used
719
720 721
722
hive.merge.mapfiles
723
true
724
Merge small files at the end of a map-only job
725
726 727
728
hive.merge.mapredfiles
729
false
730
Merge small files at the end of a map-reduce job
731
732 733
734
hive.mergejob.maponly
735
true
736
Try to generate a map-only job for merging files if CombineHiveInputFormat is supported.
737
738 739
740
hive.heartbeat.interval
741
1000
742
Send a heartbeat after this interval - used by mapjoin and filter operators
743
744 745
746
hive.merge.size.per.task
747
256000000
748
Size of merged files at the end of the job
749
750 751
752
hive.merge.smallfiles.avgsize
753
16000000
754
When the average output file size of a job is less than this number, Hive will start an additional map-reduce job to merge the output files into bigger files. This is only done for map-only jobs if hive.merge.mapfiles is true, and for map-reduce jobs if hive.merge.mapredfiles is true.
755
756 757
758
hive.mapjoin.smalltable.filesize
759
25000000
760
The threshold for the input file size of the small tables; if the file size is smaller than this threshold, it will try to convert the common join into map join
761
762 763
764
hive.mapjoin.localtask.max.memory.usage
765
0.90
766
This number means how much memory the local task can take to hold the key/value into in-memory hash table; If the local task's memory usage is more than this number, the local task will be abort by themself. It means the data of small table is too large to be hold in the memory.
767
768 769
770
hive.mapjoin.followby.gby.localtask.max.memory.usage
771
0.55
772
This number means how much memory the local task can take to hold the key/value into in-memory hash table when this map join followed by a group by; If the local task's memory usage is more than this number, the local task will be abort by themself. It means the data of small table is too large to be hold in the memory.
773
774 775
776
hive.mapjoin.check.memory.rows
777
100000
778
The number means after how many rows processed it needs to check the memory usage
779
780 781
782
hive.auto.convert.join
783
false
784
Whether Hive enable the optimization about converting common join into mapjoin based on the input file size
785
786 787 788
789
hive.script.auto.progress
790
false
791
Whether Hive Tranform/Map/Reduce Clause should automatically send progress information to TaskTracker to avoid the task getting killed because of inactivity. Hive sends progress information when the script is outputting to stderr. This option removes the need of periodically producing stderr messages, but users should be cautious because this may prevent infinite loops in the scripts to be killed by TaskTracker.
792
793 794
795
hive.script.serde
796
org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
797
The default serde for trasmitting input data to and reading output data from the user scripts.
798
799 800
801
hive.binary.record.max.length
802
1000
803
Read from a binary stream and treat each hive.binary.record.max.length bytes as a record. 804 The last record before the end of stream can have less than hive.binary.record.max.length bytes
805
806 807 808
809
hive.script.recordreader
810
org.apache.hadoop.hive.ql.exec.TextRecordReader
811
The default record reader for reading data from the user scripts.
812
813 814
815
hive.script.recordwriter
816
org.apache.hadoop.hive.ql.exec.TextRecordWriter
817
The default record writer for writing data to the user scripts.
818
819 820
821
hive.input.format
822
org.apache.hadoop.hive.ql.io.CombineHiveInputFormat
823
The default input format. Set this to HiveInputFormat if you encounter problems with CombineHiveInputFormat.
824
825 826
827
hive.udtf.auto.progress
828
false
829
Whether Hive should automatically send progress information to TaskTracker when using UDTF's to prevent the task getting killed because of inactivity. Users should be cautious because this may prevent TaskTracker from killing tasks with infinte loops.
830
831 832
833
hive.mapred.reduce.tasks.speculative.execution
834
true
835
Whether speculative execution for reducers should be turned on.
836
837 838
839
hive.exec.counters.pull.interval
840
1000
841
The interval with which to poll the JobTracker for the counters the running job. The smaller it is the more load there will be on the jobtracker, the higher it is the less granular the caught will be.
842
843 844
845
hive.querylog.location
846
/tmp/${user.name}
847
848 Location of Hive run time structured log file 849
850
851 852
853
hive.querylog.enable.plan.progress
854
true
855
856 Whether to log the plan's progress every time a job's progress is checked. 857 These logs are written to the location specified by hive.querylog.location 858
859
860 861
862
hive.querylog.plan.progress.interval
863
60000
864
865 The interval to wait between logging the plan's progress in milliseconds. 866 If there is a whole number percentage change in the progress of the mappers or the reducers, 867 the progress is logged regardless of this value. 868 The actual interval will be the ceiling of (this value divided by the value of 869 hive.exec.counters.pull.interval) multiplied by the value of hive.exec.counters.pull.interval 870 I.e. if it is not divide evenly by the value of hive.exec.counters.pull.interval it will be 871 logged less frequently than specified. 872 This only has an effect if hive.querylog.enable.plan.progress is set to true. 873
874
875 876
877
hive.enforce.bucketing
878
false
879
Whether bucketing is enforced. If true, while inserting into the table, bucketing is enforced.
880
881 882
883
hive.enforce.sorting
884
false
885
Whether sorting is enforced. If true, while inserting into the table, sorting is enforced.
886
887 888
889
hive.enforce.sortmergebucketmapjoin
890
false
891
If the user asked for sort-merge bucketed map-side join, and it cannot be performed, 892 should the query fail or not ? 893
894
895 896
897
hive.metastore.ds.connection.url.hook
898
899
Name of the hook to use for retriving the JDO connection URL. If empty, the value in javax.jdo.option.ConnectionURL is used
900
901 902
903
hive.metastore.ds.retry.attempts
904
1
905
The number of times to retry a metastore call if there were a connection error
906
907 908
909
hive.metastore.ds.retry.interval
910
1000
911
The number of miliseconds between metastore retry attempts
912
913 914
915
hive.metastore.server.min.threads
916
200
917
Minimum number of worker threads in the Thrift server's pool.
918
919 920
921
hive.metastore.server.max.threads
922
100000
923
Maximum number of worker threads in the Thrift server's pool.
924
925 926
927
hive.metastore.server.tcp.keepalive
928
true
929
Whether to enable TCP keepalive for the metastore server. Keepalive will prevent accumulation of half-open connections.
930
931 932
933
hive.metastore.sasl.enabled
934
false
935
If true, the metastore thrift interface will be secured with SASL. Clients must authenticate with Kerberos.
936
937 938
939
hive.metastore.thrift.framed.transport.enabled
940
false
941
If true, the metastore thrift interface will use TFramedTransport. When false (default) a standard TTransport is used.
942
943 944
945
hive.metastore.kerberos.keytab.file
946
947
The path to the Kerberos Keytab file containing the metastore thrift server's service principal.
948
949 950
951
hive.metastore.kerberos.principal
952
hive-metastore/_HOST@EXAMPLE.COM
953
The service principal for the metastore thrift server. The special string _HOST will be replaced automatically with the correct host name.
954
955 956
957
hive.cluster.delegation.token.store.class
958
org.apache.hadoop.hive.thrift.MemoryTokenStore
959
The delegation token store implementation. Set to org.apache.hadoop.hive.thrift.ZooKeeperTokenStore for load-balanced cluster.
960
961 962
963
hive.cluster.delegation.token.store.zookeeper.connectString
964
localhost:2181
965
The ZooKeeper token store connect string.
966
967 968
969
hive.cluster.delegation.token.store.zookeeper.znode
970
/hive/cluster/delegation
971
The root path for token store data.
972
973 974
975
hive.cluster.delegation.token.store.zookeeper.acl
976
sasl:hive/host1@EXAMPLE.COM:cdrwa,sasl:hive/host2@EXAMPLE.COM:cdrwa
977
ACL for token store entries. List comma separated all server principals for the cluster.
978
979 980
981
hive.metastore.cache.pinobjtypes
982
Table,StorageDescriptor,SerDeInfo,Partition,Database,Type,FieldSchema,Order
983
List of comma separated metastore object types that should be pinned in the cache
984
985 986
987
hive.optimize.reducededuplication
988
true
989
Remove extra map-reduce jobs if the data is already clustered by the same key which needs to be used again. This should always be set to true. Since it is a new feature, it has been made configurable.
990
991 992
993
hive.exec.dynamic.partition
994
true
995
Whether or not to allow dynamic partitions in DML/DDL.
996
997 998
999
hive.exec.dynamic.partition.mode
1000
strict
1001
In strict mode, the user must specify at least one static partition in case the user accidentally overwrites all partitions.
1002
1003 1004
1005
hive.exec.max.dynamic.partitions
1006
1000
1007
Maximum number of dynamic partitions allowed to be created in total.
1008
1009 1010
1011
hive.exec.max.dynamic.partitions.pernode
1012
100
1013
Maximum number of dynamic partitions allowed to be created in each mapper/reducer node.
1014
1015 1016
1017
hive.exec.max.created.files
1018
100000
1019
Maximum number of HDFS files created by all mappers/reducers in a MapReduce job.
1020
1021 1022
1023
hive.exec.default.partition.name
1024
__HIVE_DEFAULT_PARTITION__
1025
The default partition name in case the dynamic partition column value is null/empty string or anyother values that cannot be escaped. This value must not contain any special character used in HDFS URI (e.g., ':', '%', '/' etc). The user has to be aware that the dynamic partition value should not contain this value to avoid confusions.
1026
1027 1028
1029
hive.stats.dbclass
1030
jdbc:derby
1031
The default database that stores temporary hive statistics.
1032
1033 1034
1035
hive.stats.autogather
1036
true
1037
A flag to gather statistics automatically during the INSERT OVERWRITE command.
1038
1039 1040
1041
hive.stats.jdbcdriver
1042
org.apache.derby.jdbc.EmbeddedDriver
1043
The JDBC driver for the database that stores temporary hive statistics.
1044
1045 1046
1047
hive.stats.dbconnectionstring
1048
jdbc:derby:;databaseName=TempStatsStore;create=true
1049
The default connection string for the database that stores temporary hive statistics.
1050
1051 1052
1053
hive.stats.default.publisher
1054
1055
The Java class (implementing the StatsPublisher interface) that is used by default if hive.stats.dbclass is not JDBC or HBase.
1056
1057 1058
1059
hive.stats.default.aggregator
1060
1061
The Java class (implementing the StatsAggregator interface) that is used by default if hive.stats.dbclass is not JDBC or HBase.
1062
1063 1064
1065
hive.stats.jdbc.timeout
1066
30
1067
Timeout value (number of seconds) used by JDBC connection and statements.
1068
1069 1070
1071
hive.stats.retries.max
1072
0
1073
Maximum number of retries when stats publisher/aggregator got an exception updating intermediate database. Default is no tries on failures.
1074
1075 1076
1077
hive.stats.retries.wait
1078
3000
1079
The base waiting window (in milliseconds) before the next retry. The actual wait time is calculated by baseWindow * failues + baseWindow * (failure + 1) * (random number between [0.0,1.0]).
1080
1081 1082
1083
hive.stats.reliable
1084
false
1085
Whether queries will fail because stats cannot be collected completely accurately.1086 If this is set to true, reading/writing from/into a partition may fail becuase the stats1087 could not be computed accurately.1088
1089
1090 1091
1092
hive.stats.collect.tablekeys
1093
false
1094
Whether join and group by keys on tables are derived and maintained in the QueryPlan.1095 This is useful to identify how tables are accessed and to determine if they should be bucketed.1096
1097
1098 1099
1100
hive.stats.ndv.error
1101
20.0
1102
Standard error expressed in percentage. Provides a tradeoff between accuracy and compute cost.A lower value for error indicates higher accuracy and a higher compute cost.1103
1104
1105 1106
1107
hive.support.concurrency
1108
false
1109
Whether hive supports concurrency or not. A zookeeper instance must be up and running for the default hive lock manager to support read-write locks.
1110
1111 1112
1113
hive.lock.numretries
1114
100
1115
The number of times you want to try to get all the locks
1116
1117 1118
1119
hive.unlock.numretries
1120
10
1121
The number of times you want to retry to do one unlock
1122
1123 1124
1125
hive.lock.sleep.between.retries
1126
60
1127
The sleep time (in seconds) between various retries
1128
1129 1130
1131
hive.zookeeper.quorum
1132
1133
The list of zookeeper servers to talk to. This is only needed for read/write locks.
1134
1135 1136
1137
hive.zookeeper.client.port
1138
2181
1139
The port of zookeeper servers to talk to. This is only needed for read/write locks.
1140
1141 1142
1143
hive.zookeeper.session.timeout
1144
600000
1145
Zookeeper client's session timeout. The client is disconnected, and as a result, all locks released, if a heartbeat is not sent in the timeout.
1146
1147 1148
1149
hive.zookeeper.namespace
1150
hive_zookeeper_namespace
1151
The parent node under which all zookeeper nodes are created.
1152
1153 1154
1155
hive.zookeeper.clean.extra.nodes
1156
false
1157
Clean extra nodes at the end of the session.
1158
1159 1160
1161
fs.har.impl
1162
org.apache.hadoop.hive.shims.HiveHarFileSystem
1163
The implementation for accessing Hadoop Archives. Note that this won't be applicable to Hadoop vers less than 0.20
1164
1165 1166
1167
hive.archive.enabled
1168
false
1169
Whether archiving operations are permitted
1170
1171 1172
1173
hive.fetch.output.serde
1174
org.apache.hadoop.hive.serde2.DelimitedJSONSerDe
1175
The serde used by FetchTask to serialize the fetch output.
1176
1177 1178
1179
hive.exec.mode.local.auto
1180
false
1181
Let hive determine whether to run in local mode automatically
1182
1183 1184
1185
hive.exec.drop.ignorenonexistent
1186
true
1187
1188 Do not report an error if DROP TABLE/VIEW specifies a non-existent table/view1189
1190
1191 1192
1193
hive.exec.show.job.failure.debug.info
1194
true
1195
1196 If a job fails, whether to provide a link in the CLI to the task with the1197 most failures, along with debugging hints if applicable.1198
1199
1200 1201
1202
hive.auto.progress.timeout
1203
0
1204
1205 How long to run autoprogressor for the script/UDTF operators (in seconds).1206 Set to 0 for forever.1207
1208
1209 1210
1211 1212
1213
hive.hbase.wal.enabled
1214
true
1215
Whether writes to HBase should be forced to the write-ahead log. Disabling this improves HBase write performance at the risk of lost writes in case of a crash.
1216
1217 1218
1219
hive.table.parameters.default
1220
1221
Default property values for newly created tables
1222
1223 1224
1225
hive.entity.separator
1226
@
1227
Separator used to construct names of tables and partitions. For example, dbname@tablename@partitionname
1228
1229 1230
1231
hive.ddl.createtablelike.properties.whitelist
1232
1233
Table Properties to copy over when executing a Create Table Like.
1234
1235 1236
1237
hive.variable.substitute
1238
true
1239
This enables substitution using syntax like ${var} ${system:var} and ${env:var}.
1240
1241 1242
1243
hive.variable.substitute.depth
1244
40
1245
The maximum replacements the substitution engine will do.
1246
1247 1248
1249
hive.conf.validation
1250
true
1251
Eables type checking for registered hive configurations
1252
1253 1254
1255
hive.security.authorization.enabled
1256
false
1257
enable or disable the hive client authorization
1258
1259 1260
1261
hive.security.authorization.manager
1262
org.apache.hadoop.hive.ql.security.authorization.DefaultHiveAuthorizationProvider
1263
the hive client authorization manager class name.1264 The user defined authorization class should implement interface org.apache.hadoop.hive.ql.security.authorization.HiveAuthorizationProvider.1265
1266
1267 1268
1269
hive.security.metastore.authorization.manager
1270
org.apache.hadoop.hive.ql.security.authorization.DefaultHiveMetastoreAuthorizationProvider
1271
authorization manager class name to be used in the metastore for authorization.1272 The user defined authorization class should implement interface org.apache.hadoop.hive.ql.security.authorization.HiveMetastoreAuthorizationProvider. 1273
1274
1275 1276
1277
hive.security.metastore.authorization.manager
1278
org.apache.hadoop.hive.ql.security.authorization.DefaultHiveMetastoreAuthorizationProvider
1279
authorization manager class name to be used in the metastore for authorization.1280 The user defined authorization class should implement interface org.apache.hadoop.hive.ql.security.authorization.HiveMetastoreAuthorizationProvider. 1281
1282
1283 1284
1285
hive.security.authenticator.manager
1286
org.apache.hadoop.hive.ql.security.HadoopDefaultAuthenticator
1287
hive client authenticator manager class name.1288 The user defined authenticator should implement interface org.apache.hadoop.hive.ql.security.HiveAuthenticationProvider.
1289
1290 1291
1292
hive.security.metastore.authenticator.manager
1293
org.apache.hadoop.hive.ql.security.HadoopDefaultMetastoreAuthenticator
1294
authenticator manager class name to be used in the metastore for authentication. 1295 The user defined authenticator should implement interface org.apache.hadoop.hive.ql.security.HiveAuthenticationProvider.
1296
1297 1298
1299
hive.security.metastore.authenticator.manager
1300
org.apache.hadoop.hive.ql.security.HadoopDefaultMetastoreAuthenticator
1301
authenticator manager class name to be used in the metastore for authentication. 1302 The user defined authenticator should implement interface org.apache.hadoop.hive.ql.security.HiveAuthenticationProvider.
1303
1304 1305
1306
hive.security.authorization.createtable.user.grants
1307
1308
the privileges automatically granted to some users whenever a table gets created.1309 An example like "userX,userY:select;userZ:create" will grant select privilege to userX and userY,1310 and grant create privilege to userZ whenever a new table created.
1311
1312 1313
1314
hive.security.authorization.createtable.group.grants
1315
1316
the privileges automatically granted to some groups whenever a table gets created.1317 An example like "groupX,groupY:select;groupZ:create" will grant select privilege to groupX and groupY,1318 and grant create privilege to groupZ whenever a new table created.
1319
1320 1321
1322
hive.security.authorization.createtable.role.grants
1323
1324
the privileges automatically granted to some roles whenever a table gets created.1325 An example like "roleX,roleY:select;roleZ:create" will grant select privilege to roleX and roleY,1326 and grant create privilege to roleZ whenever a new table created.
1327
1328 1329
1330
hive.security.authorization.createtable.owner.grants
1331
1332
the privileges automatically granted to the owner whenever a table gets created.1333 An example like "select,drop" will grant select and drop privilege to the owner of the table
1334
1335 1336
1337
hive.metastore.authorization.storage.checks
1338
false
1339
Should the metastore do authorization checks against the underlying storage1340 for operations like drop-partition (disallow the drop-partition if the user in1341 question doesn't have permissions to delete the corresponding directory1342 on the storage).
1343
1344 1345
1346
hive.error.on.empty.partition
1347
false
1348
Whether to throw an excpetion if dynamic partition insert generates empty results.
1349
1350 1351
1352
hive.index.compact.file.ignore.hdfs
1353
false
1354
True the hdfs location stored in the index file will be igbored at runtime.1355 If the data got moved or the name of the cluster got changed, the index data should still be usable.
1356
1357 1358
1359
hive.optimize.index.filter.compact.minsize
1360
5368709120
1361
Minimum size (in bytes) of the inputs on which a compact index is automatically used.
1362
1363 1364
1365
hive.optimize.index.filter.compact.maxsize
1366
-1
1367
Maximum size (in bytes) of the inputs on which a compact index is automatically used.1368 A negative number is equivalent to infinity.
1369
1370 1371
1372
hive.index.compact.query.max.size
1373
10737418240
1374
The maximum number of bytes that a query using the compact index can read. Negative value is equivalent to infinity.
1375
1376 1377
1378
hive.index.compact.query.max.entries
1379
10000000
1380
The maximum number of index entries to read during a query that uses the compact index. Negative value is equivalent to infinity.
1381
1382 1383
1384
hive.index.compact.binary.search
1385
true
1386
Whether or not to use a binary search to find the entries in an index table that match the filter, where possible
1387
1388 1389
1390
hive.exim.uri.scheme.whitelist
1391
hdfs,pfile
1392
A comma separated list of acceptable URI schemes for import and export.
1393
1394 1395
1396
hive.lock.mapred.only.operation
1397
false
1398
This param is to control whether or not only do lock on queries1399 that need to execute at least one mapred job.
1400
1401 1402
1403
hive.limit.row.max.size
1404
100000
1405
When trying a smaller subset of data for simple LIMIT, how much size we need to guarantee1406 each row to have at least.
1407
1408 1409
1410
hive.limit.optimize.limit.file
1411
10
1412
When trying a smaller subset of data for simple LIMIT, maximum number of files we can1413 sample.
1414
1415 1416
1417
hive.limit.optimize.enable
1418
false
1419
Whether to enable to optimization to trying a smaller subset of data for simple LIMIT first.
1420
1421 1422
1423
hive.limit.optimize.fetch.max
1424
50000
1425
Maximum number of rows allowed for a smaller subset of data for simple LIMIT, if it is a fetch query.1426 Insert queries are not restricted by this limit.
1427
1428 1429
1430
hive.rework.mapredwork
1431
false
1432
should rework the mapred work or not.1433 This is first introduced by SymlinkTextInputFormat to replace symlink files with real paths at compile time.
1434
1435 1436
1437
hive.exec.concatenate.check.index
1438
true
1439
If this sets to true, hive will throw error when doing1440 'alter table tbl_name [partSpec] concatenate' on a table/partition1441 that has indexes on it. The reason the user want to set this to true1442 is because it can help user to avoid handling all index drop, recreation,1443 rebuild work. This is very helpful for tables with thousands of partitions.
1444
1445 1446
1447
hive.sample.seednumber
1448
0
1449
A number used to percentage sampling. By changing this number, user will change the subsets1450 of data sampled.
1451
1452 1453
1454
hive.io.exception.handlers
1455
1456
A list of io exception handler class names. This is used1457 to construct a list exception handlers to handle exceptions thrown1458 by record readers
1459
1460 1461
1462
hive.autogen.columnalias.prefix.label
1463
_c
1464
String used as a prefix when auto generating column alias.1465 By default the prefix label will be appended with a column position number to form the column alias. Auto generation would happen if an aggregate function is used in a select clause without an explicit alias.
1466
1467 1468
1469
hive.autogen.columnalias.prefix.includefuncname
1470
false
1471
Whether to include function name in the column alias auto generated by hive.
1472
1473 1474
1475
hive.exec.perf.logger
1476
org.apache.hadoop.hive.ql.log.PerfLogger
1477
The class responsible logging client side performance metrics. Must be a subclass of org.apache.hadoop.hive.ql.log.PerfLogger
1478
1479 1480
1481
hive.start.cleanup.scratchdir
1482
false
1483
To cleanup the hive scratchdir while starting the hive server
1484
1485 1486
1487
hive.output.file.extension
1488
1489
String used as a file extension for output files. If not set, defaults to the codec extension for text files (e.g. ".gz"), or no extension otherwise.
1490
1491 1492
1493
hive.insert.into.multilevel.dirs
1494
false
1495
Where to insert into multilevel directories like1496 "insert directory '/HIVEFT25686/chinna/' from table"
1497
1498 1499
1500
hive.warehouse.subdir.inherit.perms
1501
false
1502
Set this to true if the the table directories should inherit the1503 permission of the warehouse or database directory instead of being created1504 with the permissions derived from dfs umask
1505
1506 1507
1508
hive.exec.job.debug.capture.stacktraces
1509
true
1510
Whether or not stack traces parsed from the task logs of a sampled failed task for1511 each failed job should be stored in the SessionState1512
1513
1514 1515
1516
hive.exec.driver.run.hooks
1517
1518
A comma separated list of hooks which implement HiveDriverRunHook and will be run at the1519 beginning and end of Driver.run, these will be run in the order specified1520
1521
1522 1523
1524
hive.ddl.output.format
1525
text
1526
1527 The data format to use for DDL output. One of "text" (for human1528 readable text) or "json" (for a json object).1529
1530
1531 1532
1533
hive.transform.escape.input
1534
false
1535
1536 This adds an option to escape special chars (newlines, carriage returns and1537 tabs) when they are passed to the user script. This is useful if the hive tables1538 can contain data that contains special characters.1539
1540
1541 1542
1543
hive.exec.rcfile.use.explicit.header
1544
true
1545
1546 If this is set the header for RC Files will simply be RCF. If this is not1547 set the header will be that borrowed from sequence files, e.g. SEQ- followed1548 by the input and output RC File formats.1549
1550
1551 1552
1553
hive.multi.insert.move.tasks.share.dependencies
1554
false
1555
1556 If this is set all move tasks for tables/partitions (not directories) at the end of a1557 multi-insert query will only begin once the dependencies for all these move tasks have been1558 met.1559 Advantages: If concurrency is enabled, the locks will only be released once the query has1560 finished, so with this config enabled, the time when the table/partition is1561 generated will be much closer to when the lock on it is released.1562 Disadvantages: If concurrency is not enabled, with this disabled, the tables/partitions which1563 are produced by this query and finish earlier will be available for querying1564 much earlier. Since the locks are only released once the query finishes, this1565 does not apply if concurrency is enabled.1566
1567
1568 1569
1570
hive.fetch.task.conversion
1571
minimal
1572
1573 Some select queries can be converted to single FETCH task minimizing latency.1574 Currently the query should be single sourced not having any subquery and should not have1575 any aggregations or distincts (which incurrs RS), lateral views and joins.1576 1. minimal : SELECT STAR, FILTER on partition columns, LIMIT only1577 2. more : SELECT, FILTER, LIMIT only (+TABLESAMPLE, virtual columns)1578
1579
1580 1581
1582
hive.hmshandler.retry.attempts
1583
1
1584
The number of times to retry a HMSHandler call if there were a connection error
1585
1586 1587
1588
hive.hmshandler.retry.interval
1589
1000
1590
The number of miliseconds between HMSHandler retry attempts
1591
1592 1593 1594
1595
hive.server.read.socket.timeout
1596
10
1597
Timeout for the HiveServer to close the connection if no response from the client in N seconds, defaults to 10 seconds.
1598
1599 1600
1601
hive.server.tcp.keepalive
1602
true
1603
Whether to enable TCP keepalive for the Hive server. Keepalive will prevent accumulation of half-open connections.
1604
1605
1606
1607
hive.aux.jars.path
1608
file:///home/hadoop/source/hive/lib/hive-hbase-handler-0.10.0.jar,file:///home/hadoop/source/hive/lib/hbase-0.94.0.jar,file:///home/hadoop/source/hive/lib/zookeeper-3.4.3.jar
1609
1610
View Code

 

   3.3 新增配置属性-hive.aux.jars.path  

1 
2
hive.aux.jars.path
3
file:///home/hadoop/source/hive/lib/hive-hbase-handler-0.10.0.jar,file:///home/hadoop/source/hive/lib/hbase-0.94.0.jar,file:///home/hadoop/source/hive/lib/zookeeper-3.4.3.jar
4

 

  3.4 拷贝Jar包到Hive/lib目录

  hbase-0.94.0.jar,zookeeper-3.4.3.jar

四、测试脚本-创建HBase能够识别的数据表

1 CREATE TABLE hbase_table_1(key int, value string)   2 STORED BY 'org.apache.hadoop.hive.hbase.HBaseStorageHandler'  3 WITH SERDEPROPERTIES ("hbase.columns.mapping" = ":key,cf1:val")  4 TBLPROPERTIES ("hbase.table.name" = "xyz");

 

五、异常解决

  5.1 错误提示

java.lang.NoClassDefFoundError: com/google/protobuf/Messageat org.apache.hadoop.hbase.io.HbaseObjectWritable.(HbaseObjectWritable.java…

 

   5.2 解决方案  

  将$HBASE_HOME/lib/protobuf-java-2.4.0a.jar 拷贝到 $HIVE_HOME/lib/.

六、运行效果  

[hadoop@hadoop1 lib]$ hive -hiveconf hbase.zookeeper.quorum=hadoop1WARNING: org.apache.hadoop.metrics.jvm.EventCounter is deprecated. Please use org.apache.hadoop.log.metrics.EventCounter in all the log4j.properties files.Logging initialized using configuration in jar:file:/home/hadoop/source/hive/lib/hive-common-0.10.0.jar!/hive-log4j.propertiesHive history file=/tmp/hadoop/hive_job_log_hadoop_201401012315_758621762.txthive> CREATE TABLE hbase_table_1(key int, value string)       > STORED BY 'org.apache.hadoop.hive.hbase.HBaseStorageHandler'      > WITH SERDEPROPERTIES ("hbase.columns.mapping" = ":key,cf1:val")      > TBLPROPERTIES ("hbase.table.name" = "xyz"); OKTime taken: 23.246 secondshive> show tables;OKhbase_table_1Time taken: 1.346 seconds

 

 

 

 

转载地址:http://tluym.baihongyu.com/

你可能感兴趣的文章
每天进步一点点——Linux文件锁编程flock
查看>>
sqlserver锁机制详解(sqlserver查看锁)
查看>>
[公告]欢迎您加入WF技术研究团队
查看>>
5.10. Web Tools
查看>>
将Eclipse代码导入到Android Studio的两种方式
查看>>
ASP.Net4.0中新增23项功能
查看>>
HTML JS 数据校验
查看>>
Mysql中分页查询两个方法比较
查看>>
保存一下dedecms数据库表和字段说明,方便日后查询
查看>>
公众号群发文章支持添加小程序
查看>>
5.6. Spring boot with Logging
查看>>
MySQL 视图技术
查看>>
第 138 章 Spark
查看>>
flask 使用 SQLAlchemy 的两种方式
查看>>
Nginx入门笔记之————配置文件结构
查看>>
SQL Server-聚焦深入理解死锁以及避免死锁建议(三十三)
查看>>
Android(Linux)实时监控串口数据
查看>>
Open Sans字体兼容问题解决办法[font-face]
查看>>
现在的我为什么不泡技术论坛了
查看>>
AES加密
查看>>