[jira] [Commented] (TRAFODION-2802) Prepare the build environment with one command

2017-11-30 Thread ASF GitHub Bot (JIRA)

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

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

Github user sumory closed the pull request at:

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


> Prepare the build environment with one command
> --
>
> Key: TRAFODION-2802
> URL: https://issues.apache.org/jira/browse/TRAFODION-2802
> Project: Apache Trafodion
>  Issue Type: New Feature
>  Components: Build Infrastructure
>Affects Versions: any
> Environment: Red Hat and CentOS first
>Reporter: xiaozhong.wang
> Fix For: any
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Newbie cann't create build environment without a hitch.
> Although has a script traf_tools_setup.sh, there are a lot of process needed 
> to prepare before that.
> Give a script that can create build environment by one command, it's very 
> useful.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (TRAFODION-2731) CodeCleanup: Remove obsolete, legacy and unused code

2017-11-30 Thread ASF GitHub Bot (JIRA)

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

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

Github user asfgit closed the pull request at:

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


> CodeCleanup: Remove obsolete, legacy and unused code
> 
>
> Key: TRAFODION-2731
> URL: https://issues.apache.org/jira/browse/TRAFODION-2731
> Project: Apache Trafodion
>  Issue Type: Improvement
>Reporter: Anoop Sharma
>Assignee: Anoop Sharma
>Priority: Minor
>
> There is code in trafodion branch that is leftover from previous product and
> is no longer used.  
> It includes legacy features and code fragments, unneeded ifdef defines and 
> obsolete files.
> Having all that old code makes it difficult to read, understand or make 
> changes.
> This jira is filed to handle removal of obsolete code.
> It will be implemented in multiple phases.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (TRAFODION-2826) Reduce confusion of trafci / trafci.sh, retain compatibility

2017-11-30 Thread ASF GitHub Bot (JIRA)

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

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

GitHub user svarnau opened a pull request:

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

[TRAFODION-2826] Consolidate trafci defaults in trafci.sh script

trafci is wrapper used mostly for development, but either script should
pick up client configuration file if present to determine host and user.

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

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

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

https://github.com/apache/incubator-trafodion/pull/1321.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 #1321


commit d583e8b96778d8d114a2afe5c850c5622ec61151
Author: Steve Varnau 
Date:   2017-11-30T22:37:42Z

[TRAFODION-2826] Consolidate trafci defaults in trafci.sh script

trafci is wrapper used mostly for development, but either script should
pick up client configuration file if present to determine host and user.




> Reduce confusion of trafci / trafci.sh, retain compatibility
> 
>
> Key: TRAFODION-2826
> URL: https://issues.apache.org/jira/browse/TRAFODION-2826
> Project: Apache Trafodion
>  Issue Type: Bug
>  Components: client-ci
>Reporter: Steve Varnau
>Assignee: Steve Varnau
>Priority: Minor
>
> trafci was created as a developer convenience wrapper of trafci.sh, but was 
> included in the installed product, so users now expect it to be there. We 
> need to maintain it's usage.
> The wrapper tries to infer the server to use and defaults user/pw for the 
> case when no LDAP security is setup.  All those defaults could be pushed into 
> trafci.sh, and make trafci very thin wrapper.
> If client configuration file is found, either trafci or trafci.sh should pick 
> up host from there.
> The only behavior difference should be that if there is no configuration file 
> found, then trafci defaults to localhost as host (development environment), 
> whereas trafci.sh will not pass any host, and the user will be prompted for 
> hostname.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Assigned] (TRAFODION-2826) Reduce confusion of trafci / trafci.sh, retain compatibility

2017-11-30 Thread Steve Varnau (JIRA)

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

Steve Varnau reassigned TRAFODION-2826:
---

Assignee: Steve Varnau

> Reduce confusion of trafci / trafci.sh, retain compatibility
> 
>
> Key: TRAFODION-2826
> URL: https://issues.apache.org/jira/browse/TRAFODION-2826
> Project: Apache Trafodion
>  Issue Type: Bug
>  Components: client-ci
>Reporter: Steve Varnau
>Assignee: Steve Varnau
>Priority: Minor
>
> trafci was created as a developer convenience wrapper of trafci.sh, but was 
> included in the installed product, so users now expect it to be there. We 
> need to maintain it's usage.
> The wrapper tries to infer the server to use and defaults user/pw for the 
> case when no LDAP security is setup.  All those defaults could be pushed into 
> trafci.sh, and make trafci very thin wrapper.
> If client configuration file is found, either trafci or trafci.sh should pick 
> up host from there.
> The only behavior difference should be that if there is no configuration file 
> found, then trafci defaults to localhost as host (development environment), 
> whereas trafci.sh will not pass any host, and the user will be prompted for 
> hostname.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (TRAFODION-2826) Reduce confusion of trafci / trafci.sh, retain compatibility

