![]() ![]() (you can launch the terminal inside the VM and run ‘ifconfig’ for that in my case it's 172.16.156.130). The last thing we should do is to start the Quickstart VM and get its IP address Just copy this file over to your hue/desktop/conf folder! For your convenience, we have the file readily available here. Since we are using a VM for this purposes, we will need to change several conf lines. Hue comes with a default configuration file that points all the service to the local machine. After a while, if everything goes as planned, you should see as a last build message something like “N static files copied to …". ![]() Now that we are all set with the requirements we can compile Hue by running make appsįrom the Hue folder that was created by the git clone in step 1. If you have OS X El Capitan or macOS Sierra, you need an extra mini step to be able to make Hue: export LDFLAGS=-L/usr/local/opt/openssl/lib & export CPPFLAGS=-I/usr/local/opt/openssl/include ![]() Step 3b (just for El Capitan and Sierra): export ENV variables for openssl If you already have Homebrew installed, just update it running brew updateĪs a first thing, we need to install Maven 3 brew install mavenĪnd then Mysql to have the development libraries for it brew install mysql Then, as suggested by the installation script, run brew doctor You will need to enter your password to continue. Install it from Terminal with ruby -e "$(curl -fsSL )" To do that we will use Homebrew, the fantastic open source package manager for Mac OS X. Hue uses several libraries that are not included in the XCode command line tools so we will need to install that too. We will have the version of the freshly installed JDK. Now, if we return to the Terminal and type again java -version After the DMG has been downloaded, open it and double click on the installation package. On Oracle's website, accept the license and choose the Mac OS X JDK link. A quick way to get to the right download URL from Oracle is to run from Terminal java -versionĪnd then click on the “More info” button on the dialog that appears. You now have the Hue source code in your Mac. If on Terminal you have the message “xcode-select: error: command line tools are already installed, use “Software Update” to install updates” it means you are almost good to go already.įrom Terminal, navigate to a directory where you keep all your project and run git clone To install it open Terminal and type xcode-select -install Git (plus a ton of other tools) is included in the Xcode command line tools. To clone the Hue Github repository you need git installed on your system. If you don’t have the latest already downloaded and running, please visit this link and choose the versions that suits you the best. We are going to be using the official Quickstart VM from Cloudera that already packs all the Hadoop ecosystem components your Hue will talk to. You might have already all the pre-requisites installed but we are going to show how to start from a fresh Yosemite (10.10) or El Capitan (10.11) install and end up with running Hue on your Mac in almost no time! ![]()
0 Comments
Leave a Reply. |