Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
W
wiki-hadoop
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • 老徐
  • wiki-hadoop
  • Wiki
  • Hive_Basic_Configuration

Hive_Basic_Configuration · Changes

Page history
yangbl created page: Hive_Basic_Configuration authored Sep 08, 2015 by 杨宝龙's avatar 杨宝龙
Hide whitespace changes
Inline Side-by-side
Showing with 20 additions and 0 deletions
+20 -0
  • Hive_Basic_Configuration.md Hive_Basic_Configuration.md +20 -0
  • No files found.
Hive_Basic_Configuration.md 0 → 100644
View page @ c5849ea9
# 压缩配置:
## 配置是否使用压缩
SET hive.exec.compress.output=true;
## 配置压缩格式(参考HIVE配置)
SET mapred.output.compression.codec=org.apache.hadoop.io.compress.SnappyCodec;
SET mapred.output.compression.codec=org.apache.hadoop.io.compress.BZip2Codec;
# 文件格式配置:
在创建hive表时配置:
STORED AS TEXTFILE
STORED AS RCFILE
STORED AS SEQUENCEFILE
Clone repository
  • Hive_Basic_Configuration
  • Hive_Basic_HQL
  • Hive_Basic_Operation
  • Hive_Table_Operation
  • Home