2017-11-30 Thread Steve Varnau (JIRA)
Steve Varnau created TRAFODION-2826:
---

 Summary: Reduce confusion of trafci / trafci.sh, retain 
compatibility
 Key: TRAFODION-2826
 URL: https://issues.apache.org/jira/browse/TRAFODION-2826
 Project: Apache Trafodion
  Issue Type: Bug
  Components: client-ci
Reporter: Steve Varnau
Priority: Minor


trafci was created as a developer convenience wrapper of trafci.sh, but was 
included in the installed product, so users now expect it to be there. We need 
to maintain it's usage.

The wrapper tries to infer the server to use and defaults user/pw for the case 
when no LDAP security is setup.  All those defaults could be pushed into 
trafci.sh, and make trafci very thin wrapper.

If client configuration file is found, either trafci or trafci.sh should pick 
up host from there.

The only behavior difference should be that if there is no configuration file 
found, then trafci defaults to localhost as host (development environment), 
whereas trafci.sh will not pass any host, and the user will be prompted for 
hostname.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (TRAFODION-2824) some "hp" code in trafodion

2017-11-30 Thread ASF GitHub Bot (JIRA)

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

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

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


https://github.com/apache/incubator-trafodion/pull/1319#discussion_r154149096
  
--- Diff: 
core/conn/jdbc_type2/src/main/java/org/apache/trafodion/jdbc/t2/SQLMXPreparedStatement.java
 ---
@@ -2772,7 +2772,7 @@ private void setLong(int parameterIndex) throws 
SQLException {
/**
 * Sets the designated parameter to SQL NULL.
 * 
-* Note: You must specify the parameters SQL type (although HP 
SQL/MX
+* Note: You must specify the parameters SQL type (although 
Trafodion SQL/MX
--- End diff --

Actually, SQL/MX is a reference to the predecessor HP product as well. If 
you wish, consider changing "Trafodion SQL/MX" to just "Trafodion"


> some "hp" code in trafodion
> ---
>
> Key: TRAFODION-2824
> URL: https://issues.apache.org/jira/browse/TRAFODION-2824
> Project: Apache Trafodion
>  Issue Type: Bug
>Reporter: Gong Pengju
>Priority: Minor
>
> there are some code appear in trafodion, like HPT4Connection,HPT4ResultSet



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (TRAFODION-2823) some test case donot close connection

2017-11-30 Thread ASF GitHub Bot (JIRA)

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

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

GitHub user gpj1987 opened a pull request:

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

TRAFODION-2823 some test case donot close connection

some classes in 
incubator-trafodion/dcs/src/test/jdbc_test/src/test/java/org/trafodion/jdbc_test
 do not close statement and connection, which will lead to no connection can be 
use.
classes include : 
PropTest.java
TestNetworkTimeout.java
TestWrap.java

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

$ git pull https://github.com/gpj1987/incubator-trafodion TRAFODION-2823

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

https://github.com/apache/incubator-trafodion/pull/1320.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 #1320


commit 47ec58764ffaa4381f65c5cf87a909b7f701b2f0
Author: gpj1987 
Date:   2017-11-30T12:10:37Z

TRAFODION-2823 some test case donot close connection




> some test case donot close connection
> -
>
> Key: TRAFODION-2823
> URL: https://issues.apache.org/jira/browse/TRAFODION-2823
> Project: Apache Trafodion
>  Issue Type: Bug
>Reporter: Gong Pengju
>Priority: Minor
>
> some classes in 
> incubator-trafodion/dcs/src/test/jdbc_test/src/test/java/org/trafodion/jdbc_test
>  do not close statement and connection, which will lead to no connection can 
> be use.
> classes include : 
> PropTest.java
> TestNetworkTimeout.java
> TestWrap.java



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (TRAFODION-2824) some "hp" code in trafodion

2017-11-30 Thread ASF GitHub Bot (JIRA)

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

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

GitHub user gpj1987 opened a pull request:

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

TRAFODION-2824

there are some codes and comments contain HP in trafodion, like 
HPT4Connection,HPT4ResultSet


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

$ git pull https://github.com/gpj1987/incubator-trafodion TRAFODION-2824

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

https://github.com/apache/incubator-trafodion/pull/1319.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 #1319


commit 1132ccdd13acc25182ceea279bc3ffdbc5bcfafe
Author: gpj1987 
Date:   2017-11-30T11:59:48Z

TRAFODION-2824




> some "hp" code in trafodion
> ---
>
> Key: TRAFODION-2824
> URL: https://issues.apache.org/jira/browse/TRAFODION-2824
> Project: Apache Trafodion
>  Issue Type: Bug
>Reporter: Gong Pengju
>Priority: Minor
>
> there are some code appear in trafodion, like HPT4Connection,HPT4ResultSet



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (TRAFODION-2825) add jdbc use case

2017-11-30 Thread ASF GitHub Bot (JIRA)

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

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

GitHub user gpj1987 opened a pull request:

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

TRAFODION-2825 add jdbc user case

some users indicate that they have no experience on how to use jdbc, they 
require some jdbc demos

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

$ git pull https://github.com/gpj1987/incubator-trafodion TRAFODION-2825

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

https://github.com/apache/incubator-trafodion/pull/1318.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 #1318


commit 181904e4377d7fd87d3a98129e28ed15fabf1a2c
Author: gpj1987 
Date:   2017-11-30T11:19:57Z

TRAFODION-2825 add jdbc user case




> add jdbc use case
> -
>
> Key: TRAFODION-2825
> URL: https://issues.apache.org/jira/browse/TRAFODION-2825
> Project: Apache Trafodion
>  Issue Type: Bug
>Reporter: Gong Pengju
>Priority: Minor
>
> some users indicate that they have no experience on how to use jdbc, they 
> require some jdbc demos



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (TRAFODION-2825) add jdbc use case

2017-11-30 Thread Gong Pengju (JIRA)

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

Gong Pengju updated TRAFODION-2825:
---
Priority: Minor  (was: Major)

> add jdbc use case
> -
>
> Key: TRAFODION-2825
> URL: https://issues.apache.org/jira/browse/TRAFODION-2825
> Project: Apache Trafodion
>  Issue Type: Bug
>Reporter: Gong Pengju
>Priority: Minor
>
> some users indicate that they have no experience on how to use jdbc, they 
> require some jdbc demos



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (TRAFODION-2824) some "hp" code in trafodion

2017-11-30 Thread Gong Pengju (JIRA)
Gong Pengju created TRAFODION-2824:
--

 Summary: some "hp" code in trafodion
 Key: TRAFODION-2824
 URL: https://issues.apache.org/jira/browse/TRAFODION-2824
 Project: Apache Trafodion
  Issue Type: Bug
Reporter: Gong Pengju
Priority: Minor


there are some code appear in trafodion, like HPT4Connection,HPT4ResultSet



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (TRAFODION-2825) add jdbc use case

2017-11-30 Thread Gong Pengju (JIRA)
Gong Pengju created TRAFODION-2825:
--

 Summary: add jdbc use case
 Key: TRAFODION-2825
 URL: https://issues.apache.org/jira/browse/TRAFODION-2825
 Project: Apache Trafodion
  Issue Type: Bug
Reporter: Gong Pengju


some users indicate that they have no experience on how to use jdbc, they 
require some jdbc demos



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (TRAFODION-2823) some test case donot close connection

2017-11-30 Thread Gong Pengju (JIRA)
Gong Pengju created TRAFODION-2823:
--

 Summary: some test case donot close connection
 Key: TRAFODION-2823
 URL: https://issues.apache.org/jira/browse/TRAFODION-2823
 Project: Apache Trafodion
  Issue Type: Bug
Reporter: Gong Pengju
Priority: Minor


some classes in 
incubator-trafodion/dcs/src/test/jdbc_test/src/test/java/org/trafodion/jdbc_test
 do not close statement and connection, which will lead to no connection can be 
use.
classes include : 
PropTest.java
TestNetworkTimeout.java
TestWrap.java




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)