简体   繁体   中英

How to see all the current enable properties in Hadoop?

I intend to check out all current properties(like fs.default.name , etc.) set for my hadoop.

I've already googled on it, but with no luck. Is there any command that I can use?

Thanks a lot!

I don't think there is any specific command to get this information all at once. I know that Hive has a nifty little command (set -v) that lists out Hive related properties.

But for Hadoop in general, you will have to go to HADOOP_HOME/conf directory to check the configuration files (XML), like hdfs-site.xml, core-site.xml, mapred-site.xml etc. to see the properties.

You can check a job's setup information in the jobtracker web UI. It contains a list of all the variables set for the cluster and the job. You'll have to be careful about which properties are set for your cluster and which are set by the job configuration. It's more a workaround but you can see the properties in one place.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM