Comments (6)
So, I did some testing, and it's not the use of RANDOM
vs $RANDOM
. The log has the same IP being selected over and over again. So, maybe it's something else.
from accumulo-testing.
So, I did some testing, and it's not the use of
RANDOM
vs$RANDOM
. The log has the same IP being selected over and over again. So, maybe it's something else.
I'm not that familiar with RANDOM
vs $RANDOM
, but in testing the existing expressions, they seemed to both work for me.
from accumulo-testing.
I don't see anything immediately obviously wrong with the use of RANDOM to select nodes from the bash array to kill. But, I wouldn't append to the kill array using the index, like the script is currently doing (array[index]=foo
). Instead, I'd do array=("${array[@]}" foo)
, which I am more familiar with. I don't know if the former works on older bash, but when testing, it did seem to work on mine, so it could be fine. (I'm running 5.2.2)
from accumulo-testing.
I found it. Can't believe I didn't see it earlier.
from accumulo-testing.
I'm wondering if this was meant to be if num_hosts == 1 ...
from accumulo-testing.
@dlmarion Those two lines of code look okay to me. It looks like it's a simplified case where it avoids all the array logic if you're only killing up to 1 node. (max_kill == 1). Though, in that case, I suppose it could pick a random one, instead of always selecting the first.
from accumulo-testing.
Related Issues (20)
- Agitator broken, needs updating HOT 2
- Update agitator to read cluster.yml HOT 2
- Improve Agitator HOT 8
- Reflection Warning HOT 1
- Missing Jar during Randomwalk HOT 9
- CopyTable thread died during Randomwalk MultiTable test run HOT 1
- RejectedExecutionException: Task org.apache.accumulo.core.trace.TraceWrappedRunnable HOT 3
- IllegalArgumentException: Rwalk Simpl.xml and Basic.xml module HOT 6
- Bad formatting when logging state information
- Security.xml throws exception with randomwalk HOT 7
- Logging is broken
- Terraform setup fails when using CentOS Stream 9 HOT 3
- Add pssh to packages to be installed via terraform
- agitator fails on CentOS 7.9 HOT 4
- Make bulk import random walk verify step print missing markers HOT 11
- Investigate pulling OpenTelemetry and Micrometer version from Accumulo repo HOT 1
- Build stopped by files with unapproved licenses HOT 3
- Terraform setup fails with invalid function argument HOT 1
- Terraform setup fails due to old maven version HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from accumulo-testing.