How saikrishna2401/ecommerce-bigdata-analytics works
This is a batch e-commerce analytics and product-recommendation platform. Its principal workflow is to launch a batch, validate and deduplicate raw transactions into accepted and rejected records, then query the accepted data for weekly and historical analytics and product recommendations. The README also documents recommendation evaluation, cross-partition validation, configuration, and a persistent batch registry. No source excerpts were provided, so relationships below rely on the README’s documented flow and capabilities; implementation details beyond that are not inferred.
Main entry points: setup_table.sql Partitioned warehouse · ecommerce Batch CLI · clean_transactions.pig Transaction cleaning · weekly_report.sql Weekly analytics
Components 17
Batch orchestration
- Batch CLI
ecommerce - Shell utilities
scripts/common.sh
Data processing
- Transaction cleaning
pig/clean_transactions.pig - Accepted records
- Rejected records
Analytics and recommendations
- Partitioned warehouse
hive/setup_table.sql - Weekly analytics
hive/weekly_report.sql - Historical trends
hive/historical_report.sql - Market basket rules
hive/recommendations.sql - Recommendation evaluation
hive/evaluation.sql - Data validation
hive/validation.sql - Partition validation suite
scripts/validate_hive.sh
Configuration and audit
- Project configuration
config/project.conf - Batch audit registry
state/registry.tsv
Other components
- Operator
- Raw transactions
- HDFS storage
Connections 19
- Operator → Batch CLI: launches batch
README.md - Batch CLI → Shell utilities: uses utilities
README.md - Batch CLI → Project configuration: uses settings
README.md - Raw transactions → HDFS storage: stored in
README.md - Batch CLI → Transaction cleaning: runs cleaning
README.md - Transaction cleaning → HDFS storage: reads raw data
README.md - Transaction cleaning → Accepted records: writes accepted
README.md - Transaction cleaning → Rejected records: writes rejects
README.md - Accepted records → HDFS storage: published to
README.md - Rejected records → HDFS storage: published to
README.md - Partitioned warehouse → HDFS storage: uses external storage
README.md - Accepted records → Partitioned warehouse: partitioned for
README.md - Weekly analytics → Partitioned warehouse: aggregates
README.md - Historical trends → Partitioned warehouse: analyzes trends
README.md - Market basket rules → Partitioned warehouse: mines associations
README.md - Recommendation evaluation → Partitioned warehouse: evaluates rules
README.md - Data validation → Partitioned warehouse: audits data
README.md - Partition validation suite → Partitioned warehouse: validates partitions
README.md - Batch CLI → Batch audit registry: records batches
README.md