sidebar hamburger menu

Apache Hadoop

TuxCare's Endless Lifecycle Support (ELS) for Apache Hadoop provides security patches and selected bug fixes that are integral to the stable operation of applications running on these versions of Apache Hadoop core components. These components have either reached their end of standard support from vendors or have reached End of Life (EOL). Our ELS for Apache Hadoop service is designed to provide solutions for organizations that are not yet ready to migrate to newer versions and that are seeking long-term stability for their legacy Apache Hadoop applications.

Supported Versions

  • Apache Hadoop 2.7.1, 2.7.3

Installation

Prerequisites

  • Nexus repository access credentials (username and password) — contact sales@tuxcare.com
  • To browse available artifacts, visit TuxCare Nexus and click Sign in in the top right corner. You may need to refresh the page after logging in.
  1. Navigate to the build tool directory

    • Windows
    Maven: C:\Users\{username}\.m2
    Gradle: C:\Users\{username}\.gradle
    
    • macOS
    Maven: /Users/{username}/.m2
    Gradle: /Users/{username}/.gradle
    
    • Linux
    Maven: /home/{username}/.m2
    Gradle: /home/{username}/.gradle
    
  2. Configure credentials

    For Maven, you may choose any valid <id> value instead of tuxcare-registry, but the same value must be used in both settings.xml and pom.xml.

    <?xml version="1.0" encoding="UTF-8"?>
    <settings xmlns="http://maven.apache.org/SETTINGS/1.1.0">
        <servers>
            <server>
              <id>tuxcare-registry</id>
              <username>USERNAME</username>
              <password>PASSWORD</password>
            </server>
        </servers>
    </settings>

    Here USERNAME and PASSWORD are your TuxCare credentials.

  3. Add the TuxCare repository

    Add the TuxCare Apache Hadoop repository and plugins to your build configuration.

    <repositories>
      <repository>
          <id>tuxcare-registry</id>
          <url>https://nexus.repo.tuxcare.com/repository/els_java/</url>
      </repository>
    </repositories>
    • To fully switch from the official Apache Hadoop repository, replace it with the TuxCare repository.
    • To keep both, add TuxCare after the official one.

    Example Maven and Gradle projects are available on GitHub. Remember to set the required environment variables.

  4. Update dependencies

    Replace Apache Hadoop dependencies with TuxCare-maintained versions. You can find artifact versions on Nexus — sign in with your TuxCare credentials.

    <dependencyManagement>
        <dependencies>
                <dependency>
                    <groupId>org.apache.hadoop</groupId>
                    <artifactId>hadoop-project</artifactId>
                    <version>2.7.3.tuxcare.1</version>
                    <type>pom</type>
                    <scope>import</scope>
                </dependency>
        </dependencies>
    </dependencyManagement>
    
    <dependencies>
        <dependency>
            <groupId>org.apache.hadoop</groupId>
            <artifactId>hadoop-common</artifactId>
        </dependency>
    </dependencies>
  5. Verify the setup

    Use your build tool to list the project's dependencies and confirm TuxCare packages are resolved correctly.

    mvn dependency:tree -Dverbose
  6. Build the project

    Include any library from the repository and run a build.

    mvn clean install

    The build tool you're using should be able to identify and resolve dependencies from the TuxCare ELS for Apache Hadoop repository.

What's Next?