Home Forums HDP on Linux – Installation Double slashes in PATH variables

This topic contains 3 replies, has 2 voices, and was last updated by  Dave 10 months, 1 week ago.

  • Creator
    Topic
  • #38362

    I am trying to install HDP 1.3 for Windows.

    I noticed that the HDP 1.3 Windows installation creates many Hadoop system environment variables with double and triple slashes.
    For example, if HDP_DIR is “c:\hdp\hadoop” many environment variables have “c:\hdp\hadoop\\” or “c:\hdp\hadoop\\\” listed in their paths.

    Is this a bug? Or are the double and triple slashes intentional?
    Btw, the environment variables set in clusterproperties.txt don’t have this issue.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #38406

    Dave
    Moderator

    Hi Ricardo,

    Is this causing any issues?

    Thanks

    Dave

    Collapse
    #38402

    My Hadoop-related system variables.
    Many have double or triple slashes.
    I am running Windows Server 2008 R2 SP1 (64-bit).

    —————————–
    SYSTEM VARIABLES
    —————————–

    COMPUTERNAME=HADOOP1
    FLUME_HOME=c:\hdp\hadoop\\flume-1.3.1.1.3.0.0-0380
    HADOOP_HOME=c:\hdp\hadoop\\hadoop-1.2.0.1.3.0.0-0380
    HADOOP_LOG_DIR=c:\hadoop\logs\hadoop
    HADOOP_NODE=c:\hdp\hadoop\
    HADOOP_NODE_INSTALL_ROOT=c:\hdp\hadoop\\
    HADOOP_OPTS= -Dfile.encoding=UTF-8 -Dhadoop.home.dir=c:\hdp\hadoop\\\hadoop-1.2.0.1.3.0.0-0380 -Dhadoop.root.logger=INFO,console,DRFA -Dhadoop.policy.file=hadoop-policy.xml -Dhadoop.log.dir=c:\hadoop\logs\hadoop -Dhadoop.log.file=hadoop-hive-HADOOP1.log
    HADOOP_PACKAGES=c:\HadoopInstallFiles\HadoopPackages\
    HADOOP_SETUP_TOOLS=c:\HadoopInstallFiles\HadoopSetupTools\
    HBASE_CONF_DIR=c:\hdp\hadoop\\\hbase-0.94.6.1.3.0.0-0380\conf
    HBASE_HOME=c:\hdp\hadoop\\\hbase-0.94.6.1.3.0.0-0380
    HBASE_LOG_DIR=c:\hadoop\logs\hbase
    HCATALOG_HOME=c:\hdp\hadoop\\hcatalog-0.11.0.1.3.0.0-0380
    HDFS_DATA_DIR=c:\hdp\data\hdfs
    HIVE_CONF_DIR=c:\hdp\hadoop\\hive-0.11.0.1.3.0.0-0380\conf
    HIVE_HOME=c:\hdp\hadoop\\hive-0.11.0.1.3.0.0-0380
    HIVE_LIB_DIR=c:\hdp\hadoop\\hive-0.11.0.1.3.0.0-0380\lib
    HIVE_LOG_DIR=c:\hadoop\logs\hive
    HIVE_OPTS= -hiveconf hive.querylog.location=c:\hadoop\logs\hive\history -hiveconf hive.log.dir=c:\hadoop\logs\hive
    JAVA_HOME=C:\Java\jdk1.6.0_31
    MAHOUT_HOME=c:\hdp\hadoop\\mahout-0.7.0.1.3.0.0-0380
    OOZIE_DATA=c:\hdp\data\oozie
    OOZIE_HOME=c:\hdp\hadoop\\\Oozie-3.3.2.1.3.0.0-0380\oozie-win-distro
    OOZIE_LOG=c:\hadoop\logs\oozie
    OOZIE_ROOT=c:\hdp\hadoop\\oozie-3.3.2.1.3.0.0-0380
    Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Python27
    PIG_HOME=c:\hdp\hadoop\\pig-0.11.0.1.3.0.0-0380
    SQOOP_HOME=c:\hdp\hadoop\\sqoop-1.4.3.1.3.0.0-0380
    TEMPLETON_HOME=c:\hdp\hadoop\\hcatalog-0.11.0.1.3.0.0-0380
    TEMPLETON_LOG_DIR=c:\hadoop\logs\webhcat
    ZOOKEEPER_CONF_DIR=\zookeeper-3.4.5.1.3.0.0-0380\conf
    ZOOKEEPER_HOME=c:\hdp\hadoop\\zookeeper-3.4.5.1.3.0.0-0380
    ZOOKEEPER_LIB_DIR=\zookeeper-3.4.5.1.3.0.0-0380\lib
    ZOO_LOG_DIR=c:\hadoop\logs\zookeeper
    —————————
    clusterproperties.txt:
    —————————
    #Log directory
    HDP_LOG_DIR=c:\hadoop\logs

    #Data directory
    HDP_DATA_DIR=c:\hdp\data

    #Hosts
    NAMENODE_HOST=HADOOP1
    SECONDARY_NAMENODE_HOST=HADOOP1
    JOBTRACKER_HOST=HADOOP1
    HIVE_SERVER_HOST=HADOOP1
    OOZIE_SERVER_HOST=HADOOP1
    WEBHCAT_HOST=HADOOP1
    FLUME_HOSTS=HADOOP1
    HBASE_MASTER=HADOOP1
    HBASE_REGIONSERVERS=HADOOP1
    ZOOKEEPER_HOSTS=HADOOP1
    SLAVE_HOSTS=HADOOP1

    #Database host
    DB_FLAVOR=derby
    DB_HOSTNAME=HADOOP1

    #Hive properties
    HIVE_DB_NAME=hive
    HIVE_DB_USERNAME=hive
    HIVE_DB_PASSWORD=hive

    #Oozie properties
    OOZIE_DB_NAME=oozie
    OOZIE_DB_USERNAME=oozie
    OOZIE_DB_PASSWORD=oozie
    ———–
    INSTALL
    ———–
    Install command I used for HDP 1.3:
    msiexec /i “c:\hadoopcfg\hdp-1.3.0.0.winpkg.msi” /lv “c:\hdp-install.log” HDP_LA

    Collapse
    #38400

    Dave
    Moderator

    Hi Ricardo,

    I don’t think this is intentional, I will file a change for this.

    Thanks

    Dave

    Collapse
Viewing 3 replies - 1 through 3 (of 3 total)