99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

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

代寫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 程序
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
    合肥機場巴士2號線
    合肥機場巴士2號線
    合肥機場巴士1號線
    合肥機場巴士1號線
  • 短信驗證碼 豆包 幣安下載 AI生圖 目錄網

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

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

    99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

          9000px;">

                国产精品国产三级国产| 国产日产欧美一区二区三区 | 亚洲国产精品成人综合色在线婷婷 | 国产精品久久久久永久免费观看 | 丰满白嫩尤物一区二区| 国产美女在线观看一区| 人人爽香蕉精品| 美女一区二区三区在线观看| 轻轻草成人在线| 免费在线视频一区| 免费久久99精品国产| 蜜臀av性久久久久蜜臀aⅴ流畅| 亚洲丰满少妇videoshd| 日韩激情在线观看| 久久99久久99| 懂色av噜噜一区二区三区av| 99久久久国产精品| 91久久精品午夜一区二区| 欧美亚洲免费在线一区| 69成人精品免费视频| 欧美变态口味重另类| 欧美日韩国产综合一区二区| 欧美老肥妇做.爰bbww| 欧美成人高清电影在线| 国产精品日韩成人| 午夜日韩在线电影| 国内精品伊人久久久久影院对白| 国产精品一区二区黑丝| 国产成人精品亚洲日本在线桃色| eeuss鲁一区二区三区| 色国产精品一区在线观看| 欧美一区午夜精品| 国产精品视频一二三区 | 亚洲国产成人91porn| 日韩电影免费在线看| 国产一区二区三区蝌蚪| 99久久99久久精品免费看蜜桃 | 欧美日韩一区二区三区高清| 337p亚洲精品色噜噜狠狠| 国产调教视频一区| 亚洲一级二级三级| 国产呦萝稀缺另类资源| 91搞黄在线观看| 国产丝袜美腿一区二区三区| 午夜精品久久一牛影视| 高清beeg欧美| 国产精品久久久久久一区二区三区| 精品一二三四区| 国产成人免费视频一区| 色综合中文字幕| 日韩精品专区在线影院观看| 亚洲欧洲成人自拍| 久久精品999| 欧美日韩色综合| 中文字幕av不卡| 日韩电影免费一区| 色哟哟日韩精品| 国产日韩欧美a| 男女男精品视频网| 欧美性淫爽ww久久久久无| 欧美精彩视频一区二区三区| 日产国产欧美视频一区精品| 色综合久久综合网欧美综合网 | 老汉av免费一区二区三区| 欧洲在线/亚洲| 国产精品美女久久久久久久 | 精品国产91九色蝌蚪| 亚洲一区二区三区美女| 99久久综合狠狠综合久久| 久久久久久99精品| 老司机精品视频线观看86| 欧美日韩三级一区| 亚洲电影你懂得| 欧美三级蜜桃2在线观看| 亚洲美女屁股眼交| 91亚洲精品乱码久久久久久蜜桃| 精品日韩欧美在线| 麻豆精品视频在线观看| 日韩欧美你懂的| 久久99久久99小草精品免视看| 7777精品伊人久久久大香线蕉完整版| 日韩伦理av电影| av电影天堂一区二区在线观看| 国产网站一区二区三区| 国产精品 欧美精品| 国产亚洲综合色| 成人免费视频国产在线观看| 国产精品视频观看| 99久久免费精品| 伊人婷婷欧美激情| 欧美精品在线观看播放| 婷婷成人激情在线网| 这里只有精品免费| 看片的网站亚洲| 久久亚洲精品小早川怜子| 国产一区二区主播在线| 国产欧美日韩卡一| 色88888久久久久久影院野外| 亚洲视频一区二区在线观看| 欧美又粗又大又爽| 午夜精品久久久久久久久久久 | 亚洲精品中文字幕在线观看| 色噜噜狠狠色综合欧洲selulu| 亚洲综合丝袜美腿| 777亚洲妇女| 国产精品一区在线| 亚洲人成网站影音先锋播放| 欧美日韩一区视频| 久久精品av麻豆的观看方式| 中日韩免费视频中文字幕| 在线观看区一区二| 韩国av一区二区| 一区二区三区欧美亚洲| 日韩一区二区免费高清| 风间由美一区二区三区在线观看 | 日韩国产在线观看一区| 久久美女艺术照精彩视频福利播放| 国产**成人网毛片九色| 一区二区三区影院| 精品国产91洋老外米糕| 日本韩国一区二区| 久久99精品久久久久久国产越南| 国产精品视频第一区| 欧美高清视频在线高清观看mv色露露十八 | 91在线观看高清| 免费成人你懂的| 亚洲美女电影在线| 精品国产乱码久久久久久影片| 91一区二区在线| 国产美女精品在线| 午夜一区二区三区视频| 中文字幕精品一区二区精品绿巨人 | 99精品视频中文字幕| 免费av网站大全久久| 一区二区三区久久| 国产精品嫩草影院com| 在线不卡欧美精品一区二区三区| 成人精品gif动图一区| 蜜臀av国产精品久久久久| 亚洲精品视频在线| 中文在线一区二区 | 成人国产电影网| 久久不见久久见免费视频7| 一区二区在线观看视频| 国产欧美一区二区精品性色 | 国产成人精品免费| 蜜桃视频在线一区| 亚洲第一激情av| 亚洲激情图片小说视频| 日本一区二区成人| 久久蜜臀中文字幕| 久久婷婷久久一区二区三区| 欧美一区午夜精品| 91精品国产色综合久久久蜜香臀| 在线亚洲人成电影网站色www| 成人一道本在线| 国产成人日日夜夜| 国产精品影音先锋| 国产一区二区三区久久悠悠色av| 日本中文字幕一区二区有限公司| 亚洲一区二区在线播放相泽 | 精品人在线二区三区| 在线成人免费观看| 欧美巨大另类极品videosbest | 国产成人鲁色资源国产91色综 | 99精品视频在线观看| 成人午夜电影网站| 99国产精品久久久久久久久久| 岛国一区二区三区| av亚洲精华国产精华精| 99精品视频一区| 欧美综合在线视频| 欧美日韩国产成人在线免费| 欧美色区777第一页| 555www色欧美视频| 精品国产网站在线观看| 国产网红主播福利一区二区| 国产精品狼人久久影院观看方式| 国产精品传媒在线| 亚洲精品视频一区二区| 丝袜亚洲另类欧美| 国内不卡的二区三区中文字幕| 国产精品69毛片高清亚洲| 不卡的av电影| 欧美剧情片在线观看| 亚洲精品一区二区三区香蕉 | 一片黄亚洲嫩模| 午夜天堂影视香蕉久久| 黄色日韩三级电影| 91在线观看美女| 欧美一区二区三区在线观看 | 国产乱对白刺激视频不卡| 99国产欧美另类久久久精品| 在线成人av网站| 国产女人18毛片水真多成人如厕| 中文字幕五月欧美| 午夜欧美大尺度福利影院在线看| 麻豆91精品91久久久的内涵| 成人av在线观| 8v天堂国产在线一区二区|