accumulo icon indicating copy to clipboard operation
accumulo copied to clipboard

Modify upgrader to error if 'tserver.last.location.mode' is set

Open dlmarion opened this issue 2 years ago • 5 comments

#3926 removed this property. Modify the upgrader to fail if the property is set. We may want to consider just generically failing the upgrade if any property is set that no longer exists?

dlmarion avatar Nov 21 '23 20:11 dlmarion

Is it really worth failing? Maybe this should just be a warning that an unrecognized property exists, and that perhaps it was one that was removed?

ctubbsii avatar Nov 21 '23 21:11 ctubbsii

Is it really worth failing? Maybe this should just be a warning that an unrecognized property exists, and that perhaps it was one that was removed?

Do you think this should be a warning for all unknown properties?

dlmarion avatar Nov 21 '23 21:11 dlmarion

Is it really worth failing? Maybe this should just be a warning that an unrecognized property exists, and that perhaps it was one that was removed?

Do you think this should be a warning for all unknown properties?

I'm not sure. I thought we already had something like that.

ctubbsii avatar Nov 21 '23 22:11 ctubbsii

I'm not sure. I thought we already had something like that.

Found the following in the code

https://github.com/apache/accumulo/blob/df362efeee3113d3e3c23ff6f6778f394a588363/core/src/main/java/org/apache/accumulo/core/conf/SiteConfiguration.java#L204

https://github.com/apache/accumulo/blob/df362efeee3113d3e3c23ff6f6778f394a588363/server/base/src/main/java/org/apache/accumulo/server/conf/ServerConfigurationFactory.java#L118

So maybe warns are logged when tables or site configs have props that do not validate. Not related to this PR, but wondering if the system config in ZK should also be validated.

keith-turner avatar Nov 22 '23 18:11 keith-turner

Not related to this PR, but wondering if the system config in ZK should also be validated.

opened #3978 to address this

keith-turner avatar Nov 22 '23 19:11 keith-turner

Closed by #4289 which validates the configuration during the upgrade.

dlmarion avatar Feb 22 '24 17:02 dlmarion