Rice-Comp413-2016 / RDFS

The Rice Comp413 class (2016-2017) implementation of HDFS. (This will eventually be put under an open source license, which one TBD).
4 stars 2 forks source link

Limit number of concurrent reads/writes in TransferServer to num_xmits #71

Closed nichhk closed 7 years ago

nichhk commented 7 years ago

testConcurrentRead in ReadWriteTest is not a great test because it does not assert that the number of transmits <= num_xmits, but I looked at the logging to make sure that dn->getNumXmits() is never greater than num_xmits.

The test also depends on the first two reads finishing in <1min, because the other two readers will timeout otherwise. But it hasn't failed yet...

@pelmers @srdieffenbach

efrederic commented 7 years ago

there are a lot of spacing issues here