[jira] [Resolved] (PHOENIX-6634) PhoenixResultSet.next method closes the result set if the scanner returns null

2022-01-31 Thread Xinyi Yan (Jira)


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

Xinyi Yan resolved PHOENIX-6634.

Resolution: Fixed

> PhoenixResultSet.next method closes the result set if the scanner returns null
> --
>
> Key: PHOENIX-6634
> URL: https://issues.apache.org/jira/browse/PHOENIX-6634
> Project: Phoenix
>  Issue Type: Bug
>Affects Versions: 4.16.1
>Reporter: Xinyi Yan
>Assignee: Xinyi Yan
>Priority: Major
> Fix For: 4.17.0, 4.16.2
>
>
>  
> {code:java}
> public void test() throws Exception {
> String query = "SELECT a_string FROM " + tableName + " WHERE 
> organization_id=? LIMIT 1";
> Properties props = PropertiesUtil.deepCopy(TEST_PROPERTIES);
> try(Connection conn = DriverManager.getConnection(getUrl(), props)) {
> PreparedStatement statement = conn.prepareStatement(query);
> statement.setString(1, tenantId);
> ResultSet rs = statement.executeQuery();
> while (rs.next()) {
> }
> assertFalse(rs.next()); // exception happens here
> }
> } {code}
>  
>  
> {code:java}
> java.sql.SQLException: ERROR 1101 (XCL01): ResultSet is closed.    at 
> org.apache.phoenix.exception.SQLExceptionCode$Factory$1.newException(SQLExceptionCode.java:615)
>     at 
> org.apache.phoenix.exception.SQLExceptionInfo.buildException(SQLExceptionInfo.java:217)
>     at 
> org.apache.phoenix.jdbc.PhoenixResultSet.checkOpen(PhoenixResultSet.java:288)
>     at 
> org.apache.phoenix.jdbc.PhoenixResultSet.next(PhoenixResultSet.java:847)
>     at org.apache.phoenix.end2end.QueryIT.test(QueryIT.java:184)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method){code}
> Need to remove the unnecessary close inside the next method. 
>  
> https://github.com/apache/phoenix/blob/4.x/phoenix-core/src/main/java/org/apache/phoenix/jdbc/PhoenixResultSet.java#L855



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Updated] (PHOENIX-628) Support native JSON data type

2022-01-31 Thread Gokcen Iskender (Jira)


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

Gokcen Iskender updated PHOENIX-628:

Attachment: JSON Support for Phoenix.docx

> Support native JSON data type
> -
>
> Key: PHOENIX-628
> URL: https://issues.apache.org/jira/browse/PHOENIX-628
> Project: Phoenix
>  Issue Type: Task
>Affects Versions: 4.4.0
>Reporter: James R. Taylor
>  Labels: JSON, Java, SQL
> Fix For: 4.4.1
>
> Attachments: JSON Support for Phoenix.docx
>
>
> MongoDB and PostGres do some interesting things with JSON. We should look at 
> adding similar support. For a detailed description, see JSONB support in 
> Postgres: 
> http://www.craigkerstiens.com/2014/03/24/Postgres-9.4-Looking-up
> http://www.depesz.com/2014/03/25/waiting-for-9-4-introduce-jsonb-a-structured-format-for-storing-json/
> http://michael.otacoo.com/postgresql-2/manipulating-jsonb-data-with-key-unique/



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Assigned] (PHOENIX-6637) Remove log4j.properties from shaded artifacts

2022-01-31 Thread Istvan Toth (Jira)


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

Istvan Toth reassigned PHOENIX-6637:


Assignee: Istvan Toth

> Remove log4j.properties from shaded artifacts
> -
>
> Key: PHOENIX-6637
> URL: https://issues.apache.org/jira/browse/PHOENIX-6637
> Project: Phoenix
>  Issue Type: Bug
>Reporter: Istvan Toth
>Assignee: Istvan Toth
>Priority: Major
>
> The phoenix-client jars and phoenix-server jar both contain a 
> log4j.properties files.
> We should remove those, and let the consumer specify the logging config.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Created] (PHOENIX-6637) Remove log4j.properties from shaded artifacts

