国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

代寫EMS5730、代做Python設計程序

時間:2024-02-14  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



EMS5**0 Spring 2024 Homework #0
Release date: Jan 10, 2024
Due date: Jan 21, 2024 (Sunday) 23:59 pm
(Note: The course add-drop period ends at 5:30 pm on Jan 22.)
No late homework will be accepted!
Every Student MUST include the following statement, together with his/her signature in the
submitted homework.
I declare that the assignment submitted on the Elearning system is
original except for source material explicitly acknowledged, and that the
same or related material has not been previously submitted for another
course. I also acknowledge that I am aware of University policy and
regulations on honesty in academic work, and of the disciplinary
guidelines and procedures applicable to breaches of such policy and
regulations, as contained in the website
Submission notice:
● Submit your homework via the elearning system
General homework policies:
A student may discuss the problems with others. However, the work a student turns in must
be created COMPLETELY by oneself ALONE. A student may not share ANY written work or
pictures, nor may one copy answers from any source other than one’s own brain.
Each student MUST LIST on the homework paper the name of every person he/she has
discussed or worked with. If the answer includes content from any other source, the
student MUST STATE THE SOURCE. Failure to do so is cheating and will result in
sanctions. Copying answers from someone else is cheating even if one lists their name(s) on
the homework.
If there is information you need to solve a problem but the information is not stated in the
problem, try to find the data somewhere. If you cannot find it, state what data you need,
make a reasonable estimate of its value and justify any assumptions you make. You will be
graded not only on whether your answer is correct, but also on whether you have done an
intelligent analysis.
Q0 [10 marks]: Secure Virtual Machines Setup on the Cloud
In this task, you are required to set up virtual machines (VMs) on a cloud computing
platform. While you are free to choose any cloud platform, Google Cloud is recommended.
References [1] and [2] provide the tutorial for Google Cloud and Amazon AWS, respectively.
The default network settings in each cloud platform are insecure. Your VM can be hacked
by external users, resulting in resource overuse which may charge your credit card a
big bill of up to $5,000 USD. To protect your VMs from being hacked and prevent any
financial losses, you should set up secure network configurations for all your VMs.
In this part, you need to set up a whitelist for your VMs. You can choose one of the options
from the following choices to set up your whitelist: 1. only the IP corresponding to your
current device can access your VMs via SSH. Traffic from other sources should be blocked.
2. only users in the CUHK network can access your VMs via SSH. Traffic outside CUHK
should be blocked. You can connect to CUHK VPN to ensure you are in the CUHK network
(IP Range: 137.189.0.0/16). Reference [3] provides the CUHK VPN setup information from
ITSC.
a. [10 marks] Secure Virtual Machine Setup
Reference [4] and [5] are the user guides for the network security configuration of
AWS and Google Cloud, respectively. You can go through the document with respect
to the cloud platform you use. Then follow the listed steps to configure your VM’s
network:
i. locate or create the security group/ firewall of your VM;
ii. remove all rules of inbound/ ingress and outbound/ egress, except for the
default rule(s) responsible for internal access within the cloud platform;
iii. add a new rule to the inbound/ ingress, with the SSH port(s) of VMs (default:
22) and source specified, e.g., ‘137.189.0.0/16’ for CUHK users only;
iv. (Optional) more ports may be further permitted based on your needs (e.g.,
when completing Q1 below).
Q1 [** marks + 20 bonus marks]: Hadoop Cluster Setup
Hadoop is an open-source software framework for distributed storage and processing. In this
problem, you are required to set up a Hadoop cluster using the VMs you instantiated in Q0.
In order to set up a Hadoop cluster with multiple virtual machines (VM), you can set up a
single-node Hadoop cluster for each VM first [6]. Then modify the configuration file in each
node to set up a Hadoop cluster with multiple nodes. References [7], [9], [10], [11] provide
the setup instructions for a Hadoop cluster. Some important notes/ tips on instantiating VMs
are given at the end of this section.
a. [20 marks] Single-node Hadoop Setup
In this part, you need to set up a single-node Hadoop cluster in a pseudo-distributed
mode and run the Terasort example on your Hadoop cluster.
i. Set up a single-node Hadoop cluster (recommended Hadoop version: 2.9.x,
all versions available in [16]). Attach the screenshot of http://localhost:50070
(or http://:50070 if opened in the browser of your local machine) to
verify that your installation is successful.
ii. After installing a single-node Hadoop cluster, you need to run the Terasort
example [8] on it. You need to record all your key steps, including your
commands and output. The following commands may be useful:
$ ./bin/hadoop jar \
./share/hadoop/mapreduce/hadoop-mapreduce-examples-2.9.2.jar \
teragen 120000 terasort/input
//generate the data for sorting
$ ./bin/hadoop jar \
./share/hadoop/mapreduce/hadoop-mapreduce-examples-2.9.2.jar \
terasort terasort/input terasort/output
//terasort the generated data
$ ./bin/hadoop jar \
./share/hadoop/mapreduce/hadoop-mapreduce-examples-2.9.2.jar \
teravalidate terasort/output terasort/check
//validate the output is sorted
Notes: To monitor the Hadoop service via Hadoop NameNode WebUI (http://ip>:50070) on your local browser, based on steps in Q0, you may further allow traffic
from CUHK network to access port 50070 of VMs.
b. [40 marks] Multi-node Hadoop Cluster Setup
After the setup of a single-node Hadoop cluster in each VM, you can modify the
configuration files in each node to set up the multi-node Hadoop cluster.
i. Install and set up a multi-node Hadoop cluster with 4 VMs (1 Master and 3
Slaves). Use the ‘jps’ command to verify all the processes are running.
ii. In this part, you need to use the ‘teragen’ command to generate 2 different
datasets to serve as the input for the Terasort program. You should use the
following two rules to determine the size of the two datasets of your own:
■ Size of dataset 1: (Your student ID % 3 + 1) GB
■ Size of dataset 2: (Your student ID % 20 + 10) GB
Then, run the Terasort code again for these two different datasets and
compare their running time.
Hints: Keep an image for your Hadoop cluster. You would need to use the Hadoop
cluster again for subsequent homework assignments.
Notes:
1. You may need to add each VM to the whitelist of your security group/ firewall
and further allow traffic towards more ports needed by Hadoop/YARN
services (reference [17] [18]).
2. For step i, the resulting cluster should consist of 1 namenode and 4
datanodes. More precisely, 1 namenode and 1 datanode would be running on
the master machine, and each slave machine runs one datanode.
3. Please ensure that after the cluster setup, the number of “Live Nodes” shown
on Hadoop NameNode WebUI (port 50070) is 4.
c. [30 marks] Running Python Code on Hadoop
Hadoop streaming is a utility that comes with the Hadoop distribution. This utility
allows you to create and run MapReduce jobs with any executable or script as the
mapper and/or the reducer. In this part, you need to run the Python wordcount script
to handle the Shakespeare dataset [12] via Hadoop streaming.
i. Reference [13] introduces the method to run a Python wordcount script via
Hadoop streaming. You can also download the script from the reference [14].
ii. Run the Python wordcount script and record the running time. The following
command may be useful:
$ ./bin/hadoop jar \
./share/hadoop/tools/lib/hadoop-streaming-2.9.2.jar \
-file mapper.py -mapper mapper.py \
-file reducer.py -reducer reducer.py \
-input input/* \
-output output
//submit a Python program via Hadoop streaming
d. [Bonus 20 marks] Compiling the Java WordCount program for MapReduce
The Hadoop framework is written in Java. You can easily compile and submit a Java
MapReduce job. In this part, you need to compile and run your own Java wordcount
program to process the Shakespeare dataset [12].
i. In order to compile the Java MapReduce program, you may need to use
“hadoop classpath” command to fetch the list of all Hadoop jars. Or you can
simply copy all dependency jars in a directory and use them for compilation.
Reference [15] introduces the method to compile and run a Java wordcount
program in the Hadoop cluster. You can also download the Java wordcount
program from reference [14].
ii. Run the Java wordcount program and compare the running time with part c.
Part (d) is a bonus question for IERG 4300 but required for ESTR 4300.
IMPORTANT NOTES:
1. Since AWS will not provide free credits anymore, we recommend you to use Google
Cloud (which offers a **-day, $300 free trial) for this homework.
2. If you use Putty for SSH client, please download from the website
https://www.putty.org/ and avoid using the default private key. Failure to do so will
subject your AWS account/ Hadoop cluster to hijacking.
3. Launching instances with Ubuntu (version >= 18.04 LTS) is recommended. Hadoop
version 2.9.x is recommended. Older versions of Hadoop may have vulnerabilities
that can be exploited by hackers to launch DoS attacks.
4. (AWS) For each VM, you are recommended to use the t2.large instance type with
100GB hard disk, which consists of 2 CPU cores and 8GB RAM.
5. (Google) For each VM, you are recommended to use the n2-standard-2 instance
type with 100GB hard disk, which consists of 2 CPU cores and 8GB RAM.
6. When following the given references, you may need to modify the commands
according to your own environment, e.g., file location, etc.
7. After installing a single-node Hadoop, you can save the system image and launch
multiple copies of the VM with that image. This can simplify your process of installing
the single-node Hadoop cluster on each VM.
8. Keep an image for your Hadoop cluster. You will need to use the Hadoop cluster
again for subsequent homework assignments.
9. Always refer to the logs for debugging single/multi-node Hadoop setup, which
contains more details than CLI outputs.
10. Please shut down (not to terminate) your VMs when you are not using them. This can
save you some credits and avoid being attacked when your VMs are idle.
Submission Requirements:
1. Include all the key steps/ commands, your cluster configuration details, source codes
of your programs, your compiling steps (if any), etc., together with screenshots, into a
SINGLE PDF report. Your report should also include the signed declaration (the first
page of this homework file).
2. Package all the source codes (as you included in step 1) into a zip file individually.
3. You should submit two individual files: your homework report (in PDF format) and a
zip file packaged all the codes of your homework.
4. Please submit your homework report and code zip file through the Blackboard
system. No email submission is allowed.
如有需要,請加QQ:99515681 或WX:codehelp

掃一掃在手機打開當前頁
  • 上一篇:代做CSCI3280、Python設計編程代寫
  • 下一篇:代寫CS 476/676 程序
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢_專業CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢_專業CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務 管路流場仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務 管路
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真技術服務
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲勞振動
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲
    流體cfd仿真分析服務 7類仿真分析代做服務40個行業
    流體cfd仿真分析服務 7類仿真分析代做服務4
    超全面的拼多多電商運營技巧,多多開團助手,多多出評軟件徽y1698861
    超全面的拼多多電商運營技巧,多多開團助手
    CAE有限元仿真分析團隊,2026仿真代做咨詢服務平臺
    CAE有限元仿真分析團隊,2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗證碼 豆包網頁版入口 破天一劍 目錄網 排行網

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    国产精品中文在线| 国产欧美高清在线| 欧美日韩高清在线一区| 韩国视频理论视频久久| 91国偷自产一区二区三区的观看方式 | 日本伊人精品一区二区三区介绍| 欧美亚洲成人免费| 国产脚交av在线一区二区| 国产精品日韩欧美综合| 少妇大叫太大太粗太爽了a片小说| 国产深夜精品福利| 国产精品美乳一区二区免费| 日韩av中文字幕第一页 | 99在线国产| 精品国产一区二区三区久久久久久 | 少妇高潮流白浆| 成人av播放| 欧美精品在线网站| 日韩免费电影一区二区三区| 97干在线视频| 制服诱惑一区| 国产视频精品网| 国产精品入口免费视| 日本福利视频一区| 91久久偷偷做嫩草影院| 久久97精品久久久久久久不卡| 日韩一级免费在线观看| 成人免费在线小视频| 色综合久久中文字幕综合网小说| 日韩免费高清在线观看| 国产激情一区二区三区在线观看| 亚洲日本无吗高清不卡 | 日本三级中文字幕在线观看| 国产精彩视频一区二区| 亚洲午夜精品久久久中文影院av| 国产在线一区二区三区四区| 国产精品视频一区二区高潮| 欧美亚洲色图视频| 国产a级黄色大片| 日韩在线一级片| 久久这里只有精品23| 亚洲影院色在线观看免费| 国产欧美日韩视频| 欧美人与性动交| 国产精品一久久香蕉国产线看观看| 国产精品成久久久久三级| 欧美日韩福利在线| 国产精品视频999| 黄色小网站91| 国产精品美女免费| 国产欧美日韩高清| 欧美精品videofree1080p| 国产精品一色哟哟| 国产精品人人做人人爽| 欧美 日本 亚洲| 国产精品动漫网站| 狠狠色噜噜狠狠色综合久| 久久免费一区| 日韩精品久久久毛片一区二区| 久久久久久九九九| 精品一区二区不卡| 中文字幕欧美日韩一区二区| av久久久久久| 亚洲色婷婷久久精品av蜜桃| 91精品免费看| 日本视频一区在线观看| 久久精品国产亚洲精品| 国语自产精品视频在线看| 久久亚洲精品毛片| 国产日本欧美一区二区三区 | 国产欧美日韩91| 亚洲高清乱码| 日韩中文字幕免费| 国产午夜福利100集发布| 亚洲专区中文字幕| 97精品伊人久久久大香线蕉| 日本精品久久中文字幕佐佐木| 久久色在线播放| 国产精品一区二区欧美黑人喷潮水| 春日野结衣av| 国产精品久久久久久久久久久久久久| 丰满爆乳一区二区三区| 欧美一级黄色影院| 国产精品久久久久久久久免费| 国产一区视频免费观看| 亚洲91精品在线亚洲91精品在线| 日韩亚洲综合在线| 成人国产精品日本在线| 热re99久久精品国99热蜜月| 国产精品久久久久久超碰| 成人久久久久久久| 欧美亚洲另类激情另类| 中文一区一区三区免费| 国产a级黄色大片| 国产在线资源一区| 亚洲日本欧美在线| 国产精品久久久久久久天堂| 97免费视频在线播放| 久久久av电影| 国产精品专区h在线观看| 人人澡人人澡人人看欧美| 国产99视频精品免视看7| 久久久噜噜噜久久中文字免| 国产精品自拍合集| 欧美精品与人动性物交免费看| 中文字幕色一区二区| 日韩视频―中文字幕| 成人av播放| 麻豆av一区| 九一免费在线观看| 国产伦精品一区二区三区视频黑人 | 视频一区二区精品| 亚洲综合国产精品| 中文字幕精品一区日韩| 久久综合国产精品台湾中文娱乐网| 日韩中文在线不卡| 久久久久久香蕉网| 久久久久久久一区二区| 91精品国产成人| av一区观看| 97久久伊人激情网| av在线com| av一区二区三区在线观看| 成人免费视频91| 超碰在线97av| 97人人模人人爽人人喊38tv | 欧美日韩成人精品| 久久91亚洲精品中文字幕| 久久在线免费观看视频| 欧美乱妇40p| 国产精品毛片一区视频| 国产精品免费成人| 国产精品极品美女粉嫩高清在线 | 无码aⅴ精品一区二区三区浪潮| 岛国视频一区免费观看| 天堂√在线观看一区二区| 日韩av一区二区三区在线观看 | 成人免费在线小视频| 国产片侵犯亲女视频播放| 国产在线视频欧美一区二区三区| 美日韩免费视频| 国产精品一级久久久| 97国产在线观看| 国产成人中文字幕| 国产精品无码电影在线观看| 国产精品久久久久久久久久| 国产精品国语对白| 欧美激情在线视频二区| 亚洲蜜桃av| 日韩在线第三页| 欧美一区二三区| 狠狠97人人婷婷五月| 国产一区免费视频| 国产男女无遮挡| www.久久草| 久草视频这里只有精品| 国产精品久久久久久影视| 久久久久久91香蕉国产| 亚洲 国产 欧美一区| 青青草原一区二区| 国产一区精品视频| 91精品久久久久久久| 久久久精品日本| 久久99青青精品免费观看| 亚洲精品高清国产一线久久| 日韩精品一区中文字幕| 国产日韩中文字幕| 91精品久久久久久久久久| 久久精品99久久| 国产精品美女免费| 亚洲免费视频一区| 欧美精品一区二区三区三州| 国产精品一码二码三码在线| 久久av高潮av| 欧美日本黄视频| 人妻久久久一区二区三区| 国产男女无遮挡| 久久久噜噜噜久久中文字免| 精品国产_亚洲人成在线| 日本中文字幕在线视频观看| 国产天堂视频在线观看| 国产盗摄视频在线观看| 欧美成年人视频| 天天操天天干天天玩| 黄色av网址在线播放| 91av中文字幕| 精品久久一区二区三区蜜桃| 日韩av综合在线观看| 国产美女无遮挡网站| 精品国内亚洲在观看18黄| 伊人久久av导航| 经典三级在线视频| 91av免费看| 色综合老司机第九色激情| 日韩精品一区二区三区外面| 成人免费毛片网| 久久夜色精品亚洲噜噜国产mv| 日本人妻伦在线中文字幕| 国产日韩在线播放| 久久精品久久精品亚洲人|