Skip to content

Mac OS X installer for the Cloudera Distribution for Hadoop

Notifications You must be signed in to change notification settings

edwardt/cdh-installer-osx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OS X Installer for the Cloudera Distribution for Hadoop

This allows for creating an installer for Hadoop for Mac OS X that attempts to integrate Hadoop in a typical manner with the OS:

  • Most files are put in /Library/Cloudera.
  • launchd will be used for stopping and starting the various daemons.
  • Paths are added to PATH by way of /etc/paths.d.

Issues

  • Daemons don't correctly start up for Hadoop and I haven't done anything yet for ZooKeeper.
  • I haven't put HBase, Hive, Flume or Hue in here yet.
  • Permissions are not quite right yet for various files. This is pretty frustrating.
  • It would be nice to automate setting JAVA_HOME for those things that need it. (This is just a matter of setting JAVA_HOME to the output of /usr/libexec/java_home.)
  • I haven't done anything to deal with updating to newer versions yet.

Notes

  • To build the installer, you download the various .tar.gz files from Cloudera, unpack them and put them in the right places under dist such as dist/Hadoop/Library/Cloudera/hadoop-0.20.2+737.
  • There are symlinks without version numbers (and capitalized) that all go into /Library/Cloudera on the target system. If the version being installed changes, then the symlink must also be updated.
  • I will have another script added at some point that handles setting up the permissions correctly once I figure out what all is needed there.
  • I run the CDH3.pmdoc/*.xml files through xmllint to format them nicer for diffs with the prettyxml.sh script.

About

Mac OS X installer for the Cloudera Distribution for Hadoop

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published