ccri / cloud-local

Install script for a local 1 node cloud...no excuses folks
17 stars 5 forks source link

Provide unset command #24

Open nhambletCCRI opened 8 years ago

nhambletCCRI commented 8 years ago

It seems like it could be convenient to, instead of requiring the user to unset some collection of env vars by hand (e.g., CLOUD_HOME, HADOOP_HOME, etc), provide a command which unsets the ones that probably matter.

The following might be a reasonable start, and/or overkill: unset ACCUMULO_HOME CLOUD_HOME HADOOP_COMMON_HOME HADOOP_HDFS_HOME HADOOP_HOME HADOOP_YARN_HOME KAFKA_HOME YARN_HOME ZOOKEEPER_HOME

vpipkt commented 8 years ago

I think the commit below removed the need to unset variables in most users environments (with ccri/dev_env). Can we test that works as intended and update the readme?

https://github.com/ccri/cloud-local/commit/2a869430544719ce0a488155ec2699cc87457310