Sign inSign up

datamountaineer/compactor-hdfs

By datamountaineer

•Updated almost 10 years ago

Image
0

9.6K

datamountaineer/compactor-hdfs repository overview

⁠HDFS Compactor

This Docker installs an Impala shell, Hive and HDFS clients to compact the previous days partitions.

Hive is used for complex type tables, see USE_HIVE environment variable. Impala for flat structures. This is because with Impala and complex types we'd need to explicity specify all columns.

⁠Environment Variables

NameOptionalDescription
USE_HIVENoList of tables with complex types. Hive will be used for compaction.
USE_IMPALANoList of table to compact using Impala.
SOURCE_DATABASENoName of the source/primary database the table to compact belongs to.
IMPALANoThe Impala deamon to connect to
OFFSETNoInteger day offset to move backwards from current day for partition compaction selection.
CLOUDERA_MANAGER_URLNoThe Cloudera manager URL to download the hdfs and hive client configs from.
CLOUDERA_CLUSTER_NAMENoThe HDFS nameservice.

Tag summary

Content type

Image

Digest

Size

639.1 MB

Last updated

almost 10 years ago

docker pull datamountaineer/compactor-hdfs