[jira] [Commented] (TRAFODION-1706) trafodion is not compatible with hbase 1.0 and later version

2016-03-02 Thread ASF GitHub Bot (JIRA)

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

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

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

https://github.com/apache/incubator-trafodion/pull/348#discussion_r54833815
  
--- Diff: core/sqf/sql/scripts/install_local_hadoop ---
@@ -602,15 +612,24 @@ MYSQL_TAR=mysql-5.6.10-linux-glibc2.5-x86_64.tar.gz
 MYSQL_JDBC_URL=http://cdn.mysql.com/archives/mysql-connector-java-5.1
 MYSQL_JDBC_TAR=mysql-connector-java-5.1.23.tar.gz
 
-HIVE_MIRROR_URL=https://archive.apache.org/dist/hive/hive-0.13.1
-HIVE_PREFIX=apache-hive-0.13.1-bin
+HIVE_MIRROR_URL=http://archive.cloudera.com/cdh5/cdh/5
+HIVE_PREFIX=hive-1.1.0-cdh5.4.4
 HIVE_TAR=${HIVE_PREFIX}.tar.gz
 
+if [[ "$HBASE_DISTRO" = "APACHE" ]]; then
--- End diff --

hdp has it's own hive, if use apache hive, i can't promise it can work well 
,maybe have some compatible problem. btw the hdp hive tar is integrated in 
HDP-2.3.0.0-centos6-tars-tarball.tar.gz. i can't find a separate tar..maybe 
someone can give me one hand to give me the download url


> 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)


[jira] [Commented] (TRAFODION-1706) trafodion is not compatible with hbase 1.0 and later version

2016-03-02 Thread ASF GitHub Bot (JIRA)

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

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

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

https://github.com/apache/incubator-trafodion/pull/348#discussion_r54833612
  
--- Diff: core/sqf/sql/scripts/install_local_hadoop ---
@@ -579,17 +591,15 @@ fi
 #
 
 # See JIRA TRAFODION-1512 that will eliminate this check
-if [ -d $MY_LOCAL_SW_DIST ]; then
   
-  HADOOP_MIRROR_URL=http://archive.cloudera.com/cdh5/cdh/5
-  HADOOP_TAR=hadoop-2.5.0-cdh5.3.0.tar.gz
-else
-  
HADOOP_MIRROR_URL=http://download.nextag.com/apache/hadoop/common/hadoop-2.5.2
-  HADOOP_TAR=hadoop-2.5.2.tar.gz
-fi
+HADOOP_MIRROR_URL=http://archive.cloudera.com/cdh5/cdh/5
+HADOOP_TAR=hadoop-2.6.0-cdh5.4.4.tar.gz
 
-if [[ "$SQ_HBASE_DISTRO" = "HDP" ]]; then
-HADOOP_TAR=hadoop-2.6.0.2.2.0.0-2041.tar.gz
+if [[ "$HBASE_DISTRO" = "HDP" ]]; then
+HADOOP_TAR=hadoop-2.7.1.2.3.2.0-2950.tar.gz
--- End diff --

yes. for cdh hbase it's fine...but seemingly hdp don't support 
separate tar for hadoop & hbase & hive. the only tar.gz is integrated for all. 
and it's 2.3GB, very big. not very recommend to download at the installation 
time.


> 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)


[jira] [Commented] (TRAFODION-1860) sqgen failed to execute on CentOS7 system.

2016-03-02 Thread ASF GitHub Bot (JIRA)

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

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

GitHub user mkby opened a pull request:

https://github.com/apache/incubator-trafodion/pull/358

[TRAFODION-1860]sqgen failed to execute on CentOS7

remove dependency of ctime.pl

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/mkby/incubator-trafodion master

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-trafodion/pull/358.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #358


commit 4ad51c730a98d2fff01a84ad86516a33cdbf55f6
Author: Eason 
Date:   2016-03-03T03:55:58Z

[TRAFODION-1860]sqgen failed to execute on CentOS7

remove dependency of ctime.pl




> sqgen failed to execute on CentOS7 system.
> --
>
> Key: TRAFODION-1860
> URL: https://issues.apache.org/jira/browse/TRAFODION-1860
> Project: Apache Trafodion
>  Issue Type: Bug
>  Components: foundation
>Reporter: Eason Zhang
>Assignee: Eason Zhang
>
> missing ctime.pl file on CentOS7.
> [trafodion@vmcentos7 ~]$ sqgen   
> Workstation environment - Not a clustered environment
> Can't locate ctime.pl in @INC (@INC contains: 
> /home/trafodion/trafodion-2.0.1/export/lib /usr/local/lib64/perl5 
> /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl 
> /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at 
> ./gensq.pl line 24.



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


[jira] [Commented] (TRAFODION-1706) trafodion is not compatible with hbase 1.0 and later version

2016-03-02 Thread ASF GitHub Bot (JIRA)

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

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

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

https://github.com/apache/incubator-trafodion/pull/348#discussion_r54833403
  
--- Diff: core/sql/pom.xml.apache ---
@@ -0,0 +1,131 @@
+
--- End diff --

no idea to use one pom.xml, we have to make 3 version (vanilla,cdh,hdp), so 
have to use three pom.xml


> 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)


[jira] [Commented] (TRAFODION-1706) trafodion is not compatible with hbase 1.0 and later version

2016-03-02 Thread ASF GitHub Bot (JIRA)

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

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

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

https://github.com/apache/incubator-trafodion/pull/348#discussion_r54833294
  
--- Diff: 
core/sqf/src/seatrans/hbase-trx/src/main/java/org/apache/hadoop/hbase/regionserver/transactional/TrxTransactionState.java.tmpl
 ---
@@ -77,96 +94,29 @@
  * Holds the state of a transaction. This includes a buffer of all writes, 
a record of all reads / scans, and
  * information about which other transactions we need to check against.
  */
-public class TrxTransactionState  extends TransactionState{
-
-static boolean sb_sqm_98_1 = false;
-static boolean sb_sqm_98_4 = false;
-static boolean sb_sqm_98_9 = false;
-static java.lang.reflect.Constructor c98_1 = null;
-static java.lang.reflect.Constructor c98_4 = null;
-static java.lang.reflect.Constructor c98_9 = null;
+public class TrxTransactionState extends TransactionState {
 
-static Class keepDeletedCellsClazz = null;
-static Class scaninfoClazz = null;
-static Constructor scaninfoConstructor = null;
-static Object[] scaninfoArgs = null;
+static java.lang.reflect.Constructor c1_0 = null;
 
 static {
 String version = VersionInfo.getVersion();// the hbase version 
string, eg. "0.6.3-dev"
 LOG.info("Got info of Class ScanQueryMatcher for HBase version :" 
+ version);
-
--- End diff --

i don't think there will happen this rid.. cause we have a 1.3 branch to 
support backward version(hbase 0.98)


> 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)


[jira] [Updated] (TRAFODION-1860) sqgen failed to execute on CentOS7 system.

2016-03-02 Thread liu ming (JIRA)

 [ 
https://issues.apache.org/jira/browse/TRAFODION-1860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

liu ming updated TRAFODION-1860:

Assignee: Eason Zhang

> sqgen failed to execute on CentOS7 system.
> --
>
> Key: TRAFODION-1860
> URL: https://issues.apache.org/jira/browse/TRAFODION-1860
> Project: Apache Trafodion
>  Issue Type: Bug
>  Components: foundation
>Reporter: Eason Zhang
>Assignee: Eason Zhang
>
> missing ctime.pl file on CentOS7.
> [trafodion@vmcentos7 ~]$ sqgen   
> Workstation environment - Not a clustered environment
> Can't locate ctime.pl in @INC (@INC contains: 
> /home/trafodion/trafodion-2.0.1/export/lib /usr/local/lib64/perl5 
> /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl 
> /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at 
> ./gensq.pl line 24.



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


[jira] [Commented] (TRAFODION-1706) trafodion is not compatible with hbase 1.0 and later version

2016-03-02 Thread ASF GitHub Bot (JIRA)

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

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

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

https://github.com/apache/incubator-trafodion/pull/348#discussion_r54829734
  
--- Diff: 
core/sqf/src/seatrans/hbase-trx/src/main/java/org/apache/hadoop/hbase/regionserver/transactional/TrxTransactionState.java.tmpl
 ---
@@ -77,96 +94,29 @@
  * Holds the state of a transaction. This includes a buffer of all writes, 
a record of all reads / scans, and
  * information about which other transactions we need to check against.
  */
-public class TrxTransactionState  extends TransactionState{
-
-static boolean sb_sqm_98_1 = false;
-static boolean sb_sqm_98_4 = false;
-static boolean sb_sqm_98_9 = false;
-static java.lang.reflect.Constructor c98_1 = null;
-static java.lang.reflect.Constructor c98_4 = null;
-static java.lang.reflect.Constructor c98_9 = null;
+public class TrxTransactionState extends TransactionState {
 
-static Class keepDeletedCellsClazz = null;
-static Class scaninfoClazz = null;
-static Constructor scaninfoConstructor = null;
-static Object[] scaninfoArgs = null;
+static java.lang.reflect.Constructor c1_0 = null;
 
 static {
 String version = VersionInfo.getVersion();// the hbase version 
string, eg. "0.6.3-dev"
 LOG.info("Got info of Class ScanQueryMatcher for HBase version :" 
+ version);
-
--- End diff --

Are we getting rid of the backward compatibility here by removing this code.



> 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)


[jira] [Commented] (TRAFODION-1706) trafodion is not compatible with hbase 1.0 and later version

2016-03-02 Thread ASF GitHub Bot (JIRA)

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

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

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

https://github.com/apache/incubator-trafodion/pull/348#discussion_r54829297
  
--- Diff: core/sql/pom.xml.apache ---
@@ -0,0 +1,131 @@
+
--- End diff --

Rather than having multiple pom.xml files, could we use profiles in a 
single pom.xml? Just asking, I can imagine very well that it won't work.


> 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)


[jira] [Commented] (TRAFODION-1706) trafodion is not compatible with hbase 1.0 and later version

2016-03-02 Thread ASF GitHub Bot (JIRA)

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

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

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

https://github.com/apache/incubator-trafodion/pull/348#discussion_r54828604
  
--- Diff: 
core/sqf/src/seatrans/hbase-trx/src/main/java/org/apache/hadoop/hbase/regionserver/transactional/MemoryUsageChore.java.tmpl
 ---
@@ -21,6 +21,16 @@
 * @@@ END COPYRIGHT @@@
 **/
 
+/**
--- End diff --

Same 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)


[jira] [Commented] (TRAFODION-1706) trafodion is not compatible with hbase 1.0 and later version

2016-03-02 Thread ASF GitHub Bot (JIRA)

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

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

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

https://github.com/apache/incubator-trafodion/pull/348#discussion_r54828709
  
--- Diff: 
core/sqf/src/seatrans/hbase-trx/src/main/java/org/apache/hadoop/hbase/regionserver/transactional/TrxTransactionState.java.tmpl
 ---
@@ -21,15 +21,27 @@
 * @@@ END COPYRIGHT @@@
 **/
 
+/**
--- End diff --

...and 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)


[jira] [Commented] (TRAFODION-1706) trafodion is not compatible with hbase 1.0 and later version

2016-03-02 Thread ASF GitHub Bot (JIRA)

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

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

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

https://github.com/apache/incubator-trafodion/pull/348#discussion_r54828151
  
--- Diff: core/sqf/sql/scripts/install_local_hadoop ---
@@ -579,17 +591,15 @@ fi
 #
 
 # See JIRA TRAFODION-1512 that will eliminate this check
-if [ -d $MY_LOCAL_SW_DIST ]; then
   
-  HADOOP_MIRROR_URL=http://archive.cloudera.com/cdh5/cdh/5
-  HADOOP_TAR=hadoop-2.5.0-cdh5.3.0.tar.gz
-else
-  
HADOOP_MIRROR_URL=http://download.nextag.com/apache/hadoop/common/hadoop-2.5.2
-  HADOOP_TAR=hadoop-2.5.2.tar.gz
-fi
+HADOOP_MIRROR_URL=http://archive.cloudera.com/cdh5/cdh/5
+HADOOP_TAR=hadoop-2.6.0-cdh5.4.4.tar.gz
 
-if [[ "$SQ_HBASE_DISTRO" = "HDP" ]]; then
-HADOOP_TAR=hadoop-2.6.0.2.2.0.0-2041.tar.gz
+if [[ "$HBASE_DISTRO" = "HDP" ]]; then
+HADOOP_TAR=hadoop-2.7.1.2.3.2.0-2950.tar.gz
--- End diff --

Yes, but this is optional. It also should work without MY_LOCAL_SW_DIST, 
where it downloads the files from the web.


> 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)


[jira] [Commented] (TRAFODION-1706) trafodion is not compatible with hbase 1.0 and later version

2016-03-02 Thread ASF GitHub Bot (JIRA)

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

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

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

https://github.com/apache/incubator-trafodion/pull/348#discussion_r54828172
  
--- Diff: core/sqf/sql/scripts/install_local_hadoop ---
@@ -579,17 +591,15 @@ fi
 #
 
 # See JIRA TRAFODION-1512 that will eliminate this check
-if [ -d $MY_LOCAL_SW_DIST ]; then
   
-  HADOOP_MIRROR_URL=http://archive.cloudera.com/cdh5/cdh/5
-  HADOOP_TAR=hadoop-2.5.0-cdh5.3.0.tar.gz
-else
-  
HADOOP_MIRROR_URL=http://download.nextag.com/apache/hadoop/common/hadoop-2.5.2
-  HADOOP_TAR=hadoop-2.5.2.tar.gz
-fi
+HADOOP_MIRROR_URL=http://archive.cloudera.com/cdh5/cdh/5
+HADOOP_TAR=hadoop-2.6.0-cdh5.4.4.tar.gz
 
-if [[ "$SQ_HBASE_DISTRO" = "HDP" ]]; then
-HADOOP_TAR=hadoop-2.6.0.2.2.0.0-2041.tar.gz
+if [[ "$HBASE_DISTRO" = "HDP" ]]; then
--- End diff --

That's great, thanks.


> 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)


[jira] [Commented] (TRAFODION-1706) trafodion is not compatible with hbase 1.0 and later version

2016-03-02 Thread ASF GitHub Bot (JIRA)

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

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

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

https://github.com/apache/incubator-trafodion/pull/348#discussion_r54828073
  
--- Diff: core/sqf/sql/scripts/install_local_hadoop ---
@@ -391,7 +391,19 @@ else
 MY_START_PORT=`expr 24000 + $MY_START_PORT '*' 200`
   elif [ $MY_START_PORT == "rand" ]; then
 # pick a random number between 12000 and 24000 that is divisible by 200
-MY_START_PORT=`expr $RANDOM '%' 60 '*' 200 + 12000`
+lv_number=0   #initialize
--- End diff --

Thanks, from what you told me off-line it looks that this may be a merge 
conflict from another branch and changing it back is the right conflict 
resolution.


> 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)


[jira] [Created] (TRAFODION-1869) 'initialized trafodion' failed on CentOS 7.2

2016-03-02 Thread liu ming (JIRA)
liu ming created TRAFODION-1869:
---

 Summary: 'initialized trafodion' failed on CentOS 7.2
 Key: TRAFODION-1869
 URL: https://issues.apache.org/jira/browse/TRAFODION-1869
 Project: Apache Trafodion
  Issue Type: Bug
Reporter: liu ming


On CentOS 7.2, install Trafodion then run 'initialize trafodion'

>>initialize trafodion;

*** ERROR[2034] $Z000HQ0:48: Operating system error 201 while communicating 
with server process $Z000I2H:52.

*** ERROR[2013] Server process tdm_arkcmp could not be created on \\NSK - 
Operating system error 201.

*** ERROR[2002] Internal error: cannot create compiler.

*** ERROR[2005] Internal error: from compilation, no errors in diagnostics yet 
for statement: control query shape hold;

*** ERROR[8822] The statement was not prepared.

--- SQL operation failed with errors.


related core is from tdm_arkcmp
Core was generated by `tdm_arkcmp SQMON1.1 0 0 022137 $Z000I2H 
192.168.0.10:56579 4 0'.
Program terminated with signal 11, Segmentation fault.
#0  0x in ?? ()
Missing separate debuginfos, use: debuginfo-install trafodion-2.0.1-1.x86_64 
trafodion-2.0.1-devel.x86_64
(gdb) bt
#0  0x in ?? ()
#1  0x7f44a8552fc6 in SB_Thread::Sthr::time () at 
/home/centos/traf-plus/core/sqf/export/include/seabed/int/thread.inl:115
#2  0x7f44adebeef4 in fs_int_fs_file_awaitiox (pp_filenum=0x1603034, 
ppp_buf=0x7ffe5d71b208, pp_xfercount=0x7ffe5d71b1f4,
pp_tag=0x7ffe5d71b1f8, pv_timeout=6, pp_segid=0x7ffe5d71b206, 
pv_int=false, pv_ts=false) at fsi.cpp:1301
#3  0x7f44adeb8a80 in BAWAITIOX (pp_filenum=0x1603034, 
ppp_buf=0x7ffe5d71b5f8, pp_xfercount=0x7ffe5d71b60c, pp_tag=0x7ffe5d71b5f0,
pv_timeout=6, pp_segid=0x0) at fs.cpp:563
#4  0x7f44b5d629e7 in GuaReceiveControlConnection::wait (this=0x1603020, 
timeout=6, eventConsumed=, ipcAwaitiox=0x0)
at ../common/IpcGuardian.cpp:2692
#5  0x7f44b5d643d8 in GuaReceiveControlConnection::waitForMaster 
(this=0x1603020) at ../common/IpcGuardian.cpp:3603
#6  0x00406366 in main ()
(gdb)




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


[jira] [Commented] (TRAFODION-1706) trafodion is not compatible with hbase 1.0 and later version

2016-03-02 Thread ASF GitHub Bot (JIRA)

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

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

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

https://github.com/apache/incubator-trafodion/pull/348#discussion_r54820703
  
--- Diff: core/sqf/sql/scripts/install_local_hadoop ---
@@ -391,7 +391,19 @@ else
 MY_START_PORT=`expr 24000 + $MY_START_PORT '*' 200`
   elif [ $MY_START_PORT == "rand" ]; then
 # pick a random number between 12000 and 24000 that is divisible by 200
-MY_START_PORT=`expr $RANDOM '%' 60 '*' 200 + 12000`
+lv_number=0   #initialize
--- End diff --

i will change it back


> 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)


[jira] [Commented] (TRAFODION-1706) trafodion is not compatible with hbase 1.0 and later version

2016-03-02 Thread ASF GitHub Bot (JIRA)

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

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

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

https://github.com/apache/incubator-trafodion/pull/348#discussion_r54819711
  
--- Diff: core/sqf/sql/scripts/install_local_hadoop ---
@@ -579,17 +591,15 @@ fi
 #
 
 # See JIRA TRAFODION-1512 that will eliminate this check
-if [ -d $MY_LOCAL_SW_DIST ]; then
   
-  HADOOP_MIRROR_URL=http://archive.cloudera.com/cdh5/cdh/5
-  HADOOP_TAR=hadoop-2.5.0-cdh5.3.0.tar.gz
-else
-  
HADOOP_MIRROR_URL=http://download.nextag.com/apache/hadoop/common/hadoop-2.5.2
-  HADOOP_TAR=hadoop-2.5.2.tar.gz
-fi
+HADOOP_MIRROR_URL=http://archive.cloudera.com/cdh5/cdh/5
+HADOOP_TAR=hadoop-2.6.0-cdh5.4.4.tar.gz
 
-if [[ "$SQ_HBASE_DISTRO" = "HDP" ]]; then
-HADOOP_TAR=hadoop-2.6.0.2.2.0.0-2041.tar.gz
+if [[ "$HBASE_DISTRO" = "HDP" ]]; then
+HADOOP_TAR=hadoop-2.7.1.2.3.2.0-2950.tar.gz
--- End diff --

MY_LOCAL_SW_DIST is the defaule set. just put the tars under 
MY_LOCAL_SW_DIST


> 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)


[jira] [Commented] (TRAFODION-1706) trafodion is not compatible with hbase 1.0 and later version

2016-03-02 Thread ASF GitHub Bot (JIRA)

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

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

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

https://github.com/apache/incubator-trafodion/pull/348#discussion_r54819019
  
--- Diff: core/sqf/sql/scripts/install_local_hadoop ---
@@ -602,15 +612,24 @@ MYSQL_TAR=mysql-5.6.10-linux-glibc2.5-x86_64.tar.gz
 MYSQL_JDBC_URL=http://cdn.mysql.com/archives/mysql-connector-java-5.1
 MYSQL_JDBC_TAR=mysql-connector-java-5.1.23.tar.gz
 
-HIVE_MIRROR_URL=https://archive.apache.org/dist/hive/hive-0.13.1
-HIVE_PREFIX=apache-hive-0.13.1-bin
+HIVE_MIRROR_URL=http://archive.cloudera.com/cdh5/cdh/5
+HIVE_PREFIX=hive-1.1.0-cdh5.4.4
 HIVE_TAR=${HIVE_PREFIX}.tar.gz
 
+if [[ "$HBASE_DISTRO" = "APACHE" ]]; then
+HIVE_PREFIX=apache-hive-1.2.0-bin
+HIVE_TAR=${HIVE_PREFIX}.tar.gz
+fi
+
+
 HBASE_MIRROR_URL=http://archive.cloudera.com/cdh5/cdh/5
+HBASE_TAR=hbase-1.0.0-cdh5.4.4.tar.gz
 
-HBASE_TAR=hbase-0.98.6-cdh5.3.0.tar.gz
-if [[ "$SQ_HBASE_DISTRO" = "HDP" ]]; then
-HBASE_TAR=hbase-0.98.4.2.2.0.0-2041-hadoop2.tar.gz
+if [[ "$HBASE_DISTRO" = "HDP" ]]; then
+HBASE_TAR=hbase-1.1.2.2.3.2.0-2950.tar.gz
--- End diff --

Same here, also set HBASE_MIRROR_URL? You may not see this as a problem if 
you are using cached objects.


> 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)


[jira] [Commented] (TRAFODION-1706) trafodion is not compatible with hbase 1.0 and later version

2016-03-02 Thread ASF GitHub Bot (JIRA)

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

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

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

https://github.com/apache/incubator-trafodion/pull/348#discussion_r54818929
  
--- Diff: core/sqf/sql/scripts/install_local_hadoop ---
@@ -602,15 +612,24 @@ MYSQL_TAR=mysql-5.6.10-linux-glibc2.5-x86_64.tar.gz
 MYSQL_JDBC_URL=http://cdn.mysql.com/archives/mysql-connector-java-5.1
 MYSQL_JDBC_TAR=mysql-connector-java-5.1.23.tar.gz
 
-HIVE_MIRROR_URL=https://archive.apache.org/dist/hive/hive-0.13.1
-HIVE_PREFIX=apache-hive-0.13.1-bin
+HIVE_MIRROR_URL=http://archive.cloudera.com/cdh5/cdh/5
+HIVE_PREFIX=hive-1.1.0-cdh5.4.4
 HIVE_TAR=${HIVE_PREFIX}.tar.gz
 
+if [[ "$HBASE_DISTRO" = "APACHE" ]]; then
--- End diff --

For HBASE_DISTRO=HDP, should we use Apache Hive instead of Cloudera?


> 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)


[jira] [Commented] (TRAFODION-1706) trafodion is not compatible with hbase 1.0 and later version

2016-03-02 Thread ASF GitHub Bot (JIRA)

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

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

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

https://github.com/apache/incubator-trafodion/pull/348#discussion_r54816839
  
--- Diff: 
core/sqf/hbase_utilities/src/main/java/org/trafodion/utility/backuprestore/TrafExportSnapshot.java
 ---
@@ -114,7 +119,10 @@
   private static final String INPUT_FOLDER_PREFIX = "export-files.";
 
   // Export Map-Reduce Counters, to keep track of the progress
-  public enum Counter { MISSING_FILES, COPY_FAILED, BYTES_EXPECTED, 
BYTES_COPIED, FILES_COPIED };
+  public enum Counter {
--- End diff --

Should this use some enum imported from another class? 
org.apache.hadoop.hbase.snapshot.ExportSnapshot.Counter?


> 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)


[jira] [Commented] (TRAFODION-1867) UPDATE STATS forces serial plans for non-partitioned tables

2016-03-02 Thread ASF GitHub Bot (JIRA)

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

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

GitHub user DaveBirdsall opened a pull request:

https://github.com/apache/incubator-trafodion/pull/357

[TRAFODION-1867] Allow parallel plans for non-partitioned tables in U…

…PD STATS.

The problem is for large non-partitioned tables, UPDATE STATS will do a 
series of SELECTs to compute statistics for sets of columns. The plans for 
these SELECTs are presently forced to be serial for non-partitioned tables as a 
workaround for a long-ago compiler bug which seems to have been fixed. It's 
time to remove this workaround and thereby speed up UPDATE STATS.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/DaveBirdsall/incubator-trafodion 
SerialUpdateStatsBug

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-trafodion/pull/357.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #357


commit 07bf4163bf3c5b8bc863332886464e69f44cea6b
Author: Dave Birdsall 
Date:   2016-03-02T22:52:19Z

[TRAFODION-1867] Allow parallel plans for non-partitioned tables in UPD 
STATS




> UPDATE STATS forces serial plans for non-partitioned tables
> ---
>
> Key: TRAFODION-1867
> URL: https://issues.apache.org/jira/browse/TRAFODION-1867
> Project: Apache Trafodion
>  Issue Type: Bug
>  Components: sql-cmu
>Affects Versions: 2.0-incubating, 1.3-incubating
> Environment: All
>Reporter: David Wayne Birdsall
>Assignee: David Wayne Birdsall
>Priority: Minor
>
> If one does an UPDATE STATISTICS for a non-partitioned table that is too 
> large for internal sort, and does so without a SAMPLE clause, then UPDATE 
> STATISTICS will perform SELECTs a few columns at a time, generating 
> histograms on each. The plans are forced to be serial, even though the 
> grouping and sorting phase could be done in parallel. This was evidently done 
> as a workaround to a long-past compiler bug that seems to be fixed now. The 
> serial plans slow down UPDATE STATISTICS, so it seems like it is time to 
> remove the workaround code and let these plans be parallel.



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


[jira] [Assigned] (TRAFODION-1863) With hbase_filter_preds set to '2', wrong results are returned for a specific use case.

2016-03-02 Thread Selvaganesan Govindarajan (JIRA)

 [ 
https://issues.apache.org/jira/browse/TRAFODION-1863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Selvaganesan Govindarajan reassigned TRAFODION-1863:


Assignee: Eric Owhadi

> With hbase_filter_preds set to '2', wrong results are returned for a specific 
> use case.
> ---
>
> Key: TRAFODION-1863
> URL: https://issues.apache.org/jira/browse/TRAFODION-1863
> Project: Apache Trafodion
>  Issue Type: Bug
>Reporter: Selvaganesan Govindarajan
>Assignee: Eric Owhadi
>
> create table t056t57 (a1 numeric(2,2) signed default 0 not null);
> showddl t056t57;
> insert into t056t57 default values;
> select * from t056t57;
> >>select * from t056t57 ;
> A1 
> ---
> .00
> --- 1 row(s) selected.
> >>cqd hbase_filter_preds '2' ;
> --- SQL operation complete.
> >>select * from t056t57 ;
> ..
> --- 0 row(s) selected.
> >>
> This was causing core/TEST056 to fail with PR #340.. Possibly similar issue 
> is with core/TEST029 too,  Currently this test case runs with 
> hbase_filter_preds set to 'ON'



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


[jira] [Created] (TRAFODION-1867) UPDATE STATS forces serial plans for non-partitioned tables

2016-03-02 Thread David Wayne Birdsall (JIRA)
David Wayne Birdsall created TRAFODION-1867:
---

 Summary: UPDATE STATS forces serial plans for non-partitioned 
tables
 Key: TRAFODION-1867
 URL: https://issues.apache.org/jira/browse/TRAFODION-1867
 Project: Apache Trafodion
  Issue Type: Bug
  Components: sql-cmu
Affects Versions: 2.0-incubating, 1.3-incubating
 Environment: All
Reporter: David Wayne Birdsall
Assignee: David Wayne Birdsall
Priority: Minor


If one does an UPDATE STATISTICS for a non-partitioned table that is too large 
for internal sort, and does so without a SAMPLE clause, then UPDATE STATISTICS 
will perform SELECTs a few columns at a time, generating histograms on each. 
The plans are forced to be serial, even though the grouping and sorting phase 
could be done in parallel. This was evidently done as a workaround to a 
long-past compiler bug that seems to be fixed now. The serial plans slow down 
UPDATE STATISTICS, so it seems like it is time to remove the workaround code 
and let these plans be parallel.



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


[jira] [Resolved] (TRAFODION-9) Non-blocking hbase operation to smoothen the data flow in trafodion engine

2016-03-02 Thread Selvaganesan Govindarajan (JIRA)

 [ 
https://issues.apache.org/jira/browse/TRAFODION-9?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Selvaganesan Govindarajan resolved TRAFODION-9.
---
   Resolution: Fixed
Fix Version/s: 1.3-incubating

> Non-blocking hbase operation to smoothen the data flow in trafodion engine
> --
>
> Key: TRAFODION-9
> URL: https://issues.apache.org/jira/browse/TRAFODION-9
> Project: Apache Trafodion
>  Issue Type: Improvement
>  Components: sql-exe
>Reporter: Selvaganesan Govindarajan
>Assignee: Selvaganesan Govindarajan
> Fix For: 1.3-incubating
>
>   Original Estimate: 336h
>  Remaining Estimate: 336h
>
> Currently, when a table has indexes, the row is first inserted into base 
> table and then the corresponding rows are added into the indexes 
> sequentially. Hbase operations are blocking. Hbase operations are done in a 
> different thread making it non-blocking. This allowed the Trafodion engine to 
> flow the tuples through other operators enabling other operators to be 
> scheduled and the tuples processed by them. This allowed the Trafodion engine 
> to initiate insert into base table and indexes in parallel.



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


[jira] [Commented] (TRAFODION-1862) Transaction ID is returned as -1 when using the in memory table for RMS stats

2016-03-02 Thread ASF GitHub Bot (JIRA)

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

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

GitHub user selvaganesang opened a pull request:

https://github.com/apache/incubator-trafodion/pull/356

[TRAFODION-1862] Transaction ID is returned as -1 when using the in m…

…emory table for RMS stats

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/selvaganesang/incubator-trafodion 
trafodion-1862

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-trafodion/pull/356.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #356


commit 7c0156d1fc30d138cd23a8c3b7cedc98799c27ea
Author: selvaganesang 
Date:   2016-03-02T21:58:04Z

[TRAFODION-1862] Transaction ID is returned as -1 when using the in memory 
table for RMS stats




> Transaction ID is returned as -1 when using the in memory table for RMS stats
> -
>
> Key: TRAFODION-1862
> URL: https://issues.apache.org/jira/browse/TRAFODION-1862
> Project: Apache Trafodion
>  Issue Type: Bug
>Reporter: Venkat Muthuswamy
>Assignee: Selvaganesan Govindarajan
>
> When a query is executed under transaction, the transaction ID is part of the 
> run time statistics.
> The command "get statistics for qid " returns a valid transaction id.
> However the command "Select * from table(statistics(null, 'QID='))" 
> returns the transId as -1.



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


[jira] [Assigned] (TRAFODION-1862) Transaction ID is returned as -1 when using the in memory table for RMS stats

2016-03-02 Thread Selvaganesan Govindarajan (JIRA)

 [ 
https://issues.apache.org/jira/browse/TRAFODION-1862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Selvaganesan Govindarajan reassigned TRAFODION-1862:


Assignee: Selvaganesan Govindarajan

> Transaction ID is returned as -1 when using the in memory table for RMS stats
> -
>
> Key: TRAFODION-1862
> URL: https://issues.apache.org/jira/browse/TRAFODION-1862
> Project: Apache Trafodion
>  Issue Type: Bug
>Reporter: Venkat Muthuswamy
>Assignee: Selvaganesan Govindarajan
>
> When a query is executed under transaction, the transaction ID is part of the 
> run time statistics.
> The command "get statistics for qid " returns a valid transaction id.
> However the command "Select * from table(statistics(null, 'QID='))" 
> returns the transId as -1.



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


[jira] [Commented] (TRAFODION-1866) Build should not require qmake

2016-03-02 Thread ASF GitHub Bot (JIRA)

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

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

GitHub user svarnau opened a pull request:

https://github.com/apache/incubator-trafodion/pull/355

[TRAFODION-1866] Build should not require qmake



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/svarnau/incubator-trafodion qt1866

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-trafodion/pull/355.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #355


commit f6d38928e72dacd7de05d0bd3cc0e86bc5550b01
Author: Steve Varnau 
Date:   2016-03-02T21:53:45Z

[TRAFODION-1866] Build should not require qmake




> Build should not require qmake
> --
>
> Key: TRAFODION-1866
> URL: https://issues.apache.org/jira/browse/TRAFODION-1866
> Project: Apache Trafodion
>  Issue Type: Bug
>Reporter: Steve Varnau
>Assignee: Steve Varnau
>
> SQL Query Debugger is an optional component. Building it may be skipped by 
> not having QT_TOOLKIT set to valid directory.  In this case, make should not 
> even use qmake, which is part of the toolkit (also available in qt-devel 
> RPM). Trafodion should build without having qmake installed.



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


[jira] [Commented] (TRAFODION-1860) sqgen failed to execute on CentOS7 system.

2016-03-02 Thread Amanda Moran (JIRA)

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

Amanda Moran commented on TRAFODION-1860:
-

AWS RHEL 7.1 


Can't locate ctime.pl in @INC (@INC contains: /usr/local/lib64/perl5 
/usr/local/share/perl5 /usr/lib64/perl5/vendor_perl 
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at ./gensq.pl 
line 24.
***ERROR: sqgen failed with RC=2. Check install log file for details.

Same error. 

I had an issue when trying to do yum install per-DBD-SQLite 
Resolving Dependencies
--> Running transaction check
---> Package perl-DBD-SQLite.x86_64 0:1.39-3.el7 will be installed
---> Package perl-DBD-SQLite2.x86_64 0:0.33-12.el6 will be installed
--> Processing Dependency: perl(:MODULE_COMPAT_5.10.1) for package: 
perl-DBD-SQLite2-0.33-12.el6.x86_64

Found this online: https://forums.aws.amazon.com/message.jspa?messageID=567359


> sqgen failed to execute on CentOS7 system.
> --
>
> Key: TRAFODION-1860
> URL: https://issues.apache.org/jira/browse/TRAFODION-1860
> Project: Apache Trafodion
>  Issue Type: Bug
>  Components: foundation
>Reporter: Eason Zhang
>
> missing ctime.pl file on CentOS7.
> [trafodion@vmcentos7 ~]$ sqgen   
> Workstation environment - Not a clustered environment
> Can't locate ctime.pl in @INC (@INC contains: 
> /home/trafodion/trafodion-2.0.1/export/lib /usr/local/lib64/perl5 
> /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl 
> /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at 
> ./gensq.pl line 24.



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


[jira] [Commented] (TRAFODION-1668) Cannot upload customer SPJ JARs

2016-03-02 Thread ASF GitHub Bot (JIRA)

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

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

GitHub user svarnau opened a pull request:

https://github.com/apache/incubator-trafodion/pull/354

[TRAFODION-1668] Emergency build fix

The earlier pull request passed test, but then it was a long time
before it merged. By time work for 1668 merged, it caused a build error.
The branch is now broken for all builds without this small change.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/svarnau/incubator-trafodion fix1668

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-trafodion/pull/354.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #354


commit 6b4db62477a80f2984fc6a6cfca1762ada1003fe
Author: Steve Varnau 
Date:   2016-03-02T17:08:24Z

[TRAFODION-1668] Emergency build fix

The earlier pull request passed test, but then it was a long time
before it merged. By time work for 1668 merged, it caused a build error.
The branch is now broken for all builds without this small change.




> Cannot upload customer SPJ JARs
> ---
>
> Key: TRAFODION-1668
> URL: https://issues.apache.org/jira/browse/TRAFODION-1668
> Project: Apache Trafodion
>  Issue Type: Improvement
>Reporter: Kevin Xu
>Assignee: Kevin Xu
>




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


[jira] [Commented] (TRAFODION-1865) uninitialized buffer cause Monitor abort in CentOS 7

2016-03-02 Thread ASF GitHub Bot (JIRA)

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

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

GitHub user traflm opened a pull request:

https://github.com/apache/incubator-trafodion/pull/353

[TRAFODION-1865] uninitialized buffer cause Monitor abort in CentOS 7

We tested on CentOS 7.2, by applying this change, sqstart success.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/traflm/incubator-trafodion TRAFODION-1865

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-trafodion/pull/353.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #353


commit dce27e574839c7f5f3f7fada71e0f10db4a6dff3
Author: Liu Ming 
Date:   2016-03-02T14:49:23Z

[TRAFODION-1865] uninitialized buffer cause Monitor abort in CentOS 7




> uninitialized buffer cause Monitor abort in CentOS 7
> 
>
> Key: TRAFODION-1865
> URL: https://issues.apache.org/jira/browse/TRAFODION-1865
> Project: Apache Trafodion
>  Issue Type: Bug
>  Components: foundation
>Reporter: liu ming
>Assignee: liu ming
>
> sqstart failed on CentOS.
> The Monitor process abort in CProcessContainer::CProcessContainer() due to 
> failed to create semaphore.
> //create & initialize existing semaphore
> char sem_name[MAX_PROCESS_PATH];
> snprintf(sem_name,sizeof(sem_name), "/monitor.sem.%s", getenv("USER"));
> Mutex = sem_open(sem_name,O_CREAT,0644,0);
> if(Mutex == SEM_FAILED)
> {
> char buf[MON_STRING_BUF_SIZE];
> snprintf(buf, sizeof(buf), "[%s], Can't create semaphore %s!\n",
>  method_name, sem_name);
> mon_log_write(MON_PROCESSCONT_PROCESSCONT_3, SQ_LOG_ERR, buf);
> sem_unlink(sem_name);
> abort();
> }
> sem_name is not initialized and snprintf will not add \0 after copy required 
> bytes.



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


[jira] [Updated] (TRAFODION-1865) uninitialized buffer cause Monitor abort in CentOS 7

2016-03-02 Thread liu ming (JIRA)

 [ 
https://issues.apache.org/jira/browse/TRAFODION-1865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

liu ming updated TRAFODION-1865:

Component/s: foundation

> uninitialized buffer cause Monitor abort in CentOS 7
> 
>
> Key: TRAFODION-1865
> URL: https://issues.apache.org/jira/browse/TRAFODION-1865
> Project: Apache Trafodion
>  Issue Type: Bug
>  Components: foundation
>Reporter: liu ming
>Assignee: liu ming
>
> sqstart failed on CentOS.
> The Monitor process abort in CProcessContainer::CProcessContainer() due to 
> failed to create semaphore.
> //create & initialize existing semaphore
> char sem_name[MAX_PROCESS_PATH];
> snprintf(sem_name,sizeof(sem_name), "/monitor.sem.%s", getenv("USER"));
> Mutex = sem_open(sem_name,O_CREAT,0644,0);
> if(Mutex == SEM_FAILED)
> {
> char buf[MON_STRING_BUF_SIZE];
> snprintf(buf, sizeof(buf), "[%s], Can't create semaphore %s!\n",
>  method_name, sem_name);
> mon_log_write(MON_PROCESSCONT_PROCESSCONT_3, SQ_LOG_ERR, buf);
> sem_unlink(sem_name);
> abort();
> }
> sem_name is not initialized and snprintf will not add \0 after copy required 
> bytes.



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