1 { version, stdenv, fetchurl, lib, cmake, openssl, platformAttrs, ... }:
3 stdenv.mkDerivation (finalAttrs: {
4 pname = "hadoop-yarn-containerexecutor";
8 url = "mirror://apache/hadoop/common/hadoop-${finalAttrs.version}/hadoop-${finalAttrs.version}-src.tar.gz";
9 hash = platformAttrs.${stdenv.system}.srcHash;
11 sourceRoot = "hadoop-${finalAttrs.version}-src/hadoop-yarn-project/hadoop-yarn/"
12 +"hadoop-yarn-server/hadoop-yarn-server-nodemanager/src";
14 nativeBuildInputs = [ cmake ];
15 buildInputs = [ openssl ];
16 cmakeFlags = [ "-DHADOOP_CONF_DIR=/run/wrappers/yarn-nodemanager/etc/hadoop" ];
20 mv target/var/empty/local/bin $out/
24 homepage = "https://hadoop.apache.org/";
25 description = "Framework for distributed processing of large data sets across clusters of computers";
26 license = licenses.asl20;
29 The Hadoop YARN Container Executor is a native component responsible for managing the lifecycle of containers
30 on individual nodes in a Hadoop YARN cluster. It launches, monitors, and terminates containers, ensuring that
31 resources like CPU and memory are allocated according to the policies defined in the ResourceManager.
34 maintainers = with maintainers; [ illustris ];
35 platforms = filter (strings.hasSuffix "linux") (attrNames platformAttrs);