timyuer commented on PR #1046: URL: https://github.com/apache/bigtop/pull/1046#issuecomment-1290643146
Tested in `Centos7(x86_64)` and `ubuntu-20.04(x86_64)` ``` ./gradlew hadoop-clean hadoop-pkg ``` ``` ./gradlew hadoop-clean hadoop-pkg -PparentDir=/usr/bigtop ``` When set `-PparentDir=/usr/bigtop` in Centos7, The `/etc/default/hadoop` is:  Others is: ``` root@5cdec3de7f2f:/etc/default# cat hadoop # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. export HADOOP_HOME=/usr/lib/hadoop export HADOOP_LIBEXEC_DIR=/usr/lib/hadoop/libexec export HADOOP_CONF_DIR=/etc/hadoop/conf export HADOOP_COMMON_HOME=/usr/lib/hadoop export HADOOP_HDFS_HOME=/usr/lib/hadoop-hdfs export HADOOP_MAPRED_HOME=/usr/lib/hadoop-mapreduce export HADOOP_YARN_HOME=/usr/lib/hadoop-yarn ``` -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