2022-01-31 Thread Istvan Toth (Jira)
Istvan Toth created PHOENIX-6637:


 Summary: Remove log4j.properties from shaded artifacts
 Key: PHOENIX-6637
 URL: https://issues.apache.org/jira/browse/PHOENIX-6637
 Project: Phoenix
  Issue Type: Bug
Reporter: Istvan Toth


The phoenix-client jars and phoenix-server jar both contain a log4j.properties 
files.

We should remove those, and let the consumer specify the logging config.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Assigned] (PHOENIX-6636) Replace bundled log4j libraries with reload4j

2022-01-31 Thread Istvan Toth (Jira)


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

Istvan Toth reassigned PHOENIX-6636:


Assignee: Istvan Toth

> Replace bundled log4j libraries with reload4j
> -
>
> Key: PHOENIX-6636
> URL: https://issues.apache.org/jira/browse/PHOENIX-6636
> Project: Phoenix
>  Issue Type: Bug
>  Components: connectors, core, queryserver
>Affects Versions: 5.2.0
>Reporter: Istvan Toth
>Assignee: Istvan Toth
>Priority: Major
>
> To reduce the number of dependecies with unresolved CVEs, replace the bundled 
> log4j libraries with reload4j ([https://reload4j.qos.ch/).]
> This will also require bumping the slf4j version.
> This is a quick fix, and does not preclude moving to some different backend 
> later (like log4j2 or logback)



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Resolved] (PHOENIX-6591) Update OWASP plugin to latest

2022-01-31 Thread Istvan Toth (Jira)


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

Istvan Toth resolved PHOENIX-6591.
--
Fix Version/s: connectors-6.0.0
   4.17.0
   5.2.0
   4.16.2
   5.1.3
   Resolution: Fixed

Committed to all active banches on phoenix.
Thanks for the quick review [~vjasani] 

> Update OWASP plugin to latest
> -
>
> Key: PHOENIX-6591
> URL: https://issues.apache.org/jira/browse/PHOENIX-6591
> Project: Phoenix
>  Issue Type: Bug
>  Components: connectors, core, queryserver
>Affects Versions: connectors-6.0.0, queryserver-6.0.0, 5.2.0
>Reporter: Istvan Toth
>Assignee: Istvan Toth
>Priority: Major
> Fix For: connectors-6.0.0, 4.17.0, 5.2.0, 4.16.2, 5.1.3, 
> queryserver-6.0.1
>
>
> The URLs used by the OWASP plugin to download CVE information are no longer 
> live.
> The latest version (6.4.1) switches to working URLs.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Updated] (PHOENIX-6636) Replace bundled log4j libraries with reload4j

2022-01-31 Thread Istvan Toth (Jira)


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

Istvan Toth updated PHOENIX-6636:
-
Description: 
To reduce the number of dependecies with unresolved CVEs, replace the bundled 
log4j libraries with reload4j ([https://reload4j.qos.ch/).]
This will also require bumping the slf4j version.

This is a quick fix, and does not preclude moving to some different backend 
later (like log4j2 or logback)

  was:
To reduce the number of dependecies with unresolved CVEs, replace the bundled 
slf4j libraries with reload4j ([https://reload4j.qos.ch/).]
This will also require bumping the slf4j version.

This is a quick fix, and does not preclude moving to some different backend 
later (like log4j2 or logback)

Summary: Replace bundled log4j libraries with reload4j  (was: Replace 
bundled slf4j libraries with reload4j)

> Replace bundled log4j libraries with reload4j
> -
>
> Key: PHOENIX-6636
> URL: https://issues.apache.org/jira/browse/PHOENIX-6636
> Project: Phoenix
>  Issue Type: Bug
>  Components: connectors, core, queryserver
>Affects Versions: 5.2.0
>Reporter: Istvan Toth
>Priority: Major
>
> To reduce the number of dependecies with unresolved CVEs, replace the bundled 
> log4j libraries with reload4j ([https://reload4j.qos.ch/).]
> This will also require bumping the slf4j version.
> This is a quick fix, and does not preclude moving to some different backend 
> later (like log4j2 or logback)



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Updated] (PHOENIX-6591) Update OWASP plugin to latest

2022-01-31 Thread Istvan Toth (Jira)


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

Istvan Toth updated PHOENIX-6591:
-
Fix Version/s: queryserver-6.0.1

> Update OWASP plugin to latest
> -
>
> Key: PHOENIX-6591
> URL: https://issues.apache.org/jira/browse/PHOENIX-6591
> Project: Phoenix
>  Issue Type: Bug
>  Components: connectors, core, queryserver
>Affects Versions: connectors-6.0.0, queryserver-6.0.0, 5.2.0
>Reporter: Istvan Toth
>Assignee: Istvan Toth
>Priority: Major
> Fix For: queryserver-6.0.1
>
>
> The URLs used by the OWASP plugin to download CVE information are no longer 
> live.
> The latest version (6.4.1) switches to working URLs.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Resolved] (OMID-218) Update OWASP plugin to latest

2022-01-31 Thread Istvan Toth (Jira)


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

Istvan Toth resolved OMID-218.
--
Fix Version/s: 1.0.3
   Resolution: Fixed

Committed to master.
Thanks for the review [~vjasani].

> Update OWASP plugin to latest
> -
>
> Key: OMID-218
> URL: https://issues.apache.org/jira/browse/OMID-218
> Project: Phoenix Omid
>  Issue Type: Task
>Reporter: Istvan Toth
>Priority: Major
> Fix For: 1.0.3
>
>
> The URLs used by the OWASP plugin to download CVE information are no longer 
> live.
> The recent versions switch to working URLs.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[GitHub] [phoenix-omid] stoty closed pull request #100: OMID-218 Update OWASP plugin to latest

2022-01-31 Thread GitBox


stoty closed pull request #100:
URL: https://github.com/apache/phoenix-omid/pull/100


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@phoenix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[jira] [Created] (PHOENIX-6636) Replace bundled slf4j libraries with reload4j

2022-01-31 Thread Istvan Toth (Jira)
Istvan Toth created PHOENIX-6636:


 Summary: Replace bundled slf4j libraries with reload4j
 Key: PHOENIX-6636
 URL: https://issues.apache.org/jira/browse/PHOENIX-6636
 Project: Phoenix
  Issue Type: Bug
  Components: connectors, core, queryserver
Affects Versions: 5.2.0
Reporter: Istvan Toth


To reduce the number of dependecies with unresolved CVEs, replace the bundled 
slf4j libraries with reload4j ([https://reload4j.qos.ch/).]
This will also require bumping the slf4j version.

This is a quick fix, and does not preclude moving to some different backend 
later (like log4j2 or logback)



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Updated] (OMID-218) Update OWASP plugin to latest

2022-01-31 Thread Istvan Toth (Jira)


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

Istvan Toth updated OMID-218:
-
Description: 
The URLs used by the OWASP plugin to download CVE information are no longer 
live.
The recent versions switch to working URLs.

  was:
The URLs used by the OWASP plugin to download CVE information are no longer 
live.
The recent versions switches to working URLs.


> Update OWASP plugin to latest
> -
>
> Key: OMID-218
> URL: https://issues.apache.org/jira/browse/OMID-218
> Project: Phoenix Omid
>  Issue Type: Task
>Reporter: Istvan Toth
>Priority: Major
>
> The URLs used by the OWASP plugin to download CVE information are no longer 
> live.
> The recent versions switch to working URLs.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)