[jira] [Commented] (KNOX-1237) Knox DSL should support HBase Stateless Scanner

2019-01-18 Thread Dequan Chen (JIRA)


[ 
https://issues.apache.org/jira/browse/KNOX-1237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16746435#comment-16746435
 ] 

Dequan Chen commented on KNOX-1237:
---

 [~risdenk]:

The implementation of the Knox Shell HBase stateless scanner is to use a 
temporary stateful scanner ID to get all the data of a user's request by >=1 
step(s) and return the complete data to the user depending on the request 
(version #, columns, rows etc). So the user does not need to create any 
stateful scanner(s) to loop through all possible steps for each step's data + 
combining the data as a whole Therefore, the user does not see any stateful 
scanner action because of the encapsulation adopted in the object-oriented 
implementation. Hope that the explanation helps you understand that.

Dequan

1/18/2019

 

> Knox DSL should support HBase Stateless Scanner
> ---
>
> Key: KNOX-1237
> URL: https://issues.apache.org/jira/browse/KNOX-1237
> Project: Apache Knox
>  Issue Type: Improvement
>  Components: ClientDSL
>Reporter: Kevin Risden
>Assignee: Dequan Chen
>Priority: Minor
> Fix For: 1.3.0
>
> Attachments: KNOX-1237.patch, KNOX-1237.patch
>
>
> KNOX-8 added support for HBase REST apis via Knox. The Knox DSL supports 
> stateful scanners as shown in the documentation 
> (https://knox.apache.org/books/knox-1-0-0/user-guide.html#table(String+tableName).scanner().create()+-+Scanner+Creation).
> HBase REST supports stateless scanners 
> ([https://hbase.apache.org/1.2/apidocs/org/apache/hadoop/hbase/rest/package-summary.html#operation_stateless_scanner])
>  which can be easily load balanced. The feature is not well documented in 
> HBase REST.
> Currently if using stateful scanners and Knox or HBase REST is being load 
> balanced, there will be an issue using that scanner. The stateless scanners 
> avoid this since they have all the information necessary.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (KNOX-1738) Upgrade nimbus-jose-jwt to 6.7

2019-01-18 Thread Kevin Risden (JIRA)


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

Kevin Risden updated KNOX-1738:
---
Resolution: Fixed
Status: Resolved  (was: Patch Available)

> Upgrade nimbus-jose-jwt to 6.7
> --
>
> Key: KNOX-1738
> URL: https://issues.apache.org/jira/browse/KNOX-1738
> Project: Apache Knox
>  Issue Type: Sub-task
>Reporter: Kevin Risden
>Assignee: Kevin Risden
>Priority: Minor
> Fix For: 1.3.0
>
> Attachments: KNOX-1738.patch, KNOX-1738.patch
>
>
> Upgrade nimbus-jose-jwt 6.5.1 to 6.7



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (KNOX-1237) Knox DSL should support HBase Stateless Scanner

2019-01-18 Thread Kevin Risden (JIRA)


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

Kevin Risden updated KNOX-1237:
---
Status: Open  (was: Patch Available)

Cancelling the patch until comments are resolved.

> Knox DSL should support HBase Stateless Scanner
> ---
>
> Key: KNOX-1237
> URL: https://issues.apache.org/jira/browse/KNOX-1237
> Project: Apache Knox
>  Issue Type: Improvement
>  Components: ClientDSL
>Reporter: Kevin Risden
>Assignee: Dequan Chen
>Priority: Minor
> Fix For: 1.3.0
>
> Attachments: KNOX-1237.patch, KNOX-1237.patch
>
>
> KNOX-8 added support for HBase REST apis via Knox. The Knox DSL supports 
> stateful scanners as shown in the documentation 
> (https://knox.apache.org/books/knox-1-0-0/user-guide.html#table(String+tableName).scanner().create()+-+Scanner+Creation).
> HBase REST supports stateless scanners 
> ([https://hbase.apache.org/1.2/apidocs/org/apache/hadoop/hbase/rest/package-summary.html#operation_stateless_scanner])
>  which can be easily load balanced. The feature is not well documented in 
> HBase REST.
> Currently if using stateful scanners and Knox or HBase REST is being load 
> balanced, there will be an issue using that scanner. The stateless scanners 
> avoid this since they have all the information necessary.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (KNOX-1237) Knox DSL should support HBase Stateless Scanner

2019-01-18 Thread Kevin Risden (JIRA)


[ 
https://issues.apache.org/jira/browse/KNOX-1237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16746409#comment-16746409
 ] 

Kevin Risden commented on KNOX-1237:


[~dequanchen] while looking through the patch I see the following line

while (!(tempValue = 
HBase.session(session).table(tableName).scanner(scannerId).getNext().now().getString()).isEmpty())
 { +

 

This looks like it creates a stateful scanner from within the stateless 
scanner? That doesn't seem correct to me. There should be no reason to have any 
Scanner ID from within the stateless scanner.

> Knox DSL should support HBase Stateless Scanner
> ---
>
> Key: KNOX-1237
> URL: https://issues.apache.org/jira/browse/KNOX-1237
> Project: Apache Knox
>  Issue Type: Improvement
>  Components: ClientDSL
>Reporter: Kevin Risden
>Assignee: Dequan Chen
>Priority: Minor
> Fix For: 1.3.0
>
> Attachments: KNOX-1237.patch, KNOX-1237.patch
>
>
> KNOX-8 added support for HBase REST apis via Knox. The Knox DSL supports 
> stateful scanners as shown in the documentation 
> (https://knox.apache.org/books/knox-1-0-0/user-guide.html#table(String+tableName).scanner().create()+-+Scanner+Creation).
> HBase REST supports stateless scanners 
> ([https://hbase.apache.org/1.2/apidocs/org/apache/hadoop/hbase/rest/package-summary.html#operation_stateless_scanner])
>  which can be easily load balanced. The feature is not well documented in 
> HBase REST.
> Currently if using stateful scanners and Knox or HBase REST is being load 
> balanced, there will be an issue using that scanner. The stateless scanners 
> avoid this since they have all the information necessary.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (KNOX-1738) Upgrade nimbus-jose-jwt to 6.7

2019-01-18 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/KNOX-1738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16746406#comment-16746406
 ] 

ASF subversion and git services commented on KNOX-1738:
---

Commit 1a8f83f5a8a329d090b89c6bd875f16824e8b723 in knox's branch 
refs/heads/master from Kevin Risden
[ https://gitbox.apache.org/repos/asf?p=knox.git;h=1a8f83f ]

KNOX-1738 - Upgrade nimbus-jose-jwt to 6.7

Signed-off-by: Kevin Risden 


> Upgrade nimbus-jose-jwt to 6.7
> --
>
> Key: KNOX-1738
> URL: https://issues.apache.org/jira/browse/KNOX-1738
> Project: Apache Knox
>  Issue Type: Sub-task
>Reporter: Kevin Risden
>Assignee: Kevin Risden
>Priority: Minor
> Fix For: 1.3.0
>
> Attachments: KNOX-1738.patch, KNOX-1738.patch
>
>
> Upgrade nimbus-jose-jwt 6.5.1 to 6.7



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (KNOX-1738) Upgrade nimbus-jose-jwt to 6.7

2019-01-18 Thread Kevin Risden (JIRA)


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

Kevin Risden updated KNOX-1738:
---
Summary: Upgrade nimbus-jose-jwt to 6.7  (was: Upgrade nimbus-jose-jwt to 
6.6)

> Upgrade nimbus-jose-jwt to 6.7
> --
>
> Key: KNOX-1738
> URL: https://issues.apache.org/jira/browse/KNOX-1738
> Project: Apache Knox
>  Issue Type: Sub-task
>Reporter: Kevin Risden
>Assignee: Kevin Risden
>Priority: Minor
> Fix For: 1.3.0
>
> Attachments: KNOX-1738.patch
>
>
> Upgrade nimbus-jose-jwt 6.5.1 to 6.7



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (KNOX-1739) Upgrade spring-core to 5.1.4.RELEASE

2019-01-18 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/KNOX-1739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16746283#comment-16746283
 ] 

ASF subversion and git services commented on KNOX-1739:
---

Commit b38a64b70e410e6b1e69fef1c325c56d237efc7b in knox's branch 
refs/heads/master from Kevin Risden
[ https://gitbox.apache.org/repos/asf?p=knox.git;h=b38a64b ]

KNOX-1739 - Upgrade spring-core to 5.1.4.RELEASE

Signed-off-by: Kevin Risden 


> Upgrade spring-core to 5.1.4.RELEASE
> 
>
> Key: KNOX-1739
> URL: https://issues.apache.org/jira/browse/KNOX-1739
> Project: Apache Knox
>  Issue Type: Sub-task
>Reporter: Kevin Risden
>Assignee: Kevin Risden
>Priority: Major
> Fix For: 1.3.0
>
> Attachments: KNOX-1739.patch
>
>
> Upgrade spring-core 5.1.3.RELEASE to 5.1.4.RELEASE



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (KNOX-1739) Upgrade spring-core to 5.1.4.RELEASE

2019-01-18 Thread Kevin Risden (JIRA)


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

Kevin Risden updated KNOX-1739:
---
Resolution: Fixed
Status: Resolved  (was: Patch Available)

> Upgrade spring-core to 5.1.4.RELEASE
> 
>
> Key: KNOX-1739
> URL: https://issues.apache.org/jira/browse/KNOX-1739
> Project: Apache Knox
>  Issue Type: Sub-task
>Reporter: Kevin Risden
>Assignee: Kevin Risden
>Priority: Major
> Fix For: 1.3.0
>
> Attachments: KNOX-1739.patch
>
>
> Upgrade spring-core 5.1.3.RELEASE to 5.1.4.RELEASE



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (KNOX-1738) Upgrade nimbus-jose-jwt to 6.7

2019-01-18 Thread Kevin Risden (JIRA)


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

Kevin Risden updated KNOX-1738:
---
Attachment: KNOX-1738.patch

> Upgrade nimbus-jose-jwt to 6.7
> --
>
> Key: KNOX-1738
> URL: https://issues.apache.org/jira/browse/KNOX-1738
> Project: Apache Knox
>  Issue Type: Sub-task
>Reporter: Kevin Risden
>Assignee: Kevin Risden
>Priority: Minor
> Fix For: 1.3.0
>
> Attachments: KNOX-1738.patch, KNOX-1738.patch
>
>
> Upgrade nimbus-jose-jwt 6.5.1 to 6.7



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (KNOX-1738) Upgrade nimbus-jose-jwt to 6.6

2019-01-18 Thread Kevin Risden (JIRA)


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

Kevin Risden updated KNOX-1738:
---
Description: Upgrade nimbus-jose-jwt 6.5.1 to 6.7  (was: Upgrade 
nimbus-jose-jwt 6.5.1 to 6.6)

> Upgrade nimbus-jose-jwt to 6.6
> --
>
> Key: KNOX-1738
> URL: https://issues.apache.org/jira/browse/KNOX-1738
> Project: Apache Knox
>  Issue Type: Sub-task
>Reporter: Kevin Risden
>Assignee: Kevin Risden
>Priority: Minor
> Fix For: 1.3.0
>
> Attachments: KNOX-1738.patch
>
>
> Upgrade nimbus-jose-jwt 6.5.1 to 6.7



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)