Giter Club home page Giter Club logo

cloudatlas's Introduction

CloudAtlas

GY4 team-10 project

项目描述: 利用Hadoop HDFS搭建云存储服务器,在客户端实现图片的上传,下载,删除,浏览以及展示。

工程目录结构参考

src |-client --提供照片的上传,下载,删除,浏览以及展示等功能 | |--android --安卓客户端 | |--web --HTML web客户端 | server |--service --云存储服务RESTful service,接受并处理Client HTTP请求。Java + Redis + Jersey(或CXF) |--storage --Hadoop HDFS集群

构建:maven,web client和service打在一个war包中统一部署。 服务器:Tomcat 文件元数据存储:Redis 文件存储:HDFS集群

系统架构:

                    RESTful service
                         ||
|---------|       |--------------|       |--------------|
| Client  | ----> | File Service | ----> | HDFS cluster |
|---------|       |--------------|       |--------------|
                         ||                      ||
                         ||                      ||                         
                    |----------|                /root
                    | File     |                   \----user1_id\
            Redis-> | MetaData |                   \----user2_id\
                    | Storage  |                   \....
                    |----------|           

File Metadata Structure:
{ 
 FileName,
 CreateTime,
 URL       # 文件在HDFS上的访问地址
}

客户端发出HTTP请求到File Service服务器的Webservice接口,File Service处理此请求,并返回应到Client。

cloudatlas's People

Contributors

dj99fei avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.