Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-13341 Deprecate HADOOP_SERVERNAME_OPTS; replace with (command)_(subcommand)_OPTS
  3. HADOOP-13361

Modify hadoop_verify_user to be consistent with hadoop_subcommand_opts (ie more granularity)

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha2, HADOOP-13341
    • scripts
    • None
    • Incompatible change
    • Hide
      Users:

      In Apache Hadoop 3.0.0-alpha1, verification required environment variables with the format of HADOOP_(subcommand)_USER where subcommand was lowercase applied globally. This changes the format to be (command)_(subcommand)_USER where all are uppercase to be consistent with the _OPTS functionality as well as being able to set per-command options. Additionally, the check is now happening sooner, which should make it faster to fail.

      Developers:

      This changes hadoop_verify_user to require the program's name as part of the function call. This is incompatible with Apache Hadoop 3.0.0-alpha1.
      Show
      Users: In Apache Hadoop 3.0.0-alpha1, verification required environment variables with the format of HADOOP_(subcommand)_USER where subcommand was lowercase applied globally. This changes the format to be (command)_(subcommand)_USER where all are uppercase to be consistent with the _OPTS functionality as well as being able to set per-command options. Additionally, the check is now happening sooner, which should make it faster to fail. Developers: This changes hadoop_verify_user to require the program's name as part of the function call. This is incompatible with Apache Hadoop 3.0.0-alpha1.

    Description

      hadoop_verify_user should be consistent with hadoop_subcommand_opts so that it looks/feels the same to end users.

      Attachments

        1. HADOOP-13361-HADOOP-13341.00.patch
          8 kB
          Allen Wittenauer

        Activity

          People

            aw Allen Wittenauer
            aw Allen Wittenauer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: