Home Forums HDP on Windows – Installation Windows HDP 2.1 Install Instructions – glitches

This topic contains 0 replies, has 1 voice, and was last updated by  Bob Beauchemin 2 months, 4 weeks ago.

  • Creator
    Topic
  • #52410

    Bob Beauchemin
    Participant

    I wrote a blog entry today on Installing HDP 2.1 on Windows.and the little glitches I ran into. I’m posting the salient points here. One point I forgot was that the docs refer to installing from the 2.1.0.0 MSI. It is really 2.1.1.0.

    – snip –
    I say “what there is” because the reference diagram at http://hortonworks.com/hdp/whats-new/ mentions all the things I do see, but the Windows distro doesn’t include Accumulo (another fast data storage offering based on BigTable) and Solr (a search offering). Perhaps the CentOS distro does. And, of course, no Hue. And, although there’s an exe and it’s in the list of Windows services, HWI (Hive Web Interface) doesn’t start up. That’s been reported by others too.

    There were the usual potholes in the docs, if you’re trying to follow the docs by rote. First, the docs warn you not to use path names with spaces in the Java or Python installs (http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.1.1-Win/bk_installing_hdp_for_windows/content/win-software-install-gui.html). Good idea in any case (don’t have to put quotes around names in command lines) but especially with Unix ports to Windows. But they warn you in the Python directions and Python 2.7 doesn’t install in “Program Files”. Java does. And one of the instructions says you should add (step 5c) e.g C:\Java\jdk1.7.0_45\bin as the value for JAVA_HOME. Don’t use the “bin”. Step 6b is wrong too; the path should include the “bin” directory. Easy to fix. The install reports “JAVA_HOME is not set” if you mess it up. Ask me how I know…I should have been paying attention.

    If you choose “Run Hive Under Tez” you must peform Section 6.1 “Setting up Tez for Hive”. But there’s a glitch there too. Step 5: “Copy the Tez home directory on the local machine into the HDFS /apps/tez directory” is wrong too.
    %HADOOP_HOME%\bin\hadoop.cmd dfs -put %TEZ_HOME%* /apps/tez
    should be:
    %HADOOP_HOME%\bin\hadoop.cmd dfs -put %TEZ_HOME%/* /apps/tez
    (note the slash after %TEZ_HOME% and before the *)

    Until you do that, Hive fails starting up the command line app with /apps/tez/lib not found.

    And its likely that step 6 should be:
    %HADOOP_HOME%\bin\hadoop.cmd dfs -rmr -skipTrash /apps/tez/conf
    because there is no conf3 directory.

    With the right copy command the Tez smoke test and Hive under Tez run just fine. I did have trouble with the HCatalog and Hive smoke tests at first (something about hadoop user needing a GRANT, GRANTs are expanded in Hive 0.13), but after enough tries (3 reinstalls of the distro and 7-8 runs of smoke tests) it just started working. Don’t know exactly what I did to make that start happening. So all the smoke tests (including optional components) succeed.
    – snip –

    Entire post is at http://www.sqlskills.com/blogs/bobb/installing-running-hdp-2-1-windows/

    Cheers, and thanks, Bob

You must be logged in to reply to this topic.