keith-turner opened a new issue #72: Create upgrade testing framework URL: https://github.com/apache/accumulo-testing/issues/72 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 <<EOF table test_ingest importdirectory $BULK/bulk $BULK/fail false createtable foo config -t foo -s table.compaction.major.ratio=2 insert r1 f1 q1 v1 flush -t foo -w scan -t accumulo.metadata -c file insert r1 f1 q2 v2 insert r2 f1 q1 v3 EOF ) pkill -9 -f accumulo\\.start cd $ACCUMULO_DIR git checkout accumulo-1111 git clean -xfd cd $UNO_DIR ./bin/uno fetch accumulo ./bin/uno install accumulo --no-deps ./install/accumulo*/bin/accumulo-cluster start ( eval "$(./bin/uno env)" hadoop fs -ls /accumulo/version accumulo shell -u root -p secret <<EOF config -t foo -f table.compaction.major.ratio scan -t foo -np scan -t accumulo.metadata -c file compact -t foo -w scan -t foo -np scan -t accumulo.metadata -c file EOF accumulo org.apache.accumulo.test.VerifyIngest --size 50 --timestamp 1 --random 56 --rows 400000 --start 0 --cols 1 ) ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
