[jira] [Commented] (HBASE-17603) Rest api for scan should return 404 when table not exists

2017-02-08 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15858948#comment-15858948 ] Duo Zhang commented on HBASE-17603: --- And IMO the patch is not acceptable. You should not call

[jira] [Updated] (HBASE-17608) Add suspend support for RawScanResultConsumer

2017-02-08 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang updated HBASE-17608: -- Attachment: HBASE-17608-v1.patch Fix findbugs and javadoc issues. Add missing annotations to newly

[jira] [Updated] (HBASE-17608) Add suspend support for RawScanResultConsumer

2017-02-08 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang updated HBASE-17608: -- Attachment: (was: HBASE-17608-v1.patch) > Add suspend support for RawScanResultConsumer >

[jira] [Commented] (HBASE-17603) Rest api for scan should return 404 when table not exists

2017-02-08 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15859037#comment-15859037 ] Duo Zhang commented on HBASE-17603: --- My concern is, even without HBASE-17508, what if we delete the

[jira] [Updated] (HBASE-17608) Add suspend support for RawScanResultConsumer

2017-02-08 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang updated HBASE-17608: -- Description: Now for the AsyncResultScanner, we can only close the scanner if we reach the cache size

[jira] [Commented] (HBASE-17608) Add suspend support for RawScanResultConsumer

2017-02-08 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15859064#comment-15859064 ] Duo Zhang commented on HBASE-17608: --- Done sir. The problem is even if we bring the mvcc read point

[jira] [Updated] (HBASE-17599) Use mayHaveMoreCellsInRow instead of isPartial

2017-02-08 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang updated HBASE-17599: -- Description: For now if we set scan.allowPartial(true), the partial result returned will have the

[jira] [Created] (HBASE-17584) Expose ScanMetrics with ResultScanner rather than Scan

2017-02-02 Thread Duo Zhang (JIRA)
Duo Zhang created HBASE-17584: - Summary: Expose ScanMetrics with ResultScanner rather than Scan Key: HBASE-17584 URL: https://issues.apache.org/jira/browse/HBASE-17584 Project: HBase Issue Type:

[jira] [Commented] (HBASE-17584) Expose ScanMetrics with ResultScanner rather than Scan

2017-02-02 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15849915#comment-15849915 ] Duo Zhang commented on HBASE-17584: --- [~stack] FYI. When reading the code, I found that an important

[jira] [Created] (HBASE-17583) Add inclusive/exclusive support for startRow and endRow of scan for sync client

2017-02-02 Thread Duo Zhang (JIRA)
Duo Zhang created HBASE-17583: - Summary: Add inclusive/exclusive support for startRow and endRow of scan for sync client Key: HBASE-17583 URL: https://issues.apache.org/jira/browse/HBASE-17583 Project:

[jira] [Updated] (HBASE-17508) Unify the implementation of small scan and regular scan for sync client

2017-02-02 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang updated HBASE-17508: -- Attachment: HBASE-17508-v5.patch Fix TestMobRestoreSnapshotFromClient. > Unify the implementation of

[jira] [Updated] (HBASE-17508) Unify the implementation of small scan and regular scan for sync client

2017-02-02 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang updated HBASE-17508: -- Issue Type: Sub-task (was: Task) Parent: HBASE-17143 > Unify the implementation of small scan

[jira] [Updated] (HBASE-17583) Add inclusive/exclusive support for startRow and endRow of scan for sync client

2017-02-05 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang updated HBASE-17583: -- Attachment: HBASE-17583.patch > Add inclusive/exclusive support for startRow and endRow of scan for

[jira] [Updated] (HBASE-17583) Add inclusive/exclusive support for startRow and endRow of scan for sync client

2017-02-05 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang updated HBASE-17583: -- Assignee: Duo Zhang Status: Patch Available (was: Open) > Add inclusive/exclusive support for

[jira] [Commented] (HBASE-17599) Use mayHaveMoreCellsInRow instead of isPartial

2017-02-07 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15857220#comment-15857220 ] Duo Zhang commented on HBASE-17599: --- Any other concerns? Thanks. > Use mayHaveMoreCellsInRow instead

[jira] [Updated] (HBASE-17608) Add suspend support for RawScanResultConsumer

2017-02-08 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang updated HBASE-17608: -- Attachment: HBASE-17608.patch > Add suspend support for RawScanResultConsumer >

[jira] [Updated] (HBASE-17608) Add suspend support for RawScanResultConsumer

