Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HDFS-16686. GetJournalEditServlet fails to authorize valid Kerberos request #4724

Merged
merged 9 commits into from
Aug 23, 2022

Commits on Aug 17, 2022

  1. HDFS-16686. GetJournalEditServlet fails to authorize valid Kerberos r…

    …equest
    
    Use DfsServlet to obtain the UGI.
    Steve Vaughan Jr committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    18b1d9c View commit details
    Browse the repository at this point in the history
  2. Add tests for isValidRequestor

    Steve Vaughan Jr committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    32431de View commit details
    Browse the repository at this point in the history
  3. Address Checkstyle and license issues

    Changed "conf" and "servlet" to uppercase since they are static (the servlet is initialized only once).
    Steve Vaughan Jr committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    17b6fd0 View commit details
    Browse the repository at this point in the history
  4. Use try-with-resources to ensure close/shutdown

    Update the tests to ensure that the mini clusters are shutdown properly.
    Steve Vaughan Jr committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    f777e41 View commit details
    Browse the repository at this point in the history
  5. Make MiniQJMHACluster AutoCloseable like MIniDFSCluster

    This update allows MiniQJMHACluster to be used in try-with-resources, ensuring that tests are cleaned-up correctly.
    Steve Vaughan Jr committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    a228eed View commit details
    Browse the repository at this point in the history
  6. Use try-with-resources for mini clusters

    This update ensures that tests are cleaned-up correctly.
    Steve Vaughan Jr committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    e2b1133 View commit details
    Browse the repository at this point in the history
  7. Use test-specific data directories

    Create a default HDFS configuration which has test-specific data directories.  This is intended to protect against interactions between test runs that might corrupt results.  Each test run's data is automatically cleaned-up by JUnit.
    Steve Vaughan Jr committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    1c8f552 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2022

  1. Fix whitespace and remove debug logger

    Steve Vaughan Jr committed Aug 22, 2022
    Configuration menu
    Copy the full SHA
    3fee706 View commit details
    Browse the repository at this point in the history
  2. Restore shutdown IOException

    The signature for close() can't throw an exception for AutoCloseable, but the definition of shutdown() didn't have to change.  Move the try-catch into close().
    Steve Vaughan Jr committed Aug 22, 2022
    Configuration menu
    Copy the full SHA
    a0e2cac View commit details
    Browse the repository at this point in the history