BsoBird commented on code in PR #24: URL: https://github.com/apache/hive-site/pull/24#discussion_r1900372758
########## content/docs/latest/manual-installation_283118363.md: ########## @@ -378,6 +379,76 @@ That directory should contain all the files necessary to run Hive. You can run i From now, you can follow the steps described in the section Installing Hive from a Tarball +## Installing with old version hadoop(>=3.1.0) + +Although we normally require hive4 to rely on a +hadoop 3.3.6+ cluster environment. +However, in practice, in an ON YARN environment, +we can package all the hadoop related dependencies into +tez&hive so that they do not need to rely on the lib +of the original hadoop cluster environment at runtime. +In this way, we can run HIVE4 in a lower version of hadoop, +provided that the base APIs of the hadoop 3.x series are common to +each other. + +The steps are as follows: + +1.Download the high version of the Hadoop package, unzip it, and then set the hadoop_home finger of the env script in HIVE4 to the path where the high version of hadoop is unzipped. + +2.Compile TEZ to get tez.tar.gz which contains all hadoop related dependencies(not tez minimal tarball), Review Comment: > You can add more about how to` Compile TEZ to get tez.tar.gz which contains all hadoop related dependencies`. Such as what mvn command can be used to compile? @done ########## content/docs/latest/manual-installation_283118363.md: ########## @@ -378,6 +379,76 @@ That directory should contain all the files necessary to run Hive. You can run i From now, you can follow the steps described in the section Installing Hive from a Tarball +## Installing with old version hadoop(>=3.1.0) + +Although we normally require hive4 to rely on a +hadoop 3.3.6+ cluster environment. +However, in practice, in an ON YARN environment, +we can package all the hadoop related dependencies into +tez&hive so that they do not need to rely on the lib +of the original hadoop cluster environment at runtime. +In this way, we can run HIVE4 in a lower version of hadoop, +provided that the base APIs of the hadoop 3.x series are common to +each other. + +The steps are as follows: + +1.Download the high version of the Hadoop package, unzip it, and then set the hadoop_home finger of the env script in HIVE4 to the path where the high version of hadoop is unzipped. + +2.Compile TEZ to get tez.tar.gz which contains all hadoop related dependencies(not tez minimal tarball), Review Comment: > You can add more about how to` Compile TEZ to get tez.tar.gz which contains all hadoop related dependencies`. Such as what mvn command can be used to compile? @zhangbutao done -- 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. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org