Redian新闻
>
我也谈过几个女朋友,她们对我的唯一共同评价是
avatar
我也谈过几个女朋友,她们对我的唯一共同评价是# Piebridge - 鹊桥
m*3
1
本人QA,测试数据库,老板给了一题让我做做玩玩,我不太会,请教版上大牛,谢谢!
!!
Background
In simplest terms, Accumulo is a sorted key/value store. It stores mappings
of keys to values, and all key/value entries are sorted by key. This allows
fast indexed access for get and put calls, and also supports quickly
scanning all entries starting at or near a specific key.
Accumulo distributes work across a cluster of servers by designating
responsibility for different ranges of keys to different servers. In
Accumulo terminology, each range is a 'tablet', and each server is a 'tablet
server'. A tablet server is responsible for all reads and writes to entries
within its ranges of keys. Every tablet is served by exactly one tablet
server at a time. Each tablet server can serve zero to many tablets at once.
The "Master" service is responsible for maintaining the assignments of keys
to tablet servers, including responding to changes in the cluster as tablet
servers come up and go down. The Master should balance the tablets as
evenly as possible across the tablet servers, while still minimizing
reassignments of tablets from one server to another.
Requirements
For this exercise, imagine you have a cluster of servers running Linux. One
is running the Master service, and all of them are configured to be tablet
servers. The Master service does the following:
1. Takes as input a fixed number of tablets and a set of tablet
servers
2. Calculates the ranges that define each tablet
3. Assigns each tablet to a tablet server
You can make a few simplifying assumptions for the purpose of this exercise:
• The key space is the range of values from 0 to Java's Long.
MAX_VALUE
• Ranges should be defined by simply splitting up the key space
into equal sized chunks
• Note that these assumptions are not true in the actual
Accumulo implementation! Accumulo's elastic distribution strategy is very
robust and flexible.
You have ssh access to each machine. For the tablet servers, you don't have
any direct access to the software, but each has a log file. For the Master
service, there is an admin interface that lets you do the following:
1. Input the number of tablets and the number of tablet servers
2. Add/remove a tablet
3. Add/remove a tablet server
4. Output the mapping of tablets to tablet servers, and the ranges
for each tablet.
Usage Example
Input: 4 tablets, 2 tablet severs
There will be four tablets
tablet1 has keys from 0-2305843009213693951
tablet2 has keys from
2305843009213693952-4611686018427387903
tablet3 has keys from
4611686018427387904-6917529027641081855
tablet4 has keys from
6917529027641081856-9223372036854775807
And they could start in the following mapping
tablet1 --> tabletserver1
tablet2 --> tabletserver2
tablet3 -->
tabletserver1
tablet4 --> tabletserver2
If a new tablet server was added, the load balancer would move one of the
tablets off onto the new tablet server. The workload would not be exactly
equal across servers, because 4 tablets cannot be divided evenly across 3
servers.
tablet1 --> tabletserver1
tablet2 --> tabletserver2
tablet3 -->
tabletserver3
tablet4 --> tabletserver2
Exercise
Your task is to come up with a test plan for the above system. You don't
need to spell out all of the steps for each test, but you should describe
what the test does, and possibly why (if it's not obvious).
avatar
T*7
2
就觉得那些社会上的什么教你怎么变成有钱人之类的那些教程太逗了。我偶尔也会跟我
朋友吐槽这个,就觉得你们要是真的能学会能成为有钱人的话,相信我,你们还是希望
下面有一群的穷人的,因为这群穷人既是你的市场又是你的衣食父母还是你的原材料和
生产力。如果没这些人绝对是成长不起来的。
然后挣钱的那些所谓的良方也是一样的。一个人是成功,第二个人就是复制成功失败,
下面的所有的人都是这种走向,最后的结果就是一路失败,然后还有很多人前赴后继的
往前给人送钱。最后能拿到钱的只有教育别人的人,这些人可不管你成功与否,只要是
挣到钱,其他的都不重要啊。
可怜还有不少穷人思维开化的比较慢,还想着自己一夜暴富成为有钱人。套路满满的还
在做呢,指不定是什么羊肉虎口的戏码呢。
avatar
d*a
3
最近想买这个东东: Baby Quasar Photorejuvenation Light Therapy, Red
不知道哪里实体店有卖
有谁买过说下经验,AMAZON上的评价有说小灯有坏掉的
多谢了
avatar
S*g
4
人面兽心人面兽心人面兽心人面兽心人面兽心人面兽心人面兽心人面兽心人面兽心人面
兽心人面兽心人面兽心人面兽心人面兽心人面兽心人面兽心人面兽心人面兽心人面兽心
人面兽心人面兽心人面兽心人面兽心人面兽心人面兽心人面兽心人面兽心人面兽心人面
兽心人面兽心人面兽心人面兽心人面兽心人面兽心人面兽心人面兽心人面兽心人面兽心
人面兽心人面兽心人面兽心人面兽心人面兽心人面兽心人面兽心人面兽心人面兽心人面
兽心人面兽心人面兽心人面兽心人面兽心人面兽心人面兽心人面兽心人面兽心人面兽心
人面兽心人面兽心人面兽心人面兽心人面兽心人面兽心人面兽心人面兽心人面兽心人面
兽心人面兽心人面兽心人面兽心人面兽心人面兽心人面兽心人面兽心人面兽心人面兽心
人面兽心人面兽心人面兽心人面兽心人面兽心人面兽心人面兽心人面兽心人面兽心人面
兽心人面兽心人面兽心人面兽心人面兽心人面兽心人面兽心人面兽心人面兽心人面兽心
人面兽心人面兽心人面兽心人面兽心人面兽心人面兽心人面兽心人面兽心人面兽心人面
兽心人面兽心人面兽心人面兽心人面兽心人面兽心人面兽心
avatar
l*u
5
1, add 1 tablet server, 500 tablets
2, add 5000 tablet servers // racing/locking
3, add 10k tablets in close range // for load balancer

mappings
allows
tablet

【在 m**********3 的大作中提到】
: 本人QA,测试数据库,老板给了一题让我做做玩玩,我不太会,请教版上大牛,谢谢!
: !!
: Background
: In simplest terms, Accumulo is a sorted key/value store. It stores mappings
: of keys to values, and all key/value entries are sorted by key. This allows
: fast indexed access for get and put calls, and also supports quickly
: scanning all entries starting at or near a specific key.
: Accumulo distributes work across a cluster of servers by designating
: responsibility for different ranges of keys to different servers. In
: Accumulo terminology, each range is a 'tablet', and each server is a 'tablet

avatar
H*i
6
这话很在理啊。穷人就是这样的,站在最下面上不去还得承担很多成本。赚钱其实对于
穷人来说是温饱不是能力。
avatar
S*g
7
去年今日此门中
人面兽心相映红
人面不知何处去
兽心尚存 出门往东
avatar
m*3
8
谢谢。
第一点,是setup 原始测试数据吗,需要看到什么test result?通过log吗?
第二点,不懂racing/locking,求教
第三点,谷歌了一下load balancer,可是我不懂需要在log里看到什么才算测试成功?
我的理解是,performance类的达到标准速度就算成功,functional类的有user story
作参照,可是这些测试需要怎么划定是否work,或者有没有bug?

【在 l*********u 的大作中提到】
: 1, add 1 tablet server, 500 tablets
: 2, add 5000 tablet servers // racing/locking
: 3, add 10k tablets in close range // for load balancer
:
: mappings
: allows
: tablet

avatar
a*o
9
穷人是怎么理财也不行的
资本不够,未来的发展也没有,只能空守着现在的产业罢了
avatar
i*n
10
坑王,你想写的是“人面兽行”吧
avatar
S*g
11
你高估我了
我十二岁开始 阳痿至今

【在 i*****n 的大作中提到】
: 坑王,你想写的是“人面兽行”吧
avatar
i*n
12
十二岁就知阳痿,坑王果然早慧啊

【在 S*********g 的大作中提到】
: 你高估我了
: 我十二岁开始 阳痿至今

avatar
s*p
13
那就是人面受心咯

【在 S*********g 的大作中提到】
: 你高估我了
: 我十二岁开始 阳痿至今

avatar
I*D
14
那你应该是禽兽不如才对。

【在 S*********g 的大作中提到】
: 你高估我了
: 我十二岁开始 阳痿至今

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。