[jira] [Assigned] (HBASE-18920) Operation.toString() is counterintuitive

2018-08-03 Thread Hua-Yi Ho (JIRA)


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

Hua-Yi Ho reassigned HBASE-18920:
-

Assignee: Hua-Yi Ho

> Operation.toString() is counterintuitive
> 
>
> Key: HBASE-18920
> URL: https://issues.apache.org/jira/browse/HBASE-18920
> Project: HBase
>  Issue Type: Bug
>Reporter: James Taylor
>Assignee: Hua-Yi Ho
>Priority: Major
>
> When debugging, you often need to know which columns are projected into the 
> Scan. The Operation.toString() silently truncates what you see to the first 
> 5. Typically, if you truncate a value, you should end it with "..." so that 
> the user knows there are actually more (instead of wasting time thinking 
> they're not projecting everything that needs to be projected). Also, a limit 
> of 5 is way to small of a default.



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


[jira] [Commented] (HBASE-20528) Revise collections copying from iteration to built-in function

2018-07-27 Thread Hua-Yi Ho (JIRA)


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

Hua-Yi Ho commented on HBASE-20528:
---

I have fixed the both of them.

> Revise collections copying from iteration to built-in function
> --
>
> Key: HBASE-20528
> URL: https://issues.apache.org/jira/browse/HBASE-20528
> Project: HBase
>  Issue Type: Improvement
>Affects Versions: 3.0.0
>Reporter: Hua-Yi Ho
>Assignee: Hua-Yi Ho
>Priority: Minor
> Fix For: 3.0.0
>
> Attachments: HBASE-20528.master.001.patch
>
>
> Some collection codes in file
> StochasticLoadBalancer.java, AbstractHBaseTool.java, HFileInputFormat.java, 
> Result.java, and WalPlayer.java, using iterations to copy whole data in 
> collections. The iterations can just replace by just Colletions.addAll and 
> Arrays.copyOf.



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


[jira] [Assigned] (HBASE-18920) Operation.toString() is counterintuitive

2018-07-27 Thread Hua-Yi Ho (JIRA)


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

Hua-Yi Ho reassigned HBASE-18920:
-

Assignee: Hua-Yi Ho

> Operation.toString() is counterintuitive
> 
>
> Key: HBASE-18920
> URL: https://issues.apache.org/jira/browse/HBASE-18920
> Project: HBase
>  Issue Type: Bug
>Reporter: James Taylor
>Assignee: Hua-Yi Ho
>Priority: Major
>
> When debugging, you often need to know which columns are projected into the 
> Scan. The Operation.toString() silently truncates what you see to the first 
> 5. Typically, if you truncate a value, you should end it with "..." so that 
> the user knows there are actually more (instead of wasting time thinking 
> they're not projecting everything that needs to be projected). Also, a limit 
> of 5 is way to small of a default.



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


[jira] [Assigned] (HBASE-18920) Operation.toString() is counterintuitive

2018-07-27 Thread Hua-Yi Ho (JIRA)


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

Hua-Yi Ho reassigned HBASE-18920:
-

Assignee: (was: Hua-Yi Ho)

> Operation.toString() is counterintuitive
> 
>
> Key: HBASE-18920
> URL: https://issues.apache.org/jira/browse/HBASE-18920
> Project: HBase
>  Issue Type: Bug
>Reporter: James Taylor
>Priority: Major
>
> When debugging, you often need to know which columns are projected into the 
> Scan. The Operation.toString() silently truncates what you see to the first 
> 5. Typically, if you truncate a value, you should end it with "..." so that 
> the user knows there are actually more (instead of wasting time thinking 
> they're not projecting everything that needs to be projected). Also, a limit 
> of 5 is way to small of a default.



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


[jira] [Updated] (HBASE-20528) Revise collections copying from iteration to built-in function

2018-07-27 Thread Hua-Yi Ho (JIRA)


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

Hua-Yi Ho updated HBASE-20528:
--
Attachment: (was: 0001-HBASE-20528.v0.patch)

> Revise collections copying from iteration to built-in function
> --
>
> Key: HBASE-20528
> URL: https://issues.apache.org/jira/browse/HBASE-20528
> Project: HBase
>  Issue Type: Improvement
>Affects Versions: 3.0.0
>Reporter: Hua-Yi Ho
>Assignee: Hua-Yi Ho
>Priority: Minor
> Fix For: 3.0.0
>
> Attachments: HBASE-20528.master.001.patch
>
>
> Some collection codes in file
> StochasticLoadBalancer.java, AbstractHBaseTool.java, HFileInputFormat.java, 
> Result.java, and WalPlayer.java, using iterations to copy whole data in 
> collections. The iterations can just replace by just Colletions.addAll and 
> Arrays.copyOf.



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


[jira] [Updated] (HBASE-20528) Revise collections copying from iteration to built-in function

2018-07-27 Thread Hua-Yi Ho (JIRA)


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

Hua-Yi Ho updated HBASE-20528:
--
Attachment: HBASE-20528.master.001.patch

> Revise collections copying from iteration to built-in function
> --
>
> Key: HBASE-20528
> URL: https://issues.apache.org/jira/browse/HBASE-20528
> Project: HBase
>  Issue Type: Improvement
>Affects Versions: 3.0.0
>Reporter: Hua-Yi Ho
>Assignee: Hua-Yi Ho
>Priority: Minor
> Fix For: 3.0.0
>
> Attachments: HBASE-20528.master.001.patch
>
>
> Some collection codes in file
> StochasticLoadBalancer.java, AbstractHBaseTool.java, HFileInputFormat.java, 
> Result.java, and WalPlayer.java, using iterations to copy whole data in 
> collections. The iterations can just replace by just Colletions.addAll and 
> Arrays.copyOf.



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


[jira] [Updated] (HBASE-20528) Revise collections copying from iteration to built-in function

2018-07-27 Thread Hua-Yi Ho (JIRA)


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

Hua-Yi Ho updated HBASE-20528:
--
Attachment: 0001-HBASE-20528.v0.patch

> Revise collections copying from iteration to built-in function
> --
>
> Key: HBASE-20528
> URL: https://issues.apache.org/jira/browse/HBASE-20528
> Project: HBase
>  Issue Type: Improvement
>Affects Versions: 3.0.0
>Reporter: Hua-Yi Ho
>Assignee: Hua-Yi Ho
>Priority: Minor
> Fix For: 3.0.0
>
> Attachments: 0001-HBASE-20528.v0.patch
>
>
> Some collection codes in file
> StochasticLoadBalancer.java, AbstractHBaseTool.java, HFileInputFormat.java, 
> Result.java, and WalPlayer.java, using iterations to copy whole data in 
> collections. The iterations can just replace by just Colletions.addAll and 
> Arrays.copyOf.



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


[jira] [Updated] (HBASE-20528) Revise collections copying from iteration to built-in function

2018-07-27 Thread Hua-Yi Ho (JIRA)


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

Hua-Yi Ho updated HBASE-20528:
--
Attachment: (was: 
0001-HBASE-20528-Revise-collections-copying-from-iteratio.patch)

> Revise collections copying from iteration to built-in function
> --
>
> Key: HBASE-20528
> URL: https://issues.apache.org/jira/browse/HBASE-20528
> Project: HBase
>  Issue Type: Improvement
>Affects Versions: 3.0.0
>Reporter: Hua-Yi Ho
>Assignee: Hua-Yi Ho
>Priority: Minor
> Fix For: 3.0.0
>
>
> Some collection codes in file
> StochasticLoadBalancer.java, AbstractHBaseTool.java, HFileInputFormat.java, 
> Result.java, and WalPlayer.java, using iterations to copy whole data in 
> collections. The iterations can just replace by just Colletions.addAll and 
> Arrays.copyOf.



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


[jira] [Updated] (HBASE-20528) Revise collections copying from iteration to built-in function

2018-07-27 Thread Hua-Yi Ho (JIRA)


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

Hua-Yi Ho updated HBASE-20528:
--
Attachment: 0001-HBASE-20528-Revise-collections-copying-from-iteratio.patch

> Revise collections copying from iteration to built-in function
> --
>
> Key: HBASE-20528
> URL: https://issues.apache.org/jira/browse/HBASE-20528
> Project: HBase
>  Issue Type: Improvement
>Affects Versions: 3.0.0
>Reporter: Hua-Yi Ho
>Assignee: Hua-Yi Ho
>Priority: Minor
> Fix For: 3.0.0
>
> Attachments: 
> 0001-HBASE-20528-Revise-collections-copying-from-iteratio.patch
>
>
> Some collection codes in file
> StochasticLoadBalancer.java, AbstractHBaseTool.java, HFileInputFormat.java, 
> Result.java, and WalPlayer.java, using iterations to copy whole data in 
> collections. The iterations can just replace by just Colletions.addAll and 
> Arrays.copyOf.



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


[jira] [Updated] (HBASE-20528) Revise collections copying from iteration to built-in function

2018-07-27 Thread Hua-Yi Ho (JIRA)


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

Hua-Yi Ho updated HBASE-20528:
--
Attachment: (was: 
0001-Revise-collections-copying-to-built-in-function.patch)

> Revise collections copying from iteration to built-in function
> --
>
> Key: HBASE-20528
> URL: https://issues.apache.org/jira/browse/HBASE-20528
> Project: HBase
>  Issue Type: Improvement
>Affects Versions: 3.0.0
>Reporter: Hua-Yi Ho
>Assignee: Hua-Yi Ho
>Priority: Minor
> Fix For: 3.0.0
>
>
> Some collection codes in file
> StochasticLoadBalancer.java, AbstractHBaseTool.java, HFileInputFormat.java, 
> Result.java, and WalPlayer.java, using iterations to copy whole data in 
> collections. The iterations can just replace by just Colletions.addAll and 
> Arrays.copyOf.



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


[jira] [Updated] (HBASE-20528) Revise collections copying from iteration to built-in function

2018-05-04 Thread Hua-Yi Ho (JIRA)

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

Hua-Yi Ho updated HBASE-20528:
--
Fix Version/s: 3.0.0
   Attachment: 0001-Revise-collections-copying-to-built-in-function.patch
   Status: Patch Available  (was: Open)

> Revise collections copying from iteration to built-in function
> --
>
> Key: HBASE-20528
> URL: https://issues.apache.org/jira/browse/HBASE-20528
> Project: HBase
>  Issue Type: Improvement
>Affects Versions: 3.0.0
>Reporter: Hua-Yi Ho
>Assignee: Hua-Yi Ho
>Priority: Minor
> Fix For: 3.0.0
>
> Attachments: 
> 0001-Revise-collections-copying-to-built-in-function.patch
>
>
> Some collection codes in file
> StochasticLoadBalancer.java, AbstractHBaseTool.java, HFileInputFormat.java, 
> Result.java, and WalPlayer.java, using iterations to copy whole data in 
> collections. The iterations can just replace by just Colletions.addAll and 
> Arrays.copyOf.



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


[jira] [Commented] (HBASE-20528) Revise collections copying from iteration to built-in function

2018-05-03 Thread Hua-Yi Ho (JIRA)

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

Hua-Yi Ho commented on HBASE-20528:
---

Yes. I'd like to work on this issue. Thank you.
 

> Revise collections copying from iteration to built-in function
> --
>
> Key: HBASE-20528
> URL: https://issues.apache.org/jira/browse/HBASE-20528
> Project: HBase
>  Issue Type: Improvement
>Affects Versions: 3.0.0
>Reporter: Hua-Yi Ho
>Priority: Minor
>
> Some collection codes in file
> StochasticLoadBalancer.java, AbstractHBaseTool.java, HFileInputFormat.java, 
> Result.java, and WalPlayer.java, using iterations to copy whole data in 
> collections. The iterations can just replace by just Colletions.addAll and 
> Arrays.copyOf.



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


[jira] [Updated] (HBASE-20528) Revise collections copying from iteration to built-in function

2018-05-03 Thread Hua-Yi Ho (JIRA)

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

Hua-Yi Ho updated HBASE-20528:
--
Affects Version/s: 3.0.0

> Revise collections copying from iteration to built-in function
> --
>
> Key: HBASE-20528
> URL: https://issues.apache.org/jira/browse/HBASE-20528
> Project: HBase
>  Issue Type: Improvement
>Affects Versions: 3.0.0
>Reporter: Hua-Yi Ho
>Priority: Minor
>
> Some collection codes in file
> StochasticLoadBalancer.java, AbstractHBaseTool.java, HFileInputFormat.java, 
> Result.java, and WalPlayer.java, using iterations to copy whole data in 
> collections. The iterations can just replace by just Colletions.addAll and 
> Arrays.copyOf.



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


[jira] [Created] (HBASE-20528) Revise collections copying from iteration to built-in function

2018-05-03 Thread Hua-Yi Ho (JIRA)
Hua-Yi Ho created HBASE-20528:
-

 Summary: Revise collections copying from iteration to built-in 
function
 Key: HBASE-20528
 URL: https://issues.apache.org/jira/browse/HBASE-20528
 Project: HBase
  Issue Type: Improvement
Reporter: Hua-Yi Ho


Some collection codes in file
StochasticLoadBalancer.java, AbstractHBaseTool.java, HFileInputFormat.java, 
Result.java, and WalPlayer.java, using iterations to copy whole data in 
collections. The iterations can just replace by just Colletions.addAll and 
Arrays.copyOf.



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