gpt4 book ai didi

hadoop - mapred-site.xml中$ PWD的含义

转载 作者:行者123 更新时间:2023-12-02 21:29:59 26 4
gpt4 key购买 nike

我需要帮助来了解mapred-site.xml上的以下配置。

<property>
<name>mapreduce.application.classpath</name>
<value>$PWD/mr-framework/hadoop/share/hadoop/mapreduce/*:$PWD/mr-framework/hadoop/share/hadoop/mapreduce/lib/*:$PWD/mr-framework/hadoop/share/hadoop/common/*:$PWD/mr-framework/hadoop/share/hadoop/common/lib/*:$PWD/mr-framework/hadoop/share/hadoop/yarn/*:$PWD/mr-framework/hadoop/share/hadoop/yarn/lib/*:$PWD/mr-framework/hadoop/share/hadoop/hdfs/*:$PWD/mr-framework/hadoop/share/hadoop/hdfs/lib/*:$PWD/mr-framework/hadoop/share/hadoop/tools/lib/*:/usr/hdp/${hdp.version}/hadoop/lib/hadoop-lzo-0.6.0.${hdp.version}.jar:/etc/hadoop/conf/secure</value>
</property>

$ PWD(类似于Linux的普通pwd)和$ hdp.version的值是多少?这些值设置在哪里?

任何的想法?

最佳答案

$ PWD是当前工作目录的路径名,而$ hdp.version是您正在使用的Hortonworks Data Platform(HDP)的版本。它们设置在您的~/.bashrc/etc/environment~/.profile

关于hadoop - mapred-site.xml中$ PWD的含义,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34627723/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com