2017-02-08 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang updated HBASE-17608: -- Assignee: Duo Zhang Status: Patch Available (was: Open) > Add suspend support for

[jira] [Commented] (HBASE-17608) Add suspend support for RawScanResultConsumer

2017-02-08 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15857751#comment-15857751 ] Duo Zhang commented on HBASE-17608: --- [~stack] PTAL sir. I think this is the last necessary feature for

[jira] [Commented] (HBASE-17583) Add inclusive/exclusive support for startRow and endRow of scan for sync client

2017-02-08 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15857925#comment-15857925 ] Duo Zhang commented on HBASE-17583: --- Too many concurrent issues... I almost forget this one... I've

[jira] [Updated] (HBASE-17603) Rest api for scan should return 404 when table not exists

2017-02-08 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17603?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang updated HBASE-17603: -- Summary: Rest api for scan should return 404 when table not exists (was:

[jira] [Updated] (HBASE-17603) Rest api for scan should return 404 when table not exists

2017-02-08 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17603?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang updated HBASE-17603: -- Affects Version/s: 2.0.0 Priority: Blocker (was: Major) Fix Version/s: 1.4.0

[jira] [Resolved] (HBASE-17607) Rest api for scan should return 404 when table not exists

2017-02-08 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang resolved HBASE-17607. --- Resolution: Duplicate Duplicated by HBASE-17603. > Rest api for scan should return 404 when table

[jira] [Updated] (HBASE-17508) Unify the implementation of small scan and regular scan for sync client

2017-02-04 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang updated HBASE-17508: -- Attachment: HBASE-17508-branch-1-v1.patch Fix failing UTs. > Unify the implementation of small scan

[jira] [Commented] (HBASE-17511) Implement enable/disable table methods

2017-02-04 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15852758#comment-15852758 ] Duo Zhang commented on HBASE-17511: --- LGTM. +1. > Implement enable/disable table methods >

[jira] [Updated] (HBASE-17508) Unify the implementation of small scan and regular scan for sync client

2017-02-04 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang updated HBASE-17508: -- Attachment: HBASE-17508-v7.patch Fix a bug which is found when prepare the patch for branch-1. When

[jira] [Updated] (HBASE-17508) Unify the implementation of small scan and regular scan for sync client

2017-02-03 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang updated HBASE-17508: -- Attachment: HBASE-17508-branch-1.patch > Unify the implementation of small scan and regular scan for

[jira] [Updated] (HBASE-17583) Add inclusive/exclusive support for startRow and endRow of scan for sync client

2017-02-05 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang updated HBASE-17583: -- Attachment: HBASE-17583-v1.patch Fix the failing UTs. > Add inclusive/exclusive support for startRow

[jira] [Commented] (HBASE-17596) Implement add/delete/modify column family methods

2017-02-05 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15853447#comment-15853447 ] Duo Zhang commented on HBASE-17596: --- +1. Let's wait for the pre commit job. > Implement

[jira] [Created] (HBASE-17599) Also set the partial flag of Result to true if we reach the batch limit

2017-02-05 Thread Duo Zhang (JIRA)
Duo Zhang created HBASE-17599: - Summary: Also set the partial flag of Result to true if we reach the batch limit Key: HBASE-17599 URL: https://issues.apache.org/jira/browse/HBASE-17599 Project: HBase

[jira] [Updated] (HBASE-17599) Also set the partial flag of Result to true if we reach the batch limit

2017-02-05 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang updated HBASE-17599: -- Attachment: HBASE-17599.patch Let's see the pre commit result. > Also set the partial flag of Result

[jira] [Commented] (HBASE-17599) Also set the partial flag of Result to true if we reach the batch limit

2017-02-06 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15853719#comment-15853719 ] Duo Zhang commented on HBASE-17599: --- So here we need two 'partial' flags? One is to indicate that this

[jira] [Commented] (HBASE-17599) Also set the partial flag of Result to true if we reach the batch limit

2017-02-06 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15853722#comment-15853722 ] Duo Zhang commented on HBASE-17599: --- {quote} Does this issue want to set flag in proto of response

[jira] [Commented] (HBASE-17583) Add inclusive/exclusive support for startRow and endRow of scan for sync client

2017-02-05 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15853547#comment-15853547 ] Duo Zhang commented on HBASE-17583: --- {quote} Can you fill out the description of the JIRA ? {quote}

[jira] [Updated] (HBASE-17583) Add inclusive/exclusive support for startRow and endRow of scan for sync client

2017-02-05 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang updated HBASE-17583: -- Description: Implement the same feature of HBASE-17320 for sync client. > Add inclusive/exclusive

[jira] [Commented] (HBASE-17599) Also set the partial flag of Result to true if we reach the batch limit

2017-02-06 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15853743#comment-15853743 ] Duo Zhang commented on HBASE-17599: --- May introduce a new flag? Maybe 'hasLastCell'? The word 'partial'

[jira] [Commented] (HBASE-17599) Also set the partial flag of Result to true if we reach the batch limit

2017-02-06 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15853780#comment-15853780 ] Duo Zhang commented on HBASE-17599: --- What about 'mayHaveMoreCellsInRow'? > Also set the partial flag

[jira] [Updated] (HBASE-17407) Correct update of maxFlushedSeqId in HRegion

2017-01-22 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang updated HBASE-17407: -- Affects Version/s: 2.0.0 Fix Version/s: 2.0.0 Component/s: wal > Correct update of

[jira] [Updated] (HBASE-17407) Correct update of maxFlushedSeqId in HRegion

2017-01-22 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang updated HBASE-17407: -- Resolution: Fixed Hadoop Flags: Reviewed Status: Resolved (was: Patch Available)

[jira] [Commented] (HBASE-17471) Region Seqid will be out of order in WAL if using mvccPreAssign

2017-01-22 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15833840#comment-15833840 ] Duo Zhang commented on HBASE-17471: --- {quote} I think we need only synchronize the acquirement of

[jira] [Updated] (HBASE-17471) Region Seqid will be out of order in WAL if using mvccPreAssign

2017-01-22 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang updated HBASE-17471: -- Attachment: HBASE-17471-duo.patch Try a pre commit check. Remove pre assign related code.

[jira] [Updated] (HBASE-17471) Region Seqid will be out of order in WAL if using mvccPreAssign

2017-01-22 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang updated HBASE-17471: -- Attachment: HBASE-17471-duo-v1.patch Fix TestWALActionsListener. > Region Seqid will be out of order

[jira] [Commented] (HBASE-17407) Correct update of maxFlushedSeqId in HRegion

2017-01-22 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15833788#comment-15833788 ] Duo Zhang commented on HBASE-17407: --- Will commit shortly. > Correct update of maxFlushedSeqId in

[jira] [Commented] (HBASE-17471) Region Seqid will be out of order in WAL if using mvccPreAssign

2017-01-22 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15833816#comment-15833816 ] Duo Zhang commented on HBASE-17471: --- I still do not think we need a configurable preAssign... We can

[jira] [Updated] (HBASE-17471) Region Seqid will be out of order in WAL if using mvccPreAssign

2017-01-23 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang updated HBASE-17471: -- Attachment: HBASE-17471-duo-v2.patch Fix failed UTs except

[jira] [Commented] (HBASE-17471) Region Seqid will be out of order in WAL if using mvccPreAssign

2017-01-23 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15834181#comment-15834181 ] Duo Zhang commented on HBASE-17471: --- [~allan163] I've already modified the UTs to always construct

[jira] [Commented] (HBASE-17367) Make HTable#getBufferedMutator thread safe

2017-01-23 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15834187#comment-15834187 ] Duo Zhang commented on HBASE-17367: --- +1. > Make HTable#getBufferedMutator thread safe >

[jira] [Commented] (HBASE-17471) Region Seqid will be out of order in WAL if using mvccPreAssign

2017-01-23 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15834030#comment-15834030 ] Duo Zhang commented on HBASE-17471: --- Most UTs are failed because of NPE which is caused by lack of

[jira] [Commented] (HBASE-17471) Region Seqid will be out of order in WAL if using mvccPreAssign

2017-01-23 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15834047#comment-15834047 ] Duo Zhang commented on HBASE-17471: --- {quote} The main different is that, I think we don't have to

[jira] [Updated] (HBASE-17489) ClientScanner may send a next request to a RegionScanner which has been exhausted

2017-01-21 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang updated HBASE-17489: -- Attachment: (was: HBASE-17489-v5.patch) > ClientScanner may send a next request to a RegionScanner

[jira] [Commented] (HBASE-17497) Add first async MetaTableAccessor impl and Implement tableExists method

2017-01-21 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15832973#comment-15832973 ] Duo Zhang commented on HBASE-17497: --- Mind explaining why returns a CompletableFuture instead of

[jira] [Commented] (HBASE-17489) ClientScanner may send a next request to a RegionScanner which has been exhausted

2017-01-21 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15832976#comment-15832976 ] Duo Zhang commented on HBASE-17489: --- {quote} The patch makes valiant effort and trying to clean up

[jira] [Updated] (HBASE-17489) ClientScanner may send a next request to a RegionScanner which has been exhausted

2017-01-21 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang updated HBASE-17489: -- Attachment: HBASE-17489-v5.patch > ClientScanner may send a next request to a RegionScanner which has

[jira] [Updated] (HBASE-17489) ClientScanner may send a next request to a RegionScanner which has been exhausted

2017-01-21 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang updated HBASE-17489: -- Attachment: HBASE-17489-v5.patch Address comments on rb. > ClientScanner may send a next request to a

[jira] [Commented] (HBASE-17471) Region Seqid will be out of order in WAL if using mvccPreAssign

2017-01-23 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15834205#comment-15834205 ] Duo Zhang commented on HBASE-17471: --- {quote} some unit tests haven't complete them after append

[jira] [Commented] (HBASE-17045) Unify the implementation of small scan and regular scan

2017-01-24 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15837004#comment-15837004 ] Duo Zhang commented on HBASE-17045: --- OK. Let me commit this and open a new issue to discuss the pread

[jira] [Commented] (HBASE-17346) Add coprocessor service support

2017-01-25 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15837375#comment-15837375 ] Duo Zhang commented on HBASE-17346: --- Oh I missed the comment... {quote} Is the above order of

[jira] [Commented] (HBASE-17346) Add coprocessor service support

2017-01-25 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15837409#comment-15837409 ] Duo Zhang commented on HBASE-17346: --- Seems we haven't run the new UTs added in hbase-endpoint module?

[jira] [Commented] (HBASE-17471) Region Seqid will be out of order in WAL if using mvccPreAssign

2017-01-24 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15837226#comment-15837226 ] Duo Zhang commented on HBASE-17471: --- I think the problem is the parameter name 'inMemstore'. If the

[jira] [Commented] (HBASE-17471) Region Seqid will be out of order in WAL if using mvccPreAssign

2017-01-24 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15837237#comment-15837237 ] Duo Zhang commented on HBASE-17471: --- {quote} If not 'inMemstore', mvcc is just used for seqid assign,

[jira] [Updated] (HBASE-17346) Add coprocessor service support

2017-01-25 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang updated HBASE-17346: -- Attachment: HBASE-17346-v2.patch Implement AsyncAggregationClient. > Add coprocessor service support

[jira] [Commented] (HBASE-17545) 'mvn test' does not run all the tests in hbase-endpoint

2017-01-26 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15839678#comment-15839678 ] Duo Zhang commented on HBASE-17545: --- [~stack]. FYI. > 'mvn test' does not run all the tests in

[jira] [Updated] (HBASE-17545) 'mvn test' does not run all the tests in hbase-endpoint

2017-01-26 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang updated HBASE-17545: -- Attachment: HBASE-17545.patch > 'mvn test' does not run all the tests in hbase-endpoint >

[jira] [Updated] (HBASE-17545) 'mvn test' does not run all the tests in hbase-endpoint

2017-01-26 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang updated HBASE-17545: -- Status: Patch Available (was: Open) > 'mvn test' does not run all the tests in hbase-endpoint >

[jira] [Commented] (HBASE-17346) Add coprocessor service support

2017-01-26 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15839650#comment-15839650 ] Duo Zhang commented on HBASE-17346: --- {quote} Is it a ClientCoprocessorRpcController ? There is nothing

[jira] [Created] (HBASE-17545) 'mvn test' does not run all the tests in hbase-endpoint

2017-01-26 Thread Duo Zhang (JIRA)
Duo Zhang created HBASE-17545: - Summary: 'mvn test' does not run all the tests in hbase-endpoint Key: HBASE-17545 URL: https://issues.apache.org/jira/browse/HBASE-17545 Project: HBase Issue

[jira] [Commented] (HBASE-17346) Add coprocessor service support

2017-01-27 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15843937#comment-15843937 ] Duo Zhang commented on HBASE-17346: --- {quote} Do s/done/callback/g I'd say. 'done' I don't get when I

[jira] [Updated] (HBASE-17346) Add coprocessor service support

2017-01-27 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang updated HBASE-17346: -- Attachment: HBASE-17346-v3.patch Add javadoc for newly added mehods and classes. > Add coprocessor

[jira] [Commented] (HBASE-17346) Add coprocessor service support

2017-01-27 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15843908#comment-15843908 ] Duo Zhang commented on HBASE-17346: --- The failed UT also fails on master. > Add coprocessor service

[jira] [Commented] (HBASE-17346) Add coprocessor service support

2017-01-27 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15843808#comment-15843808 ] Duo Zhang commented on HBASE-17346: --- [~stack] I've add (a lot of) comments for the new methods and

[jira] [Commented] (HBASE-17346) Add coprocessor service support

2017-01-25 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15837753#comment-15837753 ] Duo Zhang commented on HBASE-17346: --- We have this in hbase-endpoint/pom.xml {code}

[jira] [Created] (HBASE-17505) Do not issue close scanner request if RS tells us there is no more results for this region

2017-01-21 Thread Duo Zhang (JIRA)
Duo Zhang created HBASE-17505: - Summary: Do not issue close scanner request if RS tells us there is no more results for this region Key: HBASE-17505 URL: https://issues.apache.org/jira/browse/HBASE-17505

[jira] [Commented] (HBASE-17497) Add first async MetaTableAccessor impl and Implement tableExists method

2017-01-21 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15833227#comment-15833227 ] Duo Zhang commented on HBASE-17497: --- I think we can just return a RawAsyncTable here. And as

[jira] [Updated] (HBASE-17489) ClientScanner may send a next request to a RegionScanner which has been exhausted

2017-01-21 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang updated HBASE-17489: -- Attachment: HBASE-17489-v6.patch Fix TestClientScanner. > ClientScanner may send a next request to a

[jira] [Commented] (HBASE-17489) ClientScanner may send a next request to a RegionScanner which has been exhausted

2017-01-21 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15833232#comment-15833232 ] Duo Zhang commented on HBASE-17489: --- Filed HBASE-17505 for the follow on work. Will commit later if no

[jira] [Resolved] (HBASE-17497) Add first async MetaTableAccessor impl and Implement tableExists method

2017-01-21 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang resolved HBASE-17497. --- Resolution: Fixed The problem can be addressed in follow on issues. > Add first async

[jira] [Updated] (HBASE-17489) ClientScanner may send a next request to a RegionScanner which has been exhausted

2017-01-21 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang updated HBASE-17489: -- Attachment: HBASE-17489-branch-1.patch Patch for branch-1. > ClientScanner may send a next request to

[jira] [Commented] (HBASE-17489) ClientScanner may send a next request to a RegionScanner which has been exhausted

2017-01-22 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15833361#comment-15833361 ] Duo Zhang commented on HBASE-17489: --- The 'new' javac issue is exactly the 'fixed' one... >

[jira] [Commented] (HBASE-17489) ClientScanner may send a next request to a RegionScanner which has been exhausted

2017-01-22 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15833363#comment-15833363 ] Duo Zhang commented on HBASE-17489: --- And for branch-1.3, {{TestMetaWithReplicas}} fails without the

[jira] [Updated] (HBASE-17489) ClientScanner may send a next request to a RegionScanner which has been exhausted

2017-01-21 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang updated HBASE-17489: -- Attachment: HBASE-17489-branch-1.3.patch Patch for 1.3. > ClientScanner may send a next request to a

[jira] [Updated] (HBASE-17045) Unify the implementation of small scan and regular scan

2017-01-22 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang updated HBASE-17045: -- Attachment: (was: HBASE-17405-v6.patch) > Unify the implementation of small scan and regular scan

[jira] [Commented] (HBASE-17507) Add document for the mvcc preassign feature introduced in HBASE-16698

2017-01-22 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15833421#comment-15833421 ] Duo Zhang commented on HBASE-17507: --- Consider WAL, what if the order of mvcc differs from the order of

[jira] [Commented] (HBASE-17507) Add document for the mvcc preassign feature introduced in HBASE-16698

2017-01-22 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15833438#comment-15833438 ] Duo Zhang commented on HBASE-17507: --- {quote} The preAssignMvccLock is per-region level while w/o mvcc

[jira] [Updated] (HBASE-17489) ClientScanner may send a next request to a RegionScanner which has been exhausted

2017-01-22 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang updated HBASE-17489: -- Resolution: Fixed Hadoop Flags: Reviewed Status: Resolved (was: Patch Available)

[jira] [Updated] (HBASE-17045) Unify the implementation of small scan and regular scan

2017-01-22 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang updated HBASE-17045: -- Attachment: HBASE-17405-v6.patch Rebase after HBASE-17489. > Unify the implementation of small scan

[jira] [Updated] (HBASE-17045) Unify the implementation of small scan and regular scan

2017-01-22 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang updated HBASE-17045: -- Attachment: HBASE-17405-v6.patch With HBASE-17489 we do not need to modify

[jira] [Commented] (HBASE-17507) Add document for the mvcc preassign feature introduced in HBASE-16698

2017-01-22 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15833403#comment-15833403 ] Duo Zhang commented on HBASE-17507: --- Can we always do preassign? I do not think the document can help

[jira] [Commented] (HBASE-17507) Add document for the mvcc preassign feature introduced in HBASE-16698

2017-01-22 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15833454#comment-15833454 ] Duo Zhang commented on HBASE-17507: --- And I think we already have a lock in

[jira] [Updated] (HBASE-17045) Unify the implementation of small scan and regular scan

2017-01-22 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang updated HBASE-17045: -- Attachment: HBASE-17045-v7.patch Add annotation for Scan.ReadType. > Unify the implementation of

[jira] [Updated] (HBASE-17407) Correct update of maxFlushedSeqId in HRegion

2017-01-22 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang updated HBASE-17407: -- Assignee: Eshcar Hillel > Correct update of maxFlushedSeqId in HRegion >

[jira] [Commented] (HBASE-17552) Update developer section in hbase book

2017-01-27 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15842727#comment-15842727 ] Duo Zhang commented on HBASE-17552: --- {quote} Include the Jira issue id in the commit message, along

[jira] [Commented] (HBASE-16785) We are not running all tests

2017-01-26 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-16785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15840708#comment-15840708 ] Duo Zhang commented on HBASE-16785: --- At least It works for hbase-endpoint. Without the removal we only

[jira] [Commented] (HBASE-17045) Unify the implementation of small scan and regular scan

2017-01-24 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15836840#comment-15836840 ] Duo Zhang commented on HBASE-17045: --- Any other concerns sir [~stack]? Thanks. > Unify the

[jira] [Created] (HBASE-17528) Remove the Scan.ReadType flag introduced in HBASE-17045

2017-01-24 Thread Duo Zhang (JIRA)
Duo Zhang created HBASE-17528: - Summary: Remove the Scan.ReadType flag introduced in HBASE-17045 Key: HBASE-17528 URL: https://issues.apache.org/jira/browse/HBASE-17528 Project: HBase Issue

[jira] [Updated] (HBASE-17045) Unify the implementation of small scan and regular scan

2017-01-24 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang updated HBASE-17045: -- Resolution: Fixed Hadoop Flags: Reviewed Status: Resolved (was: Patch Available)

[jira] [Commented] (HBASE-17045) Unify the implementation of small scan and regular scan

2017-01-24 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15837029#comment-15837029 ] Duo Zhang commented on HBASE-17045: --- Filed HBASE-17528 for the follow-on work. > Unify the

[jira] [Commented] (HBASE-16990) Shell tool to dump table and namespace privileges

2017-02-21 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-16990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15875745#comment-15875745 ] Duo Zhang commented on HBASE-16990: --- I think a better way is to retain the ACLs along with snapshot,

[jira] [Commented] (HBASE-16990) Shell tool to dump table and namespace privileges

2017-02-21 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-16990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15875916#comment-15875916 ] Duo Zhang commented on HBASE-16990: --- Sounds reasonable. Is it possible to add a test for it? Thanks.

[jira] [Updated] (HBASE-17069) RegionServer writes invalid META entries for split daughters in some circumstances

2017-02-16 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang updated HBASE-17069: -- Resolution: Fixed Hadoop Flags: Reviewed Status: Resolved (was: Patch Available)

[jira] [Updated] (HBASE-17069) RegionServer writes invalid META entries for split daughters in some circumstances

2017-02-15 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Duo Zhang updated HBASE-17069: -- Affects Version/s: 2.0.0 Fix Version/s: 2.0.0 > RegionServer writes invalid META entries for

[jira] [Commented] (HBASE-17069) RegionServer writes invalid META entries for split daughters in some circumstances

2017-02-15 Thread Duo Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-17069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15869323#comment-15869323 ] Duo Zhang commented on HBASE-17069: --- Will commit shortly if no objections. > RegionServer writes

<    6   7   8   9   10   11   12   13   14   15   >