apache / apache/accumulo-testing
Create upgrade testing framework
- Dominant language
- Java
- Stars
- 19
- Forks
- 40
- Avg merge
- 21h 30m
- Merged PRs (30d)
- 1
Description
See https://issues.apache.org/jira/browse/ACCUMULO-2145 for a description of work and prior work done.
This could use Uno. For testing apache/accumulo#1111 I wrote the following script that uses Uno.
```bash
#! /usr/bin/env bash
ACCUMULO_DIR=~/git/accumulo
UNO_DIR=~/git/uno
BULK=/tmp/upt
cd $ACCUMULO_DIR
git checkout 1.9
git clean -xfd
cd $UNO_DIR
./bin/uno fetch accumulo
./bin/uno setup accumulo
(
eval "$(./bin/uno env)"
hadoop fs -ls /accumulo/version
hadoop fs -rmr "$BULK"
hadoop fs -mkdir -p "$BULK/fail"
accumulo org.apache.accumulo.test.TestIngest -i uno -u root -p secret --rfile $BULK/bulk/test --timestamp 1 --size 50 --random 56 --rows 200000 --start 200000 --cols 1
accumulo org.apache.accumulo.test.TestIngest -i uno -u root -p secret --timestamp 1 --size 50 --random 56 --rows 200000 --start 0 --cols 1 --createTable --splits 10
accumulo shell -u root -p secret <
Contributor guide
Assessment
This issue has not been assessed yet.