You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2021/05/10 15:42:04 UTC

[GitHub] [ozone] adoroszlai commented on pull request #2231: HDDS-5203. Allow suppressing deprecation warning for HADOOP_ variables

adoroszlai commented on pull request #2231:
URL: https://github.com/apache/ozone/pull/2231#issuecomment-836857022


   @dineshchitlangia Thanks for taking a look.
   
   > How does it make the upgrade easier?  My understanding is that since this is a warning it should cause any failures/error/process termination.
   
   Correct, it's only a warning, does not cause any failure.
   
   We deprecated the `HADOOP_*` variables in favor of `OZONE_*` ones mainly to be able to define different values for a co-existing Hadoop + Ozone installation.  In an existing Ozone install where one doesn't need that flexibility, we can live with `HADOOP_*`, but the warning printed for each CLI command may be annoying anyway.  The ability to suppress the warning makes upgrade easier because otherwise you would have to rename all the other variables just to get rid of the warning.


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



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org