英国论文代写_英国代写论文价格_英国毕业论文literature review怎么写

首頁 > > 詳細

代寫INFSCI 2750幫寫Java、Java代做

INFSCI 2750: Cloud Computing
Mini Project 3

Objective
The objective of this mini project is to learn and develop applications using Apache
Cassandra. You will using the previously assigned VMs.
Part 1: Setting up Cassandra: (50 points)
The first task is to configure a Cassandra distribution in your cluster of VMs. The entire
Cassandra setup should be configured on top of a two-node or three-node cluster.
As Cassandra has a “master-less” architecture, all of the Cassandra nodes can be configured
in the same way. Here are some documents for Cassandra:
http://cassandra.apache.org/doc/latest/
You can check here to install Cassandra:
http://cassandra.apache.org/download/
On Ubuntu, you can install Cassandra easily from the Debian packages.
Then, you need to configure Cassandra nodes to make them work together:
http://cassandra.apache.org/doc/latest/getting_started/configuring.html
Finally, you can start your Cassandra nodes on all the VMs (make sure the previous Hadoop
and Spark services are all shut down to empty the memory and use –R parameter if you run
Cassandra with root user)

Part 2: Import Data into Cassandra (25 points)
As part of the project, you will be working with the log data set which has been provided in
access_log.zip in the Mini Project 1.
You need to use CQL (Cassandra Query Language:
http://cassandra.apache.org/doc/latest/cql/index.html ) or JAVA driver of Cassandra
(https://github.com/datastax/java-driver ) to import the access logs into Cassandra.
You need to create one keyspace and one table at least in Cassandra to store all the logs.
You can check https://docs.datastax.com/en/cql/3.3/cql/cql_reference/cqlshCopy.html for some
help of the COPY commands or use the bulk loader to import the data:
https://docs.datastax.com/en/archived/cassandra/2.0/cassandra/tools/toolsBulkloader_t.html . In
addition, for creating the table, you can check here:
http://cassandra.apache.org/doc/latest/cql/ddl.html#create-table .

Part 3: Operate Data in Cassandra (25 points)
As part of the project you will be working with the log data set which has been stored in
Cassandra.
You need to use CQL (Cassandra Query Language:
http://cassandra.apache.org/doc/latest/cql/index.html ) or JAVA driver of Cassandra
(https://github.com/datastax/java-driver ) to operate the access logs in Cassandra.
You need to get the result for the questions below:
Problems:
1. How many hits were made to the website item “/assets/img/release-schedule-
logo.png”?
2. How many hits were made from the IP: 10.207.188.188
3. Which path in the website has been hit most? How many hits were made to
the path?
4. Which IP accesses the website most? How many accesses were made by it?
The first two questions can be answered by SELECT in CQL. You can check
http://cassandra.apache.org/doc/latest/cql/dml.html#select if you have any difficulties.
The last two questions need one more step to get: you can either use the java-driver to insert
the counts of the items into a new table and use another CQL to get the answer or just use
one user-defined function to get the answer of the group-max query, you can refer:
http://christopher-batey.blogspot.com/2015/05/cassandra-aggregates-min-max-avg-
group.html .


Project Submission: Submit a single ZIP file with your Pitt email ID as its filename via the
CourseWeb system. The package should contain all your source files and a readme file that
explains how to execute your program. Also include screenshots of your program’s output
and CQL shell. The IP address of the master machine should be clearly visible in the
screenshots. In addition, for Part 2, the readme file needs include the screenshots of showing
parts of the importing dataset. For Part 3, you need to show the results in the screenshots.

聯系我們
  • QQ:1067665373
  • 郵箱:1067665373@qq.com
  • 工作時間:8:00-23:00
  • 微信:Essay_Cheery
熱點文章
程序代寫更多圖片

聯系我們 - QQ: 1067665373 微信:Essay_Cheery
? 2021 uk-essays.net
程序代寫網!

在線客服

售前咨詢
售后咨詢
微信號
Essay_Cheery
微信
全优代写 - 北美Essay代写,Report代写,留学生论文代写作业代写 北美顶级代写|加拿大美国论文作业代写服务-最靠谱价格低-CoursePass 论文代写等留学生作业代做服务,北美网课代修领导者AssignmentBack 北美最专业的线上写作专家:网课代修,网课代做,CS代写,程序代写 代码代写,CS编程代写,java代写北美最好的一站式学术代写服务机构 美国essay代写,作业代写,✔美国网课代上-最靠谱最低价 美国代写服务,作业代写,CS编程代写,java代写,python代写,c++/c代写 代写essay,作业代写,金融代写,business代写-留学生代写平台 北美代写,美国作业代写,网课代修,Assignment代写-100%原创 北美作业代写,【essay代写】,作业【assignment代写】,网课代上代考