keith-turner opened a new issue, #4268:
URL: https://github.com/apache/accumulo/issues/4268

   If someone with an Accumulo 2.1 cluster does the following it would be good 
if the last step failed.
   
    1. Upgrades Accumulo from 2.1 to 3.1
    2. Accidentally starts a 2.1 accumulo process after the upgrade.
   
   It seems like [this 
code](https://github.com/apache/accumulo/blob/ee7ae63a823477b557aa9415a92653e95aa64cb1/server/base/src/main/java/org/apache/accumulo/server/ServerContext.java#L298)
 should cause the server process started in step 2 above to fail.  Having an 
integration test for this would be useful given how disruptive older code 
running against new data and metadata could be.  The following is an outline of 
a possible integration test.
   
    1. Create a 2.1 mini accumulo cluster
    2. Stop all accumulo processes
    3. In the test code, modify the data version in hdfs to add one to whatever 
is there
    4. Attempt to start each kinds of accumulo server processes and verify that 
they exit with an error code.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to