You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Arvind Narain (JIRA)" <ji...@apache.org> on 2016/05/24 16:48:18 UTC

[jira] [Commented] (TRAFODION-2007) dsc can't start if use install_local_hadoop to install hadoop

    [ https://issues.apache.org/jira/browse/TRAFODION-2007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15298485#comment-15298485 ] 

Arvind Narain commented on TRAFODION-2007:
------------------------------------------

Could you please confirm if install_traf_components was executed before dcsstart ? install_traf_components does the following modification in dcs-site.xml (among others) while installing dcs under $MY_SQROOT/sql/local_hadoop/dcs-<version> directory.

    <property>
     <name>dcs.zookeeper.peerport</name> <value>$MY_HBASE_ZOOKEEPER_PEERPORT_NUM</value>
    </property>

This value is picked up from the following:
   . $MY_SQROOT/sql/scripts/sw_env.sh

sw-env.sh gets generated when install_local_hadoop is executed.

 Following are the instructions in sqenvcom.sh:

    If Trafodion has been built and you want test: 

       Execute the install_local_hadoop script which performs a single node
       install using a popular Hadoop distribution 

          cd $MY_SQROOT/sql/scripts
          install_local_hadoop [-p <port option>]
          install_traf_components 
          configure Trafodion and start the processes
          HAVE FUN!

Thanks
Arvind

> dsc can't start if use install_local_hadoop to install hadoop
> -------------------------------------------------------------
>
>                 Key: TRAFODION-2007
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-2007
>             Project: Apache Trafodion
>          Issue Type: Bug
>            Reporter: mashengchen
>            Priority: Minor
>
> if user use `install_local_hadoop -p rand` to install hadoop env. The script will set zookeeper client port randomly. The 'dcsstart' use default port (2181) to start dcs. so if the port doesn't be 2181, it should change to the random value.
> the suggested solution is , copy hbase.zookeeper.property.clientPort value which is in $HBASE/conf/hbase-site.xml to dcs.zookeeper.property.clientPort which is in $DCS_DIR/conf/dcs-site.xml.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)