Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DS] Generate repositories partitions from HDFS blocks #10

Closed
ajnavarro opened this issue Aug 30, 2017 · 1 comment
Closed

[DS] Generate repositories partitions from HDFS blocks #10

ajnavarro opened this issue Aug 30, 2017 · 1 comment

Comments

@ajnavarro
Copy link
Contributor

Repositories will be in a specific folder. Example:

repositories/
├── repo1/
│   └── ...
├── repo2/
│   └── ...
└── repo3/
    └── ...

We should get all the files from a repository, get the blocks information, and aggregate repositories by datanodes with more block of each repository.
With this information we need to create a new class called RepositoryPartition that extends the trait org.apache.spark.Partition, that will include a list of repository folders.

This partitions will be sent to each relation to create RDD partitions correctly, depending of the locality.

@ajnavarro
Copy link
Contributor Author

not needed anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant