# kumarnithish1601-create/bdl architecture

> Architecture diagram of the GitHub repository kumarnithish1601-create/bdl, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-29). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/kumarnithish1601-create/bdl
- Repository: https://github.com/kumarnithish1601-create/bdl

## Overview

This repository is a set of big-data coursework exercises, not one integrated application. Its sampled runtime includes two Hadoop MapReduce jobs and a MongoDB bulk-insert script; the tree also identifies notebook-based retail analyses and a MongoDB query exercise. The notebooks and query implementation were not sampled, so their internal stages and detailed wiring are not inferred.

Main entry points: [`Exp1/WordCount.java`](https://github.com/kumarnithish1601-create/bdl/blob/main/Exp1/WordCount.java) (Word count job), [`Exp2/WeatherAnalysis.java`](https://github.com/kumarnithish1601-create/bdl/blob/main/Exp2/WeatherAnalysis.java) (Weather analysis job), [`Exp1/input/file.txt`](https://github.com/kumarnithish1601-create/bdl/blob/main/Exp1/input/file.txt) (Text input), [`Exp2/input/weather.txt`](https://github.com/kumarnithish1601-create/bdl/blob/main/Exp2/input/weather.txt) (Weather input)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_hadoop["Hadoop exercises"]
  node_wordcount_input["Text input<br/>[file.txt]"]
  node_wordcount_job["Word count job<br/>[WordCount.java]"]
  node_wordcount_output["Count output"]
  node_weather_input["Weather input<br/>[weather.txt]"]
  node_weather_job["Weather analysis job"]
  node_weather_output["Maximum temperatures"]
end

subgraph group_analysis["Data analyses"]
  node_retail_workbook["Retail workbook<br/>[Online Retail.xlsx]"]
  node_retail_notebook["E-commerce sales analysis"]
  node_ex9_notebook["Exercise 9 notebook<br/>[Ex 9.ipynb]"]
end

subgraph group_mongo["MongoDB exercises"]
  node_mongo_script["Bulk student insert"]
  node_mongo_query["Mongo query exercise"]
  node_mongo_db[("MongoDB college")]
end

node_mapreduce["Hadoop MapReduce"]

node_wordcount_input -->|"reads input"| node_wordcount_job
node_wordcount_job -->|"configures job"| node_mapreduce
node_wordcount_job -->|"writes output"| node_wordcount_output
node_weather_input -->|"reads input"| node_weather_job
node_weather_job -->|"configures job"| node_mapreduce
node_weather_job -->|"writes output"| node_weather_output
node_retail_workbook -->|"analysis data"| node_retail_notebook
node_mongo_script -->|"inserts students"| node_mongo_db
node_mongo_query -->|"queries database"| node_mongo_db

click node_wordcount_input "https://github.com/kumarnithish1601-create/bdl/blob/main/Exp1/input/file.txt"
click node_wordcount_job "https://github.com/kumarnithish1601-create/bdl/blob/main/Exp1/WordCount.java"
click node_weather_input "https://github.com/kumarnithish1601-create/bdl/blob/main/Exp2/input/weather.txt"
click node_weather_job "https://github.com/kumarnithish1601-create/bdl/blob/main/Exp2/WeatherAnalysis.java"
click node_retail_workbook "https://github.com/kumarnithish1601-create/bdl/blob/main/Ex%2010/Online%20Retail.xlsx"
click node_retail_notebook "https://github.com/kumarnithish1601-create/bdl/blob/main/Ex%2010/E-Commerce_Sales_Analysis.ipynb"
click node_ex9_notebook "https://github.com/kumarnithish1601-create/bdl/blob/main/Ex%209/Ex%209.ipynb"
click node_mongo_script "https://github.com/kumarnithish1601-create/bdl/blob/main/Exp4/mongo_bulk_insert.js"
click node_mongo_query "https://github.com/kumarnithish1601-create/bdl/blob/main/Exp4/mongo_query_test.js"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_wordcount_input,node_wordcount_job,node_wordcount_output,node_weather_input,node_weather_job,node_weather_output toneBlue
class node_retail_workbook,node_retail_notebook,node_ex9_notebook toneAmber
class node_mongo_script,node_mongo_query,node_mongo_db toneMint
class node_mapreduce toneIndigo
```

## Components

### Hadoop exercises

- [Text input](https://github.com/kumarnithish1601-create/bdl/blob/main/Exp1/input/file.txt): `Exp1/input/file.txt`
- [Word count job](https://github.com/kumarnithish1601-create/bdl/blob/main/Exp1/WordCount.java): `Exp1/WordCount.java`
- **Count output**
- [Weather input](https://github.com/kumarnithish1601-create/bdl/blob/main/Exp2/input/weather.txt): `Exp2/input/weather.txt`
- [Weather analysis job](https://github.com/kumarnithish1601-create/bdl/blob/main/Exp2/WeatherAnalysis.java): `Exp2/WeatherAnalysis.java`
- **Maximum temperatures**

### Data analyses

- [Retail workbook](https://github.com/kumarnithish1601-create/bdl/blob/main/Ex%2010/Online%20Retail.xlsx): `Ex 10/Online Retail.xlsx`
- [E-commerce sales analysis](https://github.com/kumarnithish1601-create/bdl/blob/main/Ex%2010/E-Commerce_Sales_Analysis.ipynb): `Ex 10/E-Commerce_Sales_Analysis.ipynb`
- [Exercise 9 notebook](https://github.com/kumarnithish1601-create/bdl/blob/main/Ex%209/Ex%209.ipynb): `Ex 9/Ex 9.ipynb`

### MongoDB exercises

- [Bulk student insert](https://github.com/kumarnithish1601-create/bdl/blob/main/Exp4/mongo_bulk_insert.js): `Exp4/mongo_bulk_insert.js`
- [Mongo query exercise](https://github.com/kumarnithish1601-create/bdl/blob/main/Exp4/mongo_query_test.js): `Exp4/mongo_query_test.js`
- **MongoDB college**

### Other components

- **Hadoop MapReduce**

## Connections

- Text input → Word count job: reads input
- Word count job → Hadoop MapReduce: configures job
- Word count job → Count output: writes output
- Weather input → Weather analysis job: reads input
- Weather analysis job → Hadoop MapReduce: configures job
- Weather analysis job → Maximum temperatures: writes output
- Retail workbook → E-commerce sales analysis: analysis data
- Bulk student insert → MongoDB college: inserts students
- Mongo query exercise → MongoDB college: queries database
