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

ASF GitHub Bot commented on TRAFODION-1706:
-------------------------------------------

Github user mkby commented on a diff in the pull request:

    https://github.com/apache/incubator-trafodion/pull/367#discussion_r55384539
  
    --- Diff: core/sqf/sqenvcom.sh ---
    @@ -140,18 +139,41 @@ fi
     export MY_SQROOT=$PWD
     export SQ_HOME=$PWD
     
    +# set common version to be consistent between shared lib and maven 
dependencies
    +export HBASE_DEP_VER_CDH=1.0.0-cdh5.4.4
    +export HIVE_DEP_VER_CDH=1.1.0-cdh5.4.4
    +export HBASE_DEP_VER_HDP=1.1.2.2.3.2.0-2950
    +export HIVE_DEP_VER_HDP=1.2.1.2.3.2.0-2950
    +export HBASE_DEP_VER_APACHE=1.0.2
    +export HIVE_DEP_VER_APACHE=1.1.0
    +export THRIFT_DEP_VER=0.9.0
    +export HBASE_TRX_ID_CDH=hbase-trx-cdh5_4
    +export HBASE_TRX_ID_APACHE=hbase-trx-apache1_0_2
    +export HBASE_TRX_ID_HDP=hbase-trx-hdp2_3
    +
     # general Hadoop & TRX dependencies - not distro specific, choose one to 
build against
     export HBASE_TRXDIR=$MY_SQROOT/export/lib
    -export HBASE_TRX_ID=hbase-trx-cdh5_3
    -export HBASE_DEP_VER=0.98.6-cdh5.3.0
    -export HBASE_TRX_JAR=${HBASE_TRX_ID}-${TRAFODION_VER}.jar
    -export UTIL_JAR=trafodion-utility-${TRAFODION_VER}.jar
    -if [[ "$SQ_HBASE_DISTRO" = "HDP" ]]; then
    -    export HBASE_TRX_JAR=hbase-trx-hdp2_2-${TRAFODION_VER}.jar
    +export HBASE_TRX_JAR=${HBASE_TRX_ID_CDH}-${TRAFODION_VER}.jar
    +if [[ "$HBASE_DISTRO" = "HDP" ]]; then
    +    export HBASE_TRX_JAR=${HBASE_TRX_ID_HDP}-${TRAFODION_VER}.jar
     fi
    -# set common version to be consistent between shared lib and maven 
dependencies
    -export THRIFT_DEP_VER=0.9.0
    -export HIVE_DEP_VER=0.13.1
    +if [[ "$HBASE_DISTRO" = "APACHE" ]]; then
    +    export HBASE_TRX_JAR=${HBASE_TRX_ID_APACHE}-${TRAFODION_VER}.jar
    --- End diff --
    
    If using Apache Hadoop, the script will detect the system as an Apache 
Hadoop environment, so it will jump to line 487, and check line 618, the script 
will ``export HBASE_TRX_JAR=hbase-trx-hbase_98_4-${TRAFODION_VER}.jar``, will 
this overwrite the ``HBASE_TRX_JAR`` you set here?


> trafodion is not compatible with hbase 1.0 and later version
> ------------------------------------------------------------
>
>                 Key: TRAFODION-1706
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-1706
>             Project: Apache Trafodion
>          Issue Type: Bug
>            Reporter: mashengchen
>            Assignee: mashengchen
>
> trafodion is not compatible with hbase 1.0 and later version.Some api is 
> changed, like Hlog was changed to WAL...



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

Reply via email to