You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2021/01/15 13:32:55 UTC
[GitHub] [accumulo] brianloss edited a comment on issue #1640: Rename Accumulo master properties
brianloss edited a comment on issue #1640:
URL: https://github.com/apache/accumulo/issues/1640#issuecomment-760938382
> @brianloss There are a few concerns I'd have with that proposal:
>
> 1. Extra complexity (it seems a little more complicated and a lot more code changing than the previous proposals),
I'm not sure it's that complicated since the changes would be pretty much limited to Property and AccumuloConfiguration (changes to the AccumuloConfiguration sub-classes would be through IDE refactoring, and all of the property renames and their cascading changes would happen with any approach). I had been thinking I might prototype it and see, but the idea was just a thought, and see below...
> 2. I think we should encourage phase out of these deprecated stuffs, not continued support indefinitely for code or properties that have been discontinued (this plan sounds like the intent is to support "old names" in perpetuity; in this case, we actually want to discontinue the use of the term "master" in its entirety; this is possibly true for other cases, as well), and
I wasn't intending that we'd support the old names indefinitely, but rather follow semver rules (even though we don't _have_ to for the properties) and have them be fully supported until the next major release when they could be removed.
> 3. Properties are _rarely_ simply renamed... they are most often changed because of a shift in their semantics. Supporting "old names" implies simple renames. That is the case for this change, but this is, as I've said, a special case.
>
> I agree with @keith-turner 's concern about having a gigantic list of individually deprecated properties in the docs. I had been thinking about that as well. In the proposal I suggested, it would be simple to add a section to the generated properties documentation to document that (and how) the `master.` prefix is deprecated.
That's a fair point about simple renames. If we don't think they're likely to happen again any time soon **and** we don't think our user community will be upset about a partially incompatible change (not being able to use set the old property names in Zookeeper) on a minor version release, then I can just implement what you suggested. I also agree the documentation is important and we wouldn't want the noise of a huge list of deprecated properties in the docs.
----------------------------------------------------------------
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:
users@infra.apache.org