[jira] [Commented] (HBASE-14203) remove duplicate code getTableDescriptor in HTable

2015-08-14 Thread Enis Soztutar (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-14203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14696905#comment-14696905
 ] 

Enis Soztutar commented on HBASE-14203:
---

Thanks [~chenheng], patch looks good. Two more suggestions: 
- lets make this package-protected. We do not want to expose it to users: 
{code}
+  public static HTableDescriptor getTableDescriptor(final TableName tableName,
{code}
 - It is not you, but we had recently changed the meta table descriptor so that 
it is not hard coded anymore in HBaseAdmin. Let's also not return the hard 
coded one in HTable and be consistent with the HBaseAdmin one: 
{code}
+if (tableName != null  tableName.equals(TableName.META_TABLE_NAME)) {
   return HTableDescriptor.META_TABLEDESC;
 }
{code}

 remove duplicate code getTableDescriptor in HTable
 --

 Key: HBASE-14203
 URL: https://issues.apache.org/jira/browse/HBASE-14203
 Project: HBase
  Issue Type: Improvement
Reporter: Heng Chen
Priority: Trivial
 Attachments: HBASE-14203.patch, HBASE-14203_v2.patch, 
 HBASE-14203_v3.patch, HBASE-14203_v4.patch


 As TODO in comment said, 
 {{HTable.getTableDescriptor}} is same as {{HAdmin.getTableDescriptor}}. 
 remove the duplicate code.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-13708) PE - Add option to specify the range

2015-08-14 Thread Matt Warhaftig (JIRA)

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

Matt Warhaftig updated HBASE-13708:
---
Attachment: PE_mapred_output.txt
PE_nomapred_output.txt

Attached 'PE_nomapred_output.txt' and 'PE_mapred_output.txt' are output files 
of Performance Evaluation random read runs for map reduce and non-map reduce 
with --rowRangeSize=100  --rows=10.

Added extra logging to show that for random read's gets, even though rows  10, 
it will randomly read rows between 0 and 100.  Prior to patch would only read 
rows between 0 and 10.

 PE - Add option to specify the range
 

 Key: HBASE-13708
 URL: https://issues.apache.org/jira/browse/HBASE-13708
 Project: HBase
  Issue Type: Bug
Affects Versions: 1.0.1
Reporter: Jean-Marc Spaggiari
Assignee: Matt Warhaftig
Priority: Minor
  Labels: beginner
 Fix For: 2.0.0, 1.3.0

 Attachments: HBASE-13708-master_v1.patch, PE_mapred_output.txt, 
 PE_nomapred_output.txt, hbase-13708-v2.patch, hbase-13708-v2.patch


 When specifying --rows=YYY for randomReads in PE, it will read YYY rows but 
 only betweem 0 and YYY.
 We might want to read YYY rows randomly between 0 and ZZZ.
 YYY should only be the number of rows we want to ready. Not the high range.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-14223) Meta WALs are not cleared if meta region was closed and RS aborts

2015-08-14 Thread Enis Soztutar (JIRA)
Enis Soztutar created HBASE-14223:
-

 Summary: Meta WALs are not cleared if meta region was closed and 
RS aborts
 Key: HBASE-14223
 URL: https://issues.apache.org/jira/browse/HBASE-14223
 Project: HBase
  Issue Type: Bug
Reporter: Enis Soztutar
 Fix For: 2.0.0, 1.0.2, 1.2.0, 1.3.0, 1.1.3


When an RS opens meta, and later closes it, the WAL(FSHlog) is not closed. The 
last WAL file just sits there in the RS WAL directory. If RS stops gracefully, 
the WAL file for meta is deleted. Otherwise if RS aborts, WAL for meta is not 
cleaned. It is also not split (which is correct) since master determines that 
the RS no longer hosts meta at the time of RS abort. 

From a cluster after running ITBLL with CM, I see a lot of {{-splitting}} 
directories left uncleaned: 
{code}
[root@os-enis-dal-test-jun-4-7 cluster-os]# sudo -u hdfs hadoop fs -ls 
/apps/hbase/data/WALs
Found 31 items
drwxr-xr-x   - hbase hadoop  0 2015-06-05 01:14 
/apps/hbase/data/WALs/hregion-58203265
drwxr-xr-x   - hbase hadoop  0 2015-06-05 07:54 
/apps/hbase/data/WALs/os-enis-dal-test-jun-4-1.openstacklocal,16020,1433489308745-splitting
drwxr-xr-x   - hbase hadoop  0 2015-06-05 09:28 
/apps/hbase/data/WALs/os-enis-dal-test-jun-4-1.openstacklocal,16020,1433494382959-splitting
drwxr-xr-x   - hbase hadoop  0 2015-06-05 10:01 
/apps/hbase/data/WALs/os-enis-dal-test-jun-4-1.openstacklocal,16020,1433498252205-splitting
...
{code}

The directories contain WALs from meta: 
{code}
[root@os-enis-dal-test-jun-4-7 cluster-os]# sudo -u hdfs hadoop fs -ls 
/apps/hbase/data/WALs/os-enis-dal-test-jun-4-5.openstacklocal,16020,1433466904285-splitting
Found 2 items
-rw-r--r--   3 hbase hadoop 201608 2015-06-05 03:15 
/apps/hbase/data/WALs/os-enis-dal-test-jun-4-5.openstacklocal,16020,1433466904285-splitting/os-enis-dal-test-jun-4-5.openstacklocal%2C16020%2C1433466904285..meta.1433470511501.meta
-rw-r--r--   3 hbase hadoop  44420 2015-06-05 04:36 
/apps/hbase/data/WALs/os-enis-dal-test-jun-4-5.openstacklocal,16020,1433466904285-splitting/os-enis-dal-test-jun-4-5.openstacklocal%2C16020%2C1433466904285..meta.1433474111645.meta
{code}

The RS hosted the meta region for some time: 
{code}
2015-06-05 03:14:28,692 INFO  [PostOpenDeployTasks:1588230740] 
zookeeper.MetaTableLocator: Setting hbase:meta region location in ZooKeeper as 
os-enis-dal-test-jun-4-5.openstacklocal,16020,1433466904285
...
2015-06-05 03:15:17,302 INFO  [RS_CLOSE_META-os-enis-dal-test-jun-4-5:16020-0] 
regionserver.HRegion: Closed hbase:meta,,1.1588230740
{code}

In between, a WAL is created: 
{code}
2015-06-05 03:15:11,707 INFO  
[RS_OPEN_META-os-enis-dal-test-jun-4-5:16020-0-MetaLogRoller] wal.FSHLog: 
Rolled WAL 
/apps/hbase/data/WALs/os-enis-dal-test-jun-4-5.openstacklocal,16020,1433466904285/os-enis-dal-test-jun-4-5.openstacklocal%2C16020%2C1433466904285..meta.1433470511501.meta
 with entries=385, filesize=196.88 KB; new WAL 
/apps/hbase/data/WALs/os-enis-dal-test-jun-4-5.openstacklocal,16020,1433466904285/os-enis-dal-test-jun-4-5.openstacklocal%2C16020%2C1433466904285..meta.1433474111645.meta
{code}

When CM killed the region server later master did not see these WAL files: 
{code}
./hbase-hbase-master-os-enis-dal-test-jun-4-3.log:2015-06-05 03:36:46,075 INFO  
[MASTER_SERVER_OPERATIONS-os-enis-dal-test-jun-4-3:16000-0] 
master.SplitLogManager: started splitting 2 logs in 
[hdfs://os-enis-dal-test-jun-4-1.openstacklocal:8020/apps/hbase/data/WALs/os-enis-dal-test-jun-4-5.openstacklocal,16020,1433466904285-splitting]
 for [os-enis-dal-test-jun-4-5.openstacklocal,16020,1433466904285]
./hbase-hbase-master-os-enis-dal-test-jun-4-3.log:2015-06-05 03:36:47,300 INFO  
[main-EventThread] wal.WALSplitter: Archived processed log 
hdfs://os-enis-dal-test-jun-4-1.openstacklocal:8020/apps/hbase/data/WALs/os-enis-dal-test-jun-4-5.openstacklocal,16020,1433466904285-splitting/os-enis-dal-test-jun-4-5.openstacklocal%2C16020%2C1433466904285.default.1433475074436
 to 
hdfs://os-enis-dal-test-jun-4-1.openstacklocal:8020/apps/hbase/data/oldWALs/os-enis-dal-test-jun-4-5.openstacklocal%2C16020%2C1433466904285.default.1433475074436
./hbase-hbase-master-os-enis-dal-test-jun-4-3.log:2015-06-05 03:36:50,497 INFO  
[main-EventThread] wal.WALSplitter: Archived processed log 
hdfs://os-enis-dal-test-jun-4-1.openstacklocal:8020/apps/hbase/data/WALs/os-enis-dal-test-jun-4-5.openstacklocal,16020,1433466904285-splitting/os-enis-dal-test-jun-4-5.openstacklocal%2C16020%2C1433466904285.default.1433475175329
 to 
hdfs://os-enis-dal-test-jun-4-1.openstacklocal:8020/apps/hbase/data/oldWALs/os-enis-dal-test-jun-4-5.openstacklocal%2C16020%2C1433466904285.default.1433475175329
./hbase-hbase-master-os-enis-dal-test-jun-4-3.log:2015-06-05 03:36:50,507 WARN  
[MASTER_SERVER_OPERATIONS-os-enis-dal-test-jun-4-3:16000-0] 
master.SplitLogManager: returning success without actually 

[jira] [Commented] (HBASE-13708) PE - Add option to specify the range

2015-08-14 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-13708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14696917#comment-14696917
 ] 

Hadoop QA commented on HBASE-13708:
---

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12750496/PE_mapred_output.txt
  against master branch at commit f2a9dab30eb339c86222db47430f18f7abf405c2.
  ATTACHMENT ID: 12750496

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+0 tests included{color}.  The patch appears to be a 
documentation, build,
or dev-support patch that doesn't require tests.

{color:red}-1 patch{color}.  The patch command could not apply the patch.

Console output: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15100//console

This message is automatically generated.

 PE - Add option to specify the range
 

 Key: HBASE-13708
 URL: https://issues.apache.org/jira/browse/HBASE-13708
 Project: HBase
  Issue Type: Bug
Affects Versions: 1.0.1
Reporter: Jean-Marc Spaggiari
Assignee: Matt Warhaftig
Priority: Minor
  Labels: beginner
 Fix For: 2.0.0, 1.3.0

 Attachments: HBASE-13708-master_v1.patch, PE_mapred_output.txt, 
 PE_nomapred_output.txt, hbase-13708-v2.patch, hbase-13708-v2.patch


 When specifying --rows=YYY for randomReads in PE, it will read YYY rows but 
 only betweem 0 and YYY.
 We might want to read YYY rows randomly between 0 and ZZZ.
 YYY should only be the number of rows we want to ready. Not the high range.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-13966) Limit column width in table.jsp

2015-08-14 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-13966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14696531#comment-14696531
 ] 

Hadoop QA commented on HBASE-13966:
---

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12742681/hbase-13966-v1.patch
  against master branch at commit 4dd30ab019cfbf3691fd08f7941d33d8bbc37f05.
  ATTACHMENT ID: 12742681

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:red}-1 tests included{color}.  The patch doesn't appear to include 
any new or modified tests.
Please justify why no new tests are needed for this 
patch.
Also please list what manual steps were performed to 
verify this patch.

{color:green}+1 hadoop versions{color}. The patch compiles with all 
supported hadoop versions (2.4.0 2.4.1 2.5.0 2.5.1 2.5.2 2.6.0 2.7.0)

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 protoc{color}.  The applied patch does not increase the 
total number of protoc compiler warnings.

{color:red}-1 javadoc{color}.  The javadoc tool appears to have generated 1 
warning messages.

{color:green}+1 checkstyle{color}.  The applied patch does not increase the 
total number of checkstyle errors

{color:green}+1 findbugs{color}.  The patch does not introduce any  new 
Findbugs (version 2.0.3) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:red}-1 lineLengths{color}.  The patch introduces the following lines 
longer than 100:
+tableHeader = h2Table Regions/h2table class=\table 
table-striped\ style=\table-layout: fixed; word-wrap: break-word;\trth 
style=\width:22%\Name/ththRegion Server/thth 
style=\width:22%\Start Key/thth style=\width:22%\End 
Key/ththLocality/ththRequests/ththReplicaID/th/tr;
+tableHeader = h2Table Regions/h2table class=\table table-striped\ 
style=\table-layout: fixed; word-wrap: break-word;\trth 
style=\width:22%\Name/ththRegion Server/thth 
style=\width:22%\Start Key/thth style=\width:22%\End 
Key/ththLocality/ththRequests/th/tr;

  {color:green}+1 site{color}.  The mvn post-site goal succeeds with this patch.

{color:green}+1 core tests{color}.  The patch passed unit tests in .

Test results: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15094//testReport/
Release Findbugs (version 2.0.3)warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15094//artifact/patchprocess/newFindbugsWarnings.html
Checkstyle Errors: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15094//artifact/patchprocess/checkstyle-aggregate.html

  Javadoc warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15094//artifact/patchprocess/patchJavadocWarnings.txt
Console output: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15094//console

This message is automatically generated.

 Limit column width in table.jsp
 ---

 Key: HBASE-13966
 URL: https://issues.apache.org/jira/browse/HBASE-13966
 Project: HBase
  Issue Type: Bug
  Components: UI
Affects Versions: 1.1.0.1
Reporter: Jean-Marc Spaggiari
Assignee: Matt Warhaftig
Priority: Minor
  Labels: beginner
 Attachments: HBASE-13966_post.tiff, HBASE-13966_pre.tiff, 
 hbase-13966-v1.patch


 In table.jsp, for tables with very wide keys like URLs, the page can be very 
 wide. On my own cluster, this page is 8 screens wide, almost un-usable.
 Might be good to have a way to resize the columns, or wrap the long keys or 
 truncate them, or anything else. When we want to look at the last colums, 
 this is a big difficult.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-14144) Bloomfilter path to work with Byte buffered cells

2015-08-14 Thread ramkrishna.s.vasudevan (JIRA)

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

ramkrishna.s.vasudevan updated HBASE-14144:
---
Status: Open  (was: Patch Available)

 Bloomfilter path to work with Byte buffered cells
 -

 Key: HBASE-14144
 URL: https://issues.apache.org/jira/browse/HBASE-14144
 Project: HBase
  Issue Type: Sub-task
  Components: regionserver, Scanners
Reporter: ramkrishna.s.vasudevan
Assignee: ramkrishna.s.vasudevan
 Fix For: 2.0.0

 Attachments: HBASE-14144.patch, HBASE-14144_1.patch, 
 HBASE-14144_2.patch, HBASE-14144_3.patch, HBASE-14144_4.patch, 
 HBASE-14144_5.patch


 This JIRA is to check if there will be a need to make the bloom filters to 
 work with ByteBuffer cells. During POC this path created lot of duplicated 
 code but considering other refactorings done in this path  may lead to less 
 duplication. This JIRA is a placeholder.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-14222) Improve DrainBarrier

2015-08-14 Thread Hiroshi Ikeda (JIRA)

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

Hiroshi Ikeda updated HBASE-14222:
--
Status: Patch Available  (was: Open)

 Improve DrainBarrier
 

 Key: HBASE-14222
 URL: https://issues.apache.org/jira/browse/HBASE-14222
 Project: HBase
  Issue Type: Bug
  Components: util
Reporter: Hiroshi Ikeda
Assignee: Hiroshi Ikeda
Priority: Minor
 Attachments: HBASE-14222.patch


 1. {{DrainBarrier.stopAndDrainOps}} may wait forever if 
 {{DrainBarrier.endOp}} changes its state and calls {{Object.notifyAll}} just 
 before {{stopAndDrainOps}} enters the synchronized block to call 
 {{Object.wait}}. Moreover, {{Object.wait}} may wake up false-positively, and 
 {{stopAndDrainOps}} may break the block before outstanding operations are 
 complete.
 2. Some tests for {{DrainBarrier}} catch and ignore {{AssertionError}} 
 explicitly thrown JUnit's {{fail}} method.
 The implementation of {{DrainBarrier}} is a little complex, and I'll fix and 
 refactor it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-14144) Bloomfilter path to work with Byte buffered cells

2015-08-14 Thread ramkrishna.s.vasudevan (JIRA)

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

ramkrishna.s.vasudevan updated HBASE-14144:
---
Status: Patch Available  (was: Open)

 Bloomfilter path to work with Byte buffered cells
 -

 Key: HBASE-14144
 URL: https://issues.apache.org/jira/browse/HBASE-14144
 Project: HBase
  Issue Type: Sub-task
  Components: regionserver, Scanners
Reporter: ramkrishna.s.vasudevan
Assignee: ramkrishna.s.vasudevan
 Fix For: 2.0.0

 Attachments: HBASE-14144.patch, HBASE-14144_1.patch, 
 HBASE-14144_2.patch, HBASE-14144_3.patch, HBASE-14144_4.patch, 
 HBASE-14144_5.patch, HBASE-14144_6.patch


 This JIRA is to check if there will be a need to make the bloom filters to 
 work with ByteBuffer cells. During POC this path created lot of duplicated 
 code but considering other refactorings done in this path  may lead to less 
 duplication. This JIRA is a placeholder.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-14144) Bloomfilter path to work with Byte buffered cells

2015-08-14 Thread ramkrishna.s.vasudevan (JIRA)

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

ramkrishna.s.vasudevan updated HBASE-14144:
---
Attachment: HBASE-14144_6.patch

Renames the FakeCell and FakeBBCell to EmptyCell and EmptyByteBufferedCell. 
This is what I will commit.
[~anoopsamjohn]
You fine with this?

 Bloomfilter path to work with Byte buffered cells
 -

 Key: HBASE-14144
 URL: https://issues.apache.org/jira/browse/HBASE-14144
 Project: HBase
  Issue Type: Sub-task
  Components: regionserver, Scanners
Reporter: ramkrishna.s.vasudevan
Assignee: ramkrishna.s.vasudevan
 Fix For: 2.0.0

 Attachments: HBASE-14144.patch, HBASE-14144_1.patch, 
 HBASE-14144_2.patch, HBASE-14144_3.patch, HBASE-14144_4.patch, 
 HBASE-14144_5.patch, HBASE-14144_6.patch


 This JIRA is to check if there will be a need to make the bloom filters to 
 work with ByteBuffer cells. During POC this path created lot of duplicated 
 code but considering other refactorings done in this path  may lead to less 
 duplication. This JIRA is a placeholder.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-14211) Add more rigorous integration tests of splits

2015-08-14 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-14211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14696534#comment-14696534
 ] 

Hadoop QA commented on HBASE-14211:
---

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12750416/HBASE-14211-v3.patch
  against master branch at commit 4dd30ab019cfbf3691fd08f7941d33d8bbc37f05.
  ATTACHMENT ID: 12750416

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 25 new 
or modified tests.

{color:green}+1 hadoop versions{color}. The patch compiles with all 
supported hadoop versions (2.4.0 2.4.1 2.5.0 2.5.1 2.5.2 2.6.0 2.7.0)

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 protoc{color}.  The applied patch does not increase the 
total number of protoc compiler warnings.

{color:red}-1 javadoc{color}.  The javadoc tool appears to have generated 1 
warning messages.

{color:green}+1 checkstyle{color}.  The applied patch does not increase the 
total number of checkstyle errors

{color:green}+1 findbugs{color}.  The patch does not introduce any  new 
Findbugs (version 2.0.3) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 lineLengths{color}.  The patch does not introduce lines 
longer than 100

  {color:green}+1 site{color}.  The mvn post-site goal succeeds with this patch.

{color:green}+1 core tests{color}.  The patch passed unit tests in .

Test results: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15093//testReport/
Release Findbugs (version 2.0.3)warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15093//artifact/patchprocess/newFindbugsWarnings.html
Checkstyle Errors: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15093//artifact/patchprocess/checkstyle-aggregate.html

  Javadoc warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15093//artifact/patchprocess/patchJavadocWarnings.txt
Console output: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15093//console

This message is automatically generated.

 Add more rigorous integration tests of splits
 -

 Key: HBASE-14211
 URL: https://issues.apache.org/jira/browse/HBASE-14211
 Project: HBase
  Issue Type: Bug
  Components: integration tests, test
Affects Versions: 2.0.0, 1.2.0
Reporter: Elliott Clark
Assignee: Elliott Clark
 Fix For: 2.0.0, 1.2.0

 Attachments: HBASE-14211-v1.patch, HBASE-14211-v2.patch, 
 HBASE-14211-v3.patch, HBASE-14211.patch


 Add a chaos action that will turn down region size.
 * Eventually this will cause regions to split a lot.
 * It will need to have a min region size.
 Add a chaos monkey action that will change split policy
 * Change between Uniform and SplittingUpTo and back
 Add chaos monkey action that will request splits of every region.
 * When regions all reach the size a the exact same time the compactions add a 
 lot of work.
 * This simulates a very well distributed write pattern reaching the region 
 size.
 Add the ability to start with fewer regions than normal to ITBLL



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-14222) Improve DrainBarrier

2015-08-14 Thread Hiroshi Ikeda (JIRA)
Hiroshi Ikeda created HBASE-14222:
-

 Summary: Improve DrainBarrier
 Key: HBASE-14222
 URL: https://issues.apache.org/jira/browse/HBASE-14222
 Project: HBase
  Issue Type: Bug
  Components: util
Reporter: Hiroshi Ikeda
Assignee: Hiroshi Ikeda
Priority: Minor


1. {{DrainBarrier.stopAndDrainOps}} may wait forever if {{DrainBarrier.endOp}} 
changes its state and calls {{Object.notifyAll}} just before 
{{stopAndDrainOps}} enters the synchronized block to call {{Object.wait}}. 
Moreover, {{Object.wait}} may wake up false-positively, and {{stopAndDrainOps}} 
may break the block before outstanding operations are complete.

2. Some tests for {{DrainBarrier}} catch and ignore {{AssertionError}} 
explicitly thrown JUnit's {{fail}} method.

The implementation of {{DrainBarrier}} is a little complex, and I'll fix and 
refactor it.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-14222) Improve DrainBarrier

2015-08-14 Thread Hiroshi Ikeda (JIRA)

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

Hiroshi Ikeda updated HBASE-14222:
--
Attachment: HBASE-14222.patch

Added a patch.

 Improve DrainBarrier
 

 Key: HBASE-14222
 URL: https://issues.apache.org/jira/browse/HBASE-14222
 Project: HBase
  Issue Type: Bug
  Components: util
Reporter: Hiroshi Ikeda
Assignee: Hiroshi Ikeda
Priority: Minor
 Attachments: HBASE-14222.patch


 1. {{DrainBarrier.stopAndDrainOps}} may wait forever if 
 {{DrainBarrier.endOp}} changes its state and calls {{Object.notifyAll}} just 
 before {{stopAndDrainOps}} enters the synchronized block to call 
 {{Object.wait}}. Moreover, {{Object.wait}} may wake up false-positively, and 
 {{stopAndDrainOps}} may break the block before outstanding operations are 
 complete.
 2. Some tests for {{DrainBarrier}} catch and ignore {{AssertionError}} 
 explicitly thrown JUnit's {{fail}} method.
 The implementation of {{DrainBarrier}} is a little complex, and I'll fix and 
 refactor it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-14181) Add Spark DataFrame DataSource to HBase-Spark Module

2015-08-14 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-14181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14696644#comment-14696644
 ] 

Hadoop QA commented on HBASE-14181:
---

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12750443/HBASE-14181.4.patch
  against master branch at commit 4dd30ab019cfbf3691fd08f7941d33d8bbc37f05.
  ATTACHMENT ID: 12750443

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 2 new 
or modified tests.

{color:green}+1 hadoop versions{color}. The patch compiles with all 
supported hadoop versions (2.4.0 2.4.1 2.5.0 2.5.1 2.5.2 2.6.0 2.7.0)

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 protoc{color}.  The applied patch does not increase the 
total number of protoc compiler warnings.

{color:red}-1 javadoc{color}.  The javadoc tool appears to have generated 1 
warning messages.

{color:red}-1 checkstyle{color}.  The applied patch generated 
1858 checkstyle errors (more than the master's current 1856 errors).

{color:green}+1 findbugs{color}.  The patch does not introduce any  new 
Findbugs (version 2.0.3) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:red}-1 lineLengths{color}.  The patch introduces the following lines 
longer than 100:
+ val schemaMappingDefinition:java.util.HashMap[String, 
SchemaQualifierDefinition],
+requiredQualifierDefinitionArray.foreach( d = 
get.addColumn(d.columnFamilyBytes, d.qualifierBytes))
+requiredQualifierDefinitionArray.foreach( d = 
scan.addColumn(d.columnFamilyBytes, d.qualifierBytes))
+  requiredQualifierDefinitionArray.foreach( d = 
scan.addColumn(d.columnFamilyBytes, d.qualifierBytes))
+   requiredQualifierDefinitionArray: 
mutable.MutableList[SchemaQualifierDefinition]):Unit = {
+  Map(hbase.columns.mapping - KEY_FIELD STRING :key, A_FIELD STRING 
c:a, B_FIELD STRING c:b,,

  {color:green}+1 site{color}.  The mvn post-site goal succeeds with this patch.

 {color:red}-1 core tests{color}.  The patch failed these unit tests:
   
org.apache.hadoop.hbase.master.procedure.TestWALProcedureStoreOnHDFS

Test results: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15095//testReport/
Release Findbugs (version 2.0.3)warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15095//artifact/patchprocess/newFindbugsWarnings.html
Checkstyle Errors: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15095//artifact/patchprocess/checkstyle-aggregate.html

Javadoc warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15095//artifact/patchprocess/patchJavadocWarnings.txt
Console output: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15095//console

This message is automatically generated.

 Add Spark DataFrame DataSource to HBase-Spark Module
 

 Key: HBASE-14181
 URL: https://issues.apache.org/jira/browse/HBASE-14181
 Project: HBase
  Issue Type: New Feature
  Components: spark
Reporter: Ted Malaska
Assignee: Ted Malaska
Priority: Minor
 Attachments: HBASE-14181.1.patch, HBASE-14181.2.patch, 
 HBASE-14181.3.patch, HBASE-14181.4.patch


 Build a RelationProvider for HBase-Spark Module.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-14144) Bloomfilter path to work with Byte buffered cells

2015-08-14 Thread Anoop Sam John (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-14144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14696539#comment-14696539
 ] 

Anoop Sam John commented on HBASE-14144:


+1..  Just add some comments to these classes that they are not real and used 
for seek/reseek..  Just in case when some one sees this code later, they should 
get to know what these cells mean for..  Add on commit pls.

 Bloomfilter path to work with Byte buffered cells
 -

 Key: HBASE-14144
 URL: https://issues.apache.org/jira/browse/HBASE-14144
 Project: HBase
  Issue Type: Sub-task
  Components: regionserver, Scanners
Reporter: ramkrishna.s.vasudevan
Assignee: ramkrishna.s.vasudevan
 Fix For: 2.0.0

 Attachments: HBASE-14144.patch, HBASE-14144_1.patch, 
 HBASE-14144_2.patch, HBASE-14144_3.patch, HBASE-14144_4.patch, 
 HBASE-14144_5.patch, HBASE-14144_6.patch


 This JIRA is to check if there will be a need to make the bloom filters to 
 work with ByteBuffer cells. During POC this path created lot of duplicated 
 code but considering other refactorings done in this path  may lead to less 
 duplication. This JIRA is a placeholder.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-14144) Bloomfilter path to work with Byte buffered cells

2015-08-14 Thread ramkrishna.s.vasudevan (JIRA)

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

ramkrishna.s.vasudevan updated HBASE-14144:
---
  Resolution: Fixed
Hadoop Flags: Reviewed
  Status: Resolved  (was: Patch Available)

Pushed to master. Thanks for the reviews Stack and Anoop.
Added the comment as suggested on commit.

 Bloomfilter path to work with Byte buffered cells
 -

 Key: HBASE-14144
 URL: https://issues.apache.org/jira/browse/HBASE-14144
 Project: HBase
  Issue Type: Sub-task
  Components: regionserver, Scanners
Reporter: ramkrishna.s.vasudevan
Assignee: ramkrishna.s.vasudevan
 Fix For: 2.0.0

 Attachments: HBASE-14144.patch, HBASE-14144_1.patch, 
 HBASE-14144_2.patch, HBASE-14144_3.patch, HBASE-14144_4.patch, 
 HBASE-14144_5.patch, HBASE-14144_6.patch


 This JIRA is to check if there will be a need to make the bloom filters to 
 work with ByteBuffer cells. During POC this path created lot of duplicated 
 code but considering other refactorings done in this path  may lead to less 
 duplication. This JIRA is a placeholder.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-14082) Add replica id to JMX metrics names

2015-08-14 Thread Lei Chen (JIRA)

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

Lei Chen updated HBASE-14082:
-
Attachment: HBASE-14082-v3.patch

Updates:
1. moved replica id from metrics name to a separate metric.
2. updated related test

 Add replica id to JMX metrics names
 ---

 Key: HBASE-14082
 URL: https://issues.apache.org/jira/browse/HBASE-14082
 Project: HBase
  Issue Type: Improvement
  Components: metrics
Reporter: Lei Chen
Assignee: Lei Chen
 Attachments: HBASE-14082-v1.patch, HBASE-14082-v2.patch, 
 HBASE-14082-v3.patch


 Today, via JMX, one cannot distinguish a primary region from a replica. A 
 possible solution is to add replica id to JMX metrics names. The benefits may 
 include, for example:
 # Knowing the latency of a read request on a replica region means the first 
 attempt to the primary region has timeout.
 # Write requests on replicas are due to the replication process, while the 
 ones on primary are from clients.
 # In case of looking for hot spots of read operations, replicas should be 
 excluded since TIMELINE reads are sent to all replicas.
 To implement, we can change the format of metrics names found at 
 {code}Hadoop-HBase-RegionServer-Regions-Attributes{code}
 from 
 {code}namespace_namespace_table_tablename_region_regionname_metric_metricname{code}
 to
 {code}namespace_namespace_table_tablename_region_regionname_replicaid_replicaid_metric_metricname{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-14082) Add replica id to JMX metrics names

2015-08-14 Thread Lei Chen (JIRA)

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

Lei Chen updated HBASE-14082:
-
Status: Patch Available  (was: Open)

 Add replica id to JMX metrics names
 ---

 Key: HBASE-14082
 URL: https://issues.apache.org/jira/browse/HBASE-14082
 Project: HBase
  Issue Type: Improvement
  Components: metrics
Reporter: Lei Chen
Assignee: Lei Chen
 Attachments: HBASE-14082-v1.patch, HBASE-14082-v2.patch, 
 HBASE-14082-v3.patch


 Today, via JMX, one cannot distinguish a primary region from a replica. A 
 possible solution is to add replica id to JMX metrics names. The benefits may 
 include, for example:
 # Knowing the latency of a read request on a replica region means the first 
 attempt to the primary region has timeout.
 # Write requests on replicas are due to the replication process, while the 
 ones on primary are from clients.
 # In case of looking for hot spots of read operations, replicas should be 
 excluded since TIMELINE reads are sent to all replicas.
 To implement, we can change the format of metrics names found at 
 {code}Hadoop-HBase-RegionServer-Regions-Attributes{code}
 from 
 {code}namespace_namespace_table_tablename_region_regionname_metric_metricname{code}
 to
 {code}namespace_namespace_table_tablename_region_regionname_replicaid_replicaid_metric_metricname{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-11902) RegionServer was blocked while aborting

2015-08-14 Thread Hiroshi Ikeda (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-11902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14696562#comment-14696562
 ] 

Hiroshi Ikeda commented on HBASE-11902:
---

This HBASE-11902 seems duplicate with HBASE-13592, which has been resolved. 
I have created a new issue HBASE-14222 about DrainBarrier.


 RegionServer was blocked while aborting
 ---

 Key: HBASE-11902
 URL: https://issues.apache.org/jira/browse/HBASE-11902
 Project: HBase
  Issue Type: Bug
  Components: regionserver, wal
Affects Versions: 0.98.4
 Environment: hbase-0.98.4, hadoop-2.3.0-cdh5.1, jdk1.7
Reporter: Victor Xu
Assignee: Qiang Tian
 Attachments: hbase-hadoop-regionserver-hadoop461.cm6.log, 
 hbase11902-master.patch, hbase11902-master_v2.patch, 
 hbase11902-master_v3.patch, jstack_hadoop461.cm6.log


 Generally, regionserver automatically aborts when isHealth() returns false. 
 But it sometimes got blocked while aborting. I saved the jstack and logs, and 
 found out that it was caused by datanodes failures. The regionserver60020 
 thread was blocked while closing WAL. 
 This issue doesn't happen so frequently, but if it happens, it always leads 
 to huge amount of requests failure. The only way to do is KILL -9.
 I think it's a bug, but I haven't found a decent solution. Does anyone have 
 the same problem?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-14210) Create test for cell level ACLs involving user group

2015-08-14 Thread Ashish Singhi (JIRA)

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

Ashish Singhi updated HBASE-14210:
--
Status: Patch Available  (was: Open)

 Create test for cell level ACLs involving user group
 

 Key: HBASE-14210
 URL: https://issues.apache.org/jira/browse/HBASE-14210
 Project: HBase
  Issue Type: Test
Reporter: Ted Yu
Assignee: Ashish Singhi
 Attachments: HBASE-14210.patch


 Currently we have TestCellACLs and TestCellACLWithMultipleVersions which 
 exercise cell level ACLs for users.
 However, test for cell level ACLs involving user group is missing.
 This issue is to add such test(s)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-14210) Create test for cell level ACLs involving user group

2015-08-14 Thread Ashish Singhi (JIRA)

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

Ashish Singhi updated HBASE-14210:
--
Attachment: HBASE-14210.patch

 Create test for cell level ACLs involving user group
 

 Key: HBASE-14210
 URL: https://issues.apache.org/jira/browse/HBASE-14210
 Project: HBase
  Issue Type: Test
Reporter: Ted Yu
Assignee: Ashish Singhi
 Attachments: HBASE-14210.patch


 Currently we have TestCellACLs and TestCellACLWithMultipleVersions which 
 exercise cell level ACLs for users.
 However, test for cell level ACLs involving user group is missing.
 This issue is to add such test(s)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-14210) Create test for cell level ACLs involving user group

2015-08-14 Thread Ashish Singhi (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-14210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14696718#comment-14696718
 ] 

Ashish Singhi commented on HBASE-14210:
---

Attached patch for adding test coverage for cell level ACLs involving user 
group.
Please review.

Planning to add test coverage for ACLs with default value(true) for 
{{hbase.security.access.early_out}}, in a separate jira if it sounds good.

 Create test for cell level ACLs involving user group
 

 Key: HBASE-14210
 URL: https://issues.apache.org/jira/browse/HBASE-14210
 Project: HBase
  Issue Type: Test
Reporter: Ted Yu
Assignee: Ashish Singhi
 Attachments: HBASE-14210.patch


 Currently we have TestCellACLs and TestCellACLWithMultipleVersions which 
 exercise cell level ACLs for users.
 However, test for cell level ACLs involving user group is missing.
 This issue is to add such test(s)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-11368) Multi-column family BulkLoad fails if compactions go on too long

2015-08-14 Thread Enis Soztutar (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-11368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14696724#comment-14696724
 ] 

Enis Soztutar commented on HBASE-11368:
---

bq. How? Would the following case be true without the bulk load getting the 
region write lock?
We do not do this now, but in theory it can be done similarly to regular 
writes. 
 - obtain new seqId as a write transaction
 - bulk load all files across CFs with the seqId. 
 - advance mvcc read point only when all bulk loads are complete. 
This way the scanners are guaranteed to atomically observe the bulk loaded data 
atomically without the region-write-lock. 
bq. In the 0.98 code line, we don't have seqid, and the atomicity is still 
guaranteed there.
Yes. Not worth changing 0.98 line. 
bq. I think it is being propagated properly to the scanner. Think about the 
same notifyChangedReadersObservers is being used at the end of compaction and 
flushes as well. The reset of the readers should work.
I am not sure about that. Agreed that the cells at the store level will 
actually get re-ordered, but the heap at the region level is never re-ordered. 
So, after a bulk load, the ordering of store scanners at the region level might 
change, but the scanner will miss it if I understand this correctly. 
bq. Atomicity may be a false blanket considering HBASE-4652 is still unresolved.
Very good point. We need a transactional commit for the BL files. 

 Multi-column family BulkLoad fails if compactions go on too long
 

 Key: HBASE-11368
 URL: https://issues.apache.org/jira/browse/HBASE-11368
 Project: HBase
  Issue Type: Bug
Reporter: stack
Assignee: Qiang Tian
 Attachments: hbase-11368-0.98.5.patch, hbase11368-master.patch, 
 key_stacktrace_hbase10882.TXT, performance_improvement_verification_98.5.patch


 Compactions take a read lock.  If a multi-column family region, before bulk 
 loading, we want to take a write lock on the region.  If the compaction takes 
 too long, the bulk load fails.
 Various recipes include:
 + Making smaller regions (lame)
 + [~victorunique] suggests major compacting just before bulk loading over in 
 HBASE-10882 as a work around.
 Does the compaction need a read lock for that long?  Does the bulk load need 
 a full write lock when multiple column families?  Can we fail more gracefully 
 at least?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-14222) Improve DrainBarrier

2015-08-14 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-14222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14696727#comment-14696727
 ] 

Hadoop QA commented on HBASE-14222:
---

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12750463/HBASE-14222.patch
  against master branch at commit 4dd30ab019cfbf3691fd08f7941d33d8bbc37f05.
  ATTACHMENT ID: 12750463

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 3 new 
or modified tests.

{color:green}+1 hadoop versions{color}. The patch compiles with all 
supported hadoop versions (2.4.0 2.4.1 2.5.0 2.5.1 2.5.2 2.6.0 2.7.0)

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 protoc{color}.  The applied patch does not increase the 
total number of protoc compiler warnings.

{color:red}-1 javadoc{color}.  The javadoc tool appears to have generated 1 
warning messages.

{color:green}+1 checkstyle{color}.  The applied patch does not increase the 
total number of checkstyle errors

{color:green}+1 findbugs{color}.  The patch does not introduce any  new 
Findbugs (version 2.0.3) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 lineLengths{color}.  The patch does not introduce lines 
longer than 100

  {color:green}+1 site{color}.  The mvn post-site goal succeeds with this patch.

 {color:red}-1 core tests{color}.  The patch failed these unit tests:
   org.apache.hadoop.hbase.TestIOFencing
  org.apache.hadoop.hbase.master.TestDistributedLogSplitting

 {color:red}-1 core zombie tests{color}.  There are 4 zombie test(s):   
at 
org.apache.hadoop.hbase.client.TestCloneSnapshotFromClient.testCloneLinksAfterDelete(TestCloneSnapshotFromClient.java:223)
at 
org.apache.hadoop.hbase.client.TestReplicasClient.testScanWithReplicas(TestReplicasClient.java:600)
at 
org.apache.hadoop.hbase.client.TestFromClientSide.testJira6912(TestFromClientSide.java:5344)
at 
org.apache.hadoop.hbase.client.TestMobCloneSnapshotFromClient.testCloneSnapshot(TestMobCloneSnapshotFromClient.java:175)
at 
org.apache.hadoop.hbase.client.TestMobCloneSnapshotFromClient.testCloneSnapshotCrossNamespace(TestMobCloneSnapshotFromClient.java:190)

Test results: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15097//testReport/
Release Findbugs (version 2.0.3)warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15097//artifact/patchprocess/newFindbugsWarnings.html
Checkstyle Errors: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15097//artifact/patchprocess/checkstyle-aggregate.html

  Javadoc warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15097//artifact/patchprocess/patchJavadocWarnings.txt
Console output: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15097//console

This message is automatically generated.

 Improve DrainBarrier
 

 Key: HBASE-14222
 URL: https://issues.apache.org/jira/browse/HBASE-14222
 Project: HBase
  Issue Type: Bug
  Components: util
Reporter: Hiroshi Ikeda
Assignee: Hiroshi Ikeda
Priority: Minor
 Attachments: HBASE-14222.patch


 1. {{DrainBarrier.stopAndDrainOps}} may wait forever if 
 {{DrainBarrier.endOp}} changes its state and calls {{Object.notifyAll}} just 
 before {{stopAndDrainOps}} enters the synchronized block to call 
 {{Object.wait}}. Moreover, {{Object.wait}} may wake up false-positively, and 
 {{stopAndDrainOps}} may break the block before outstanding operations are 
 complete.
 2. Some tests for {{DrainBarrier}} catch and ignore {{AssertionError}} 
 explicitly thrown JUnit's {{fail}} method.
 The implementation of {{DrainBarrier}} is a little complex, and I'll fix and 
 refactor it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-14144) Bloomfilter path to work with Byte buffered cells

2015-08-14 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-14144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14696726#comment-14696726
 ] 

Hadoop QA commented on HBASE-14144:
---

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12750461/HBASE-14144_6.patch
  against master branch at commit 4dd30ab019cfbf3691fd08f7941d33d8bbc37f05.
  ATTACHMENT ID: 12750461

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:red}-1 tests included{color}.  The patch doesn't appear to include 
any new or modified tests.
Please justify why no new tests are needed for this 
patch.
Also please list what manual steps were performed to 
verify this patch.

{color:green}+1 hadoop versions{color}. The patch compiles with all 
supported hadoop versions (2.4.0 2.4.1 2.5.0 2.5.1 2.5.2 2.6.0 2.7.0)

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 protoc{color}.  The applied patch does not increase the 
total number of protoc compiler warnings.

{color:red}-1 javadoc{color}.  The javadoc tool appears to have generated 1 
warning messages.

{color:green}+1 checkstyle{color}.  The applied patch does not increase the 
total number of checkstyle errors

{color:green}+1 findbugs{color}.  The patch does not introduce any  new 
Findbugs (version 2.0.3) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 lineLengths{color}.  The patch does not introduce lines 
longer than 100

  {color:green}+1 site{color}.  The mvn post-site goal succeeds with this patch.

 {color:red}-1 core tests{color}.  The patch failed these unit tests:
 

 {color:red}-1 core zombie tests{color}.  There are 1 zombie test(s):   
at 
org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat2.testMRIncrementalLoadWithLocality(TestHFileOutputFormat2.java:400)

Test results: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15096//testReport/
Release Findbugs (version 2.0.3)warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15096//artifact/patchprocess/newFindbugsWarnings.html
Checkstyle Errors: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15096//artifact/patchprocess/checkstyle-aggregate.html

  Javadoc warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15096//artifact/patchprocess/patchJavadocWarnings.txt
Console output: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15096//console

This message is automatically generated.

 Bloomfilter path to work with Byte buffered cells
 -

 Key: HBASE-14144
 URL: https://issues.apache.org/jira/browse/HBASE-14144
 Project: HBase
  Issue Type: Sub-task
  Components: regionserver, Scanners
Reporter: ramkrishna.s.vasudevan
Assignee: ramkrishna.s.vasudevan
 Fix For: 2.0.0

 Attachments: HBASE-14144.patch, HBASE-14144_1.patch, 
 HBASE-14144_2.patch, HBASE-14144_3.patch, HBASE-14144_4.patch, 
 HBASE-14144_5.patch, HBASE-14144_6.patch


 This JIRA is to check if there will be a need to make the bloom filters to 
 work with ByteBuffer cells. During POC this path created lot of duplicated 
 code but considering other refactorings done in this path  may lead to less 
 duplication. This JIRA is a placeholder.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-14210) Create test for cell level ACLs involving user group

2015-08-14 Thread Ashish Singhi (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-14210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697159#comment-14697159
 ] 

Ashish Singhi commented on HBASE-14210:
---

Tests failures not related to the patch.
Tests modified in this patch has passed.
{noformat}
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.871 sec - in 
org.apache.hadoop.hbase.security.access.TestCellACLs
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 64.048 sec - in 
org.apache.hadoop.hbase.security.access.TestCellACLWithMultipleVersions
{noformat}

 Create test for cell level ACLs involving user group
 

 Key: HBASE-14210
 URL: https://issues.apache.org/jira/browse/HBASE-14210
 Project: HBase
  Issue Type: Test
Reporter: Ted Yu
Assignee: Ashish Singhi
 Attachments: HBASE-14210.patch


 Currently we have TestCellACLs and TestCellACLWithMultipleVersions which 
 exercise cell level ACLs for users.
 However, test for cell level ACLs involving user group is missing.
 This issue is to add such test(s)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-14224) Fix coprocessor handling of duplicate classes

2015-08-14 Thread Lars George (JIRA)
Lars George created HBASE-14224:
---

 Summary: Fix coprocessor handling of duplicate classes
 Key: HBASE-14224
 URL: https://issues.apache.org/jira/browse/HBASE-14224
 Project: HBase
  Issue Type: Bug
  Components: Coprocessors
Affects Versions: 1.1.1, 1.0.1, 2.0.0, 1.2.0
Reporter: Lars George


While discussing with [~misty] over on HBASE-13907 we noticed some 
inconsistency when copros are loaded. Sometimes you can load them more than 
once, sometimes you can not. Need to consolidate.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-14224) Fix coprocessor handling of duplicate classes

2015-08-14 Thread Jean-Marc Spaggiari (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-14224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697178#comment-14697178
 ] 

Jean-Marc Spaggiari commented on HBASE-14224:
-

BTW, most of the lines in your attached document are truncated :(

 Fix coprocessor handling of duplicate classes
 -

 Key: HBASE-14224
 URL: https://issues.apache.org/jira/browse/HBASE-14224
 Project: HBase
  Issue Type: Bug
  Components: Coprocessors
Affects Versions: 2.0.0, 1.0.1, 1.2.0, 1.1.1
Reporter: Lars George
 Attachments: problem.pdf


 While discussing with [~misty] over on HBASE-13907 we noticed some 
 inconsistency when copros are loaded. Sometimes you can load them more than 
 once, sometimes you can not. Need to consolidate.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-14224) Fix coprocessor handling of duplicate classes

2015-08-14 Thread Lars George (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-14224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697183#comment-14697183
 ] 

Lars George commented on HBASE-14224:
-

Easy to fix, in {{CoprocessorHost.loadSystemCoprocessors()}} changed this

{code}
  if (findCoprocessor(className) != null) {
continue;
  }
{code}

to something like this:

{code}
  if (findCoprocessor(className) != null || configured.contains(className)) 
{
continue;
  }
{code}

and in the shell's {{admin.rb}} change the code in {{alter}} to use 
addCoprocessor - the whole finding a new ID is already taken care of in that 
method anyways. So this also simplifies code.

Then check the other {{loadCoprocessors()}} classes to be safe too.

 Fix coprocessor handling of duplicate classes
 -

 Key: HBASE-14224
 URL: https://issues.apache.org/jira/browse/HBASE-14224
 Project: HBase
  Issue Type: Bug
  Components: Coprocessors
Affects Versions: 2.0.0, 1.0.1, 1.2.0, 1.1.1
Reporter: Lars George
 Attachments: problem.pdf


 While discussing with [~misty] over on HBASE-13907 we noticed some 
 inconsistency when copros are loaded. Sometimes you can load them more than 
 once, sometimes you can not. Need to consolidate.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-13966) Limit column width in table.jsp

2015-08-14 Thread stack (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-13966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697191#comment-14697191
 ] 

stack commented on HBASE-13966:
---

That looks great [~mwarhaftig]  I can still select the region name though it is 
wrapped and paste it as a single line (bit of a silly question but... just 
checking).

Reviewing the patch, adding in the little styling seems good. Any chance of 
same change to start and end key columns? If long keys in the region, they'll 
likely blow up start and/or end columns?

Nice one.



 Limit column width in table.jsp
 ---

 Key: HBASE-13966
 URL: https://issues.apache.org/jira/browse/HBASE-13966
 Project: HBase
  Issue Type: Bug
  Components: UI
Affects Versions: 1.1.0.1
Reporter: Jean-Marc Spaggiari
Assignee: Matt Warhaftig
Priority: Minor
  Labels: beginner
 Attachments: HBASE-13966_post.tiff, HBASE-13966_pre.tiff, 
 hbase-13966-v1.patch


 In table.jsp, for tables with very wide keys like URLs, the page can be very 
 wide. On my own cluster, this page is 8 screens wide, almost un-usable.
 Might be good to have a way to resize the columns, or wrap the long keys or 
 truncate them, or anything else. When we want to look at the last colums, 
 this is a big difficult.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-14224) Fix coprocessor handling of duplicate classes

2015-08-14 Thread Lars George (JIRA)

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

Lars George updated HBASE-14224:

Attachment: problem.pdf

Attached a PDF that describes the issue in detail.

 Fix coprocessor handling of duplicate classes
 -

 Key: HBASE-14224
 URL: https://issues.apache.org/jira/browse/HBASE-14224
 Project: HBase
  Issue Type: Bug
  Components: Coprocessors
Affects Versions: 2.0.0, 1.0.1, 1.2.0, 1.1.1
Reporter: Lars George
 Attachments: problem.pdf


 While discussing with [~misty] over on HBASE-13907 we noticed some 
 inconsistency when copros are loaded. Sometimes you can load them more than 
 once, sometimes you can not. Need to consolidate.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-14224) Fix coprocessor handling of duplicate classes

2015-08-14 Thread Jean-Marc Spaggiari (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-14224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697177#comment-14697177
 ] 

Jean-Marc Spaggiari commented on HBASE-14224:
-

Yep, I figured that too. Also depending if you are using the Shell or the Java 
API you don't have the same behaviour...

 Fix coprocessor handling of duplicate classes
 -

 Key: HBASE-14224
 URL: https://issues.apache.org/jira/browse/HBASE-14224
 Project: HBase
  Issue Type: Bug
  Components: Coprocessors
Affects Versions: 2.0.0, 1.0.1, 1.2.0, 1.1.1
Reporter: Lars George
 Attachments: problem.pdf


 While discussing with [~misty] over on HBASE-13907 we noticed some 
 inconsistency when copros are loaded. Sometimes you can load them more than 
 once, sometimes you can not. Need to consolidate.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-14203) remove duplicate code getTableDescriptor in HTable

2015-08-14 Thread Heng Chen (JIRA)

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

Heng Chen updated HBASE-14203:
--
Attachment: HBASE-14203_v5.patch

Thank [~enis] for your reply!

I update the patch as your suggestions

 remove duplicate code getTableDescriptor in HTable
 --

 Key: HBASE-14203
 URL: https://issues.apache.org/jira/browse/HBASE-14203
 Project: HBase
  Issue Type: Improvement
Reporter: Heng Chen
Priority: Trivial
 Attachments: HBASE-14203.patch, HBASE-14203_v2.patch, 
 HBASE-14203_v3.patch, HBASE-14203_v4.patch, HBASE-14203_v5.patch


 As TODO in comment said, 
 {{HTable.getTableDescriptor}} is same as {{HAdmin.getTableDescriptor}}. 
 remove the duplicate code.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-14224) Fix coprocessor handling of duplicate classes

2015-08-14 Thread stack (JIRA)

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

stack updated HBASE-14224:
--
Priority: Critical  (was: Major)

 Fix coprocessor handling of duplicate classes
 -

 Key: HBASE-14224
 URL: https://issues.apache.org/jira/browse/HBASE-14224
 Project: HBase
  Issue Type: Bug
  Components: Coprocessors
Affects Versions: 2.0.0, 1.0.1, 1.2.0, 1.1.1
Reporter: Lars George
Priority: Critical
 Attachments: problem.pdf


 While discussing with [~misty] over on HBASE-13907 we noticed some 
 inconsistency when copros are loaded. Sometimes you can load them more than 
 once, sometimes you can not. Need to consolidate.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-14210) Create test for cell level ACLs involving user group

2015-08-14 Thread Ted Yu (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-14210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697217#comment-14697217
 ] 

Ted Yu commented on HBASE-14210:


Thanks for your work, Ashish.
{code}
+for (String user : users)
+  perms.put(user, new Permission(action));
{code}
Either move the second line to end of first line or, add curly braces for the 
second line.
{code}
+// with rw ACL for user1, user2 and group
{code}
group - @group

 Create test for cell level ACLs involving user group
 

 Key: HBASE-14210
 URL: https://issues.apache.org/jira/browse/HBASE-14210
 Project: HBase
  Issue Type: Test
Reporter: Ted Yu
Assignee: Ashish Singhi
 Attachments: HBASE-14210.patch


 Currently we have TestCellACLs and TestCellACLWithMultipleVersions which 
 exercise cell level ACLs for users.
 However, test for cell level ACLs involving user group is missing.
 This issue is to add such test(s)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-14210) Create test for cell level ACLs involving user group

2015-08-14 Thread Ashish Singhi (JIRA)

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

Ashish Singhi updated HBASE-14210:
--
Attachment: HBASE-14210-v1.patch

Thanks for the review, Ted.
Addressed the comments in v1 patch.

 Create test for cell level ACLs involving user group
 

 Key: HBASE-14210
 URL: https://issues.apache.org/jira/browse/HBASE-14210
 Project: HBase
  Issue Type: Test
Reporter: Ted Yu
Assignee: Ashish Singhi
 Attachments: HBASE-14210-v1.patch, HBASE-14210.patch


 Currently we have TestCellACLs and TestCellACLWithMultipleVersions which 
 exercise cell level ACLs for users.
 However, test for cell level ACLs involving user group is missing.
 This issue is to add such test(s)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-6721) RegionServer Group based Assignment

2015-08-14 Thread Nick Dimiduk (JIRA)

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

Nick Dimiduk updated HBASE-6721:

Attachment: HBASE-6721_0.98_2.patch

Reattaching 'HBASE-6721_0.98_2.patch' with '0.98' in the name to match the 
branch-specific filter.

 RegionServer Group based Assignment
 ---

 Key: HBASE-6721
 URL: https://issues.apache.org/jira/browse/HBASE-6721
 Project: HBase
  Issue Type: New Feature
Reporter: Francis Liu
Assignee: Francis Liu
 Attachments: 6721-master-webUI.patch, HBASE-6721 
 GroupBasedLoadBalancer Sequence Diagram.xml, HBASE-6721-DesigDoc.pdf, 
 HBASE-6721-DesigDoc.pdf, HBASE-6721-DesigDoc.pdf, HBASE-6721-DesigDoc.pdf, 
 HBASE-6721_0.98_2.patch, HBASE-6721_10.patch, HBASE-6721_11.patch, 
 HBASE-6721_8.patch, HBASE-6721_9.patch, HBASE-6721_9.patch, 
 HBASE-6721_94.patch, HBASE-6721_94.patch, HBASE-6721_94_2.patch, 
 HBASE-6721_94_3.patch, HBASE-6721_94_3.patch, HBASE-6721_94_4.patch, 
 HBASE-6721_94_5.patch, HBASE-6721_94_6.patch, HBASE-6721_94_7.patch, 
 HBASE-6721_98_1.patch, HBASE-6721_98_2.patch, HBASE-6721_trunk.patch, 
 HBASE-6721_trunk.patch, HBASE-6721_trunk.patch, HBASE-6721_trunk1.patch, 
 HBASE-6721_trunk2.patch, balanceCluster Sequence Diagram.svg, 
 immediateAssignments Sequence Diagram.svg, randomAssignment Sequence 
 Diagram.svg, retainAssignment Sequence Diagram.svg, roundRobinAssignment 
 Sequence Diagram.svg


 In multi-tenant deployments of HBase, it is likely that a RegionServer will 
 be serving out regions from a number of different tables owned by various 
 client applications. Being able to group a subset of running RegionServers 
 and assign specific tables to it, provides a client application a level of 
 isolation and resource allocation.
 The proposal essentially is to have an AssignmentManager which is aware of 
 RegionServer groups and assigns tables to region servers based on groupings. 
 Load balancing will occur on a per group basis as well. 
 This is essentially a simplification of the approach taken in HBASE-4120. See 
 attached document.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-13376) Improvements to Stochastic load balancer

2015-08-14 Thread Vandana Ayyalasomayajula (JIRA)

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

Vandana Ayyalasomayajula updated HBASE-13376:
-
Attachment: HBASE-13376_0.98_v2.patch

Could this patch be committed to 0.98 branch ? This patch is slightly different 
that branch-1 and master.

 Improvements to Stochastic load balancer
 

 Key: HBASE-13376
 URL: https://issues.apache.org/jira/browse/HBASE-13376
 Project: HBase
  Issue Type: Improvement
  Components: Balancer
Affects Versions: 1.0.0, 0.98.12
Reporter: Vandana Ayyalasomayajula
Assignee: Vandana Ayyalasomayajula
Priority: Minor
 Fix For: 2.0.0, 1.3.0

 Attachments: 13376-v2.txt, 13376-v5.patch, 13376_4.patch, 
 HBASE-13376.patch, HBASE-13376_0.98.txt, HBASE-13376_0.98_v2.patch, 
 HBASE-13376_0.txt, HBASE-13376_1.txt, HBASE-13376_1_1.txt, 
 HBASE-13376_2.patch, HBASE-13376_2_branch-1.patch, HBASE-13376_3.patch, 
 HBASE-13376_3.patch, HBASE-13376_4.patch, HBASE-13376_5_branch-1.patch, 
 HBASE-13376_6_branch-1.patch, HBASE-13376_98.patch, HBASE-13376_branch-1.patch


 There are two things this jira tries to address:
 1. The locality picker in the stochastic balancer does not pick regions with 
 least locality as candidates for swap/move. So when any user configures 
 locality cost in the configs, the balancer does not always seems to move 
 regions with bad locality. 
 2. When a cluster has equal number of loaded regions, it always picks the 
 first one. It should pick a random region on one of the equally loaded 
 servers. This improves a chance of finding a good candidate, when load picker 
 is invoked several times. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-13376) Improvements to Stochastic load balancer

2015-08-14 Thread stack (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-13376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697570#comment-14697570
 ] 

stack commented on HBASE-13376:
---

Is the recent commit and below emission related?

{code}
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.851 sec  
FAILURE! - in org.apache.hadoop.hbase.TestStochasticBalancerJmxMetrics
testJmxMetrics_EnsembleMode(org.apache.hadoop.hbase.TestStochasticBalancerJmxMetrics)
  Time elapsed: 0.348 sec   ERROR!
java.lang.NullPointerException: null
at 
org.apache.hadoop.hbase.TestStochasticBalancerJmxMetrics.testJmxMetrics_EnsembleMode(TestStochasticBalancerJmxMetrics.java:127)

testJmxMetrics_PerTableMode(org.apache.hadoop.hbase.TestStochasticBalancerJmxMetrics)
  Time elapsed: 0.185 sec   ERROR!
java.lang.NullPointerException: null
at 
org.apache.hadoop.hbase.TestStochasticBalancerJmxMetrics.testJmxMetrics_PerTableMode(TestStochasticBalancerJmxMetrics.java:172)
{code}

See https://builds.apache.org/job/HBase-TRUNK/6729/changes

 Improvements to Stochastic load balancer
 

 Key: HBASE-13376
 URL: https://issues.apache.org/jira/browse/HBASE-13376
 Project: HBase
  Issue Type: Improvement
  Components: Balancer
Affects Versions: 1.0.0, 0.98.12
Reporter: Vandana Ayyalasomayajula
Assignee: Vandana Ayyalasomayajula
Priority: Minor
 Fix For: 2.0.0, 1.3.0

 Attachments: 13376-v2.txt, 13376-v5.patch, 13376_4.patch, 
 HBASE-13376.patch, HBASE-13376_0.98.txt, HBASE-13376_0.98_v2.patch, 
 HBASE-13376_0.txt, HBASE-13376_1.txt, HBASE-13376_1_1.txt, 
 HBASE-13376_2.patch, HBASE-13376_2_branch-1.patch, HBASE-13376_3.patch, 
 HBASE-13376_3.patch, HBASE-13376_4.patch, HBASE-13376_5_branch-1.patch, 
 HBASE-13376_6_branch-1.patch, HBASE-13376_98.patch, HBASE-13376_branch-1.patch


 There are two things this jira tries to address:
 1. The locality picker in the stochastic balancer does not pick regions with 
 least locality as candidates for swap/move. So when any user configures 
 locality cost in the configs, the balancer does not always seems to move 
 regions with bad locality. 
 2. When a cluster has equal number of loaded regions, it always picks the 
 first one. It should pick a random region on one of the equally loaded 
 servers. This improves a chance of finding a good candidate, when load picker 
 is invoked several times. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-13966) Limit column width in table.jsp

2015-08-14 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-13966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697528#comment-14697528
 ] 

Hudson commented on HBASE-13966:


FAILURE: Integrated in HBase-TRUNK #6729 (See 
[https://builds.apache.org/job/HBase-TRUNK/6729/])
HBASE-13966 Limit column width in table.jsp (Matt Warhaftig) (stack: rev 
45aafb25b7911b5917ab47133e3e4268806e4c91)
* hbase-server/src/main/resources/hbase-webapps/master/table.jsp


 Limit column width in table.jsp
 ---

 Key: HBASE-13966
 URL: https://issues.apache.org/jira/browse/HBASE-13966
 Project: HBase
  Issue Type: Bug
  Components: Operability, UI
Affects Versions: 1.1.0.1
Reporter: Jean-Marc Spaggiari
Assignee: Matt Warhaftig
Priority: Minor
  Labels: beginner
 Fix For: 2.0.0, 1.2.0, 1.3.0, 1.1.3

 Attachments: HBASE-13966_post.tiff, HBASE-13966_pre.tiff, 
 hbase-13966-v1.patch


 In table.jsp, for tables with very wide keys like URLs, the page can be very 
 wide. On my own cluster, this page is 8 screens wide, almost un-usable.
 Might be good to have a way to resize the columns, or wrap the long keys or 
 truncate them, or anything else. When we want to look at the last colums, 
 this is a big difficult.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-12123) Failed assertion in BucketCache after HBASE-11331

2015-08-14 Thread Stephen Yuan Jiang (JIRA)

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

Stephen Yuan Jiang updated HBASE-12123:
---
Summary: Failed assertion in BucketCache after HBASE-11331  (was: Failed 
assertion in BucketCache after 11331)

 Failed assertion in BucketCache after HBASE-11331
 -

 Key: HBASE-12123
 URL: https://issues.apache.org/jira/browse/HBASE-12123
 Project: HBase
  Issue Type: Bug
  Components: regionserver
Reporter: Enis Soztutar
Assignee: Nick Dimiduk
 Fix For: 2.0.0, 0.98.7, 0.99.1

 Attachments: 12123.patch


 As reported by [~enis]
 We have seen this in one of the test runs: 
 {code}
 2014-09-26 05:31:19,788 WARN  [main-BucketCacheWriter-2] bucket.BucketCache: 
 Failed doing drain
 java.lang.AssertionError
   at 
 org.apache.hadoop.hbase.io.hfile.bucket.BucketCache$RAMQueueEntry.writeToCache(BucketCache.java:1239)
   at 
 org.apache.hadoop.hbase.io.hfile.bucket.BucketCache$WriterThread.doDrain(BucketCache.java:773)
   at 
 org.apache.hadoop.hbase.io.hfile.bucket.BucketCache$WriterThread.run(BucketCache.java:731)
   at java.lang.Thread.run(Thread.java:745)
 2014-09-26 05:31:19,925 INFO  [main-BucketCacheWriter-2] bucket.BucketCache: 
 main-BucketCacheWriter-2 exiting, cacheEnabled=true
 2014-09-26 05:31:19,838 WARN  [main-BucketCacheWriter-1] bucket.BucketCache: 
 Failed doing drain
 java.lang.AssertionError
   at 
 org.apache.hadoop.hbase.io.hfile.bucket.BucketCache$RAMQueueEntry.writeToCache(BucketCache.java:1239)
   at 
 org.apache.hadoop.hbase.io.hfile.bucket.BucketCache$WriterThread.doDrain(BucketCache.java:773)
   at 
 org.apache.hadoop.hbase.io.hfile.bucket.BucketCache$WriterThread.run(BucketCache.java:731)
   at java.lang.Thread.run(Thread.java:745)
 2014-09-26 05:31:19,791 WARN  [main-BucketCacheWriter-0] bucket.BucketCache: 
 Failed doing drain
 java.lang.AssertionError
   at 
 org.apache.hadoop.hbase.io.hfile.bucket.BucketCache$RAMQueueEntry.writeToCache(BucketCache.java:1239)
   at 
 org.apache.hadoop.hbase.io.hfile.bucket.BucketCache$WriterThread.doDrain(BucketCache.java:773)
   at 
 org.apache.hadoop.hbase.io.hfile.bucket.BucketCache$WriterThread.run(BucketCache.java:731)
   at java.lang.Thread.run(Thread.java:745)
 2014-09-26 05:31:19,926 INFO  [main-BucketCacheWriter-0] bucket.BucketCache: 
 main-BucketCacheWriter-0 exiting, cacheEnabled=true
 2014-09-26 05:31:19,926 INFO  [main-BucketCacheWriter-1] bucket.BucketCache: 
 main-BucketCacheWriter-1 exiting, cacheEnabled=true
 {code}
 We are still running with assertions on in tests, and this block is failing 
 the assertion. Seems important: 
 {code}
 if (data instanceof HFileBlock) {
   ByteBuffer sliceBuf = ((HFileBlock) 
 data).getBufferReadOnlyWithHeader();
   sliceBuf.rewind();
   assert len == sliceBuf.limit() + 
 HFileBlock.EXTRA_SERIALIZATION_SPACE;
 {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-13376) Improvements to Stochastic load balancer

2015-08-14 Thread Vandana Ayyalasomayajula (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-13376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697575#comment-14697575
 ] 

Vandana Ayyalasomayajula commented on HBASE-13376:
--

Let me check. 

 Improvements to Stochastic load balancer
 

 Key: HBASE-13376
 URL: https://issues.apache.org/jira/browse/HBASE-13376
 Project: HBase
  Issue Type: Improvement
  Components: Balancer
Affects Versions: 1.0.0, 0.98.12
Reporter: Vandana Ayyalasomayajula
Assignee: Vandana Ayyalasomayajula
Priority: Minor
 Fix For: 2.0.0, 1.3.0

 Attachments: 13376-v2.txt, 13376-v5.patch, 13376_4.patch, 
 HBASE-13376.patch, HBASE-13376_0.98.txt, HBASE-13376_0.98_v2.patch, 
 HBASE-13376_0.txt, HBASE-13376_1.txt, HBASE-13376_1_1.txt, 
 HBASE-13376_2.patch, HBASE-13376_2_branch-1.patch, HBASE-13376_3.patch, 
 HBASE-13376_3.patch, HBASE-13376_4.patch, HBASE-13376_5_branch-1.patch, 
 HBASE-13376_6_branch-1.patch, HBASE-13376_98.patch, HBASE-13376_branch-1.patch


 There are two things this jira tries to address:
 1. The locality picker in the stochastic balancer does not pick regions with 
 least locality as candidates for swap/move. So when any user configures 
 locality cost in the configs, the balancer does not always seems to move 
 regions with bad locality. 
 2. When a cluster has equal number of loaded regions, it always picks the 
 first one. It should pick a random region on one of the equally loaded 
 servers. This improves a chance of finding a good candidate, when load picker 
 is invoked several times. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-13376) Improvements to Stochastic load balancer

2015-08-14 Thread Vandana Ayyalasomayajula (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-13376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697584#comment-14697584
 ] 

Vandana Ayyalasomayajula commented on HBASE-13376:
--

I ran that specific test on my machine and test finished:
{quote}
testcase name=testJmxMetrics_EnsembleMode 
classname=org.apache.hadoop.hbase.TestStochasticBalancerJmxMetrics 
time=0.236/
 testcase name=testJmxMetrics_PerTableMode 
classname=org.apache.hadoop.hbase.TestStochasticBalancerJmxMetrics 
time=0.138/
{quote}


 Improvements to Stochastic load balancer
 

 Key: HBASE-13376
 URL: https://issues.apache.org/jira/browse/HBASE-13376
 Project: HBase
  Issue Type: Improvement
  Components: Balancer
Affects Versions: 1.0.0, 0.98.12
Reporter: Vandana Ayyalasomayajula
Assignee: Vandana Ayyalasomayajula
Priority: Minor
 Fix For: 2.0.0, 1.3.0

 Attachments: 13376-v2.txt, 13376-v5.patch, 13376_4.patch, 
 HBASE-13376.patch, HBASE-13376_0.98.txt, HBASE-13376_0.98_v2.patch, 
 HBASE-13376_0.txt, HBASE-13376_1.txt, HBASE-13376_1_1.txt, 
 HBASE-13376_2.patch, HBASE-13376_2_branch-1.patch, HBASE-13376_3.patch, 
 HBASE-13376_3.patch, HBASE-13376_4.patch, HBASE-13376_5_branch-1.patch, 
 HBASE-13376_6_branch-1.patch, HBASE-13376_98.patch, HBASE-13376_branch-1.patch


 There are two things this jira tries to address:
 1. The locality picker in the stochastic balancer does not pick regions with 
 least locality as candidates for swap/move. So when any user configures 
 locality cost in the configs, the balancer does not always seems to move 
 regions with bad locality. 
 2. When a cluster has equal number of loaded regions, it always picks the 
 first one. It should pick a random region on one of the equally loaded 
 servers. This improves a chance of finding a good candidate, when load picker 
 is invoked several times. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-12294) Regression from HBASE-12251: Can't build the docs after the hbase-checkstyle module was added

2015-08-14 Thread Stephen Yuan Jiang (JIRA)

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

Stephen Yuan Jiang updated HBASE-12294:
---
Summary: Regression from HBASE-12251: Can't build the docs after the 
hbase-checkstyle module was added  (was: Can't build the docs after the 
hbase-checkstyle module was added)

 Regression from HBASE-12251: Can't build the docs after the hbase-checkstyle 
 module was added
 -

 Key: HBASE-12294
 URL: https://issues.apache.org/jira/browse/HBASE-12294
 Project: HBase
  Issue Type: Bug
  Components: build
Reporter: Misty Stanley-Jones
Assignee: Elliott Clark
Priority: Blocker
 Fix For: 2.0.0, 0.98.8, 0.99.2

 Attachments: 0001-HBASE-12294-Addendum.patch, 
 0001-HBASE-12294-Fix-site-generation.patch, HBASE-12294.patch


 Since the 15th, I have not been able to build the docs. I get these errors:
 {code}
 [ERROR] Failed to execute goal 
 org.apache.maven.plugins:maven-site-plugin:3.3:stage (default-cli) on project 
 hbase-checkstyle: Missing distribution management in project HBase - 
 Checkstyle (org.apache.hbase:hbase-checkstyle:2.0.0-SNAPSHOT) - [Help 1]
 {code}
 {code}
 org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
 goal org.apache.maven.plugins:maven-site-plugin:3.3:stage (default-cli) on 
 project hbase-checkstyle: Missing distribution management in project HBase - 
 Checkstyle (org.apache.hbase:hbase-checkstyle:2.0.0-SNAPSHOT)
 at 
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
 at 
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
 at 
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
 at 
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:108)
 at 
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)
 at 
 org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
 at 
 org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
 at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
 at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:606)
 at 
 org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
 at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
 at 
 org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
 at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
 Caused by: org.apache.maven.plugin.MojoExecutionException: Missing 
 distribution management in project HBase - Checkstyle 
 (org.apache.hbase:hbase-checkstyle:2.0.0-SNAPSHOT)
 at 
 org.apache.maven.plugins.site.AbstractDeployMojo.getSite(AbstractDeployMojo.java:762)
 at 
 org.apache.maven.plugins.site.AbstractDeployMojo.getDeployModuleDirectory(AbstractDeployMojo.java:249)
 at 
 org.apache.maven.plugins.site.AbstractDeployMojo.deploy(AbstractDeployMojo.java:320)
 at 
 org.apache.maven.plugins.site.AbstractDeployMojo.deployTo(AbstractDeployMojo.java:281)
 at 
 org.apache.maven.plugins.site.AbstractDeployMojo.execute(AbstractDeployMojo.java:163)
 at org.apache.maven.plugins.site.SiteStageMojo.execute(SiteStageMojo.java:75)
 at 
 org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)
 at 
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
 ... 19 more
 {code}
 I'm able to resolve it by adding the attached patch to the POM. [~eclark], is 
 there a specific reason you didn't use inheritance in the checkstyles module?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-14203) remove duplicate code getTableDescriptor in HTable

2015-08-14 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-14203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697489#comment-14697489
 ] 

Hadoop QA commented on HBASE-14203:
---

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12750529/HBASE-14203_v5.patch
  against master branch at commit f2a9dab30eb339c86222db47430f18f7abf405c2.
  ATTACHMENT ID: 12750529

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:red}-1 tests included{color}.  The patch doesn't appear to include 
any new or modified tests.
Please justify why no new tests are needed for this 
patch.
Also please list what manual steps were performed to 
verify this patch.

{color:green}+1 hadoop versions{color}. The patch compiles with all 
supported hadoop versions (2.4.0 2.4.1 2.5.0 2.5.1 2.5.2 2.6.0 2.7.0)

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 protoc{color}.  The applied patch does not increase the 
total number of protoc compiler warnings.

{color:red}-1 javadoc{color}.  The javadoc tool appears to have generated 1 
warning messages.

{color:red}-1 checkstyle{color}.  The applied patch generated 
1860 checkstyle errors (more than the master's current 1856 errors).

{color:green}+1 findbugs{color}.  The patch does not introduce any  new 
Findbugs (version 2.0.3) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 lineLengths{color}.  The patch does not introduce lines 
longer than 100

  {color:green}+1 site{color}.  The mvn post-site goal succeeds with this patch.

{color:green}+1 core tests{color}.  The patch passed unit tests in .

Test results: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15102//testReport/
Release Findbugs (version 2.0.3)warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15102//artifact/patchprocess/newFindbugsWarnings.html
Checkstyle Errors: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15102//artifact/patchprocess/checkstyle-aggregate.html

Javadoc warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15102//artifact/patchprocess/patchJavadocWarnings.txt
Console output: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15102//console

This message is automatically generated.

 remove duplicate code getTableDescriptor in HTable
 --

 Key: HBASE-14203
 URL: https://issues.apache.org/jira/browse/HBASE-14203
 Project: HBase
  Issue Type: Improvement
Reporter: Heng Chen
Priority: Trivial
 Attachments: HBASE-14203.patch, HBASE-14203_v2.patch, 
 HBASE-14203_v3.patch, HBASE-14203_v4.patch, HBASE-14203_v5.patch


 As TODO in comment said, 
 {{HTable.getTableDescriptor}} is same as {{HAdmin.getTableDescriptor}}. 
 remove the duplicate code.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-6721) RegionServer Group based Assignment

2015-08-14 Thread Francis Liu (JIRA)

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

Francis Liu updated HBASE-6721:
---
Attachment: HBASE-6721_98_2.patch

Tests passed tho I had to patch HBase/IntegrationTestingUtilitily to get the 
tests to run properly, there was a regression in an api that used to work in 
distributed mode and now it doesn't. Will deal with that issue in a separate 
jira. 

Reconciled some changes with internal implementation, rebased. 

[~apurtell] the patch should be good to commit. will need to create an addendum 
for trunk patch.

 RegionServer Group based Assignment
 ---

 Key: HBASE-6721
 URL: https://issues.apache.org/jira/browse/HBASE-6721
 Project: HBase
  Issue Type: New Feature
Reporter: Francis Liu
Assignee: Francis Liu
 Attachments: 6721-master-webUI.patch, HBASE-6721 
 GroupBasedLoadBalancer Sequence Diagram.xml, HBASE-6721-DesigDoc.pdf, 
 HBASE-6721-DesigDoc.pdf, HBASE-6721-DesigDoc.pdf, HBASE-6721-DesigDoc.pdf, 
 HBASE-6721_10.patch, HBASE-6721_11.patch, HBASE-6721_8.patch, 
 HBASE-6721_9.patch, HBASE-6721_9.patch, HBASE-6721_94.patch, 
 HBASE-6721_94.patch, HBASE-6721_94_2.patch, HBASE-6721_94_3.patch, 
 HBASE-6721_94_3.patch, HBASE-6721_94_4.patch, HBASE-6721_94_5.patch, 
 HBASE-6721_94_6.patch, HBASE-6721_94_7.patch, HBASE-6721_98_1.patch, 
 HBASE-6721_98_2.patch, HBASE-6721_trunk.patch, HBASE-6721_trunk.patch, 
 HBASE-6721_trunk.patch, HBASE-6721_trunk1.patch, HBASE-6721_trunk2.patch, 
 balanceCluster Sequence Diagram.svg, immediateAssignments Sequence 
 Diagram.svg, randomAssignment Sequence Diagram.svg, retainAssignment Sequence 
 Diagram.svg, roundRobinAssignment Sequence Diagram.svg


 In multi-tenant deployments of HBase, it is likely that a RegionServer will 
 be serving out regions from a number of different tables owned by various 
 client applications. Being able to group a subset of running RegionServers 
 and assign specific tables to it, provides a client application a level of 
 isolation and resource allocation.
 The proposal essentially is to have an AssignmentManager which is aware of 
 RegionServer groups and assigns tables to region servers based on groupings. 
 Load balancing will occur on a per group basis as well. 
 This is essentially a simplification of the approach taken in HBASE-4120. See 
 attached document.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-13966) Limit column width in table.jsp

2015-08-14 Thread Sean Busbey (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-13966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697303#comment-14697303
 ] 

Sean Busbey commented on HBASE-13966:
-

+1 fo 1.2

 Limit column width in table.jsp
 ---

 Key: HBASE-13966
 URL: https://issues.apache.org/jira/browse/HBASE-13966
 Project: HBase
  Issue Type: Bug
  Components: Operability, UI
Affects Versions: 1.1.0.1
Reporter: Jean-Marc Spaggiari
Assignee: Matt Warhaftig
Priority: Minor
  Labels: beginner
 Fix For: 2.0.0, 1.3.0

 Attachments: HBASE-13966_post.tiff, HBASE-13966_pre.tiff, 
 hbase-13966-v1.patch


 In table.jsp, for tables with very wide keys like URLs, the page can be very 
 wide. On my own cluster, this page is 8 screens wide, almost un-usable.
 Might be good to have a way to resize the columns, or wrap the long keys or 
 truncate them, or anything else. When we want to look at the last colums, 
 this is a big difficult.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-13966) Limit column width in table.jsp

2015-08-14 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-13966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697479#comment-14697479
 ] 

Hudson commented on HBASE-13966:


FAILURE: Integrated in HBase-1.3 #110 (See 
[https://builds.apache.org/job/HBase-1.3/110/])
HBASE-13966 Limit column width in table.jsp (Matt Warhaftig) (stack: rev 
4588b7ab9010554f654266de0d44aebf966267f2)
* hbase-server/src/main/resources/hbase-webapps/master/table.jsp


 Limit column width in table.jsp
 ---

 Key: HBASE-13966
 URL: https://issues.apache.org/jira/browse/HBASE-13966
 Project: HBase
  Issue Type: Bug
  Components: Operability, UI
Affects Versions: 1.1.0.1
Reporter: Jean-Marc Spaggiari
Assignee: Matt Warhaftig
Priority: Minor
  Labels: beginner
 Fix For: 2.0.0, 1.3.0

 Attachments: HBASE-13966_post.tiff, HBASE-13966_pre.tiff, 
 hbase-13966-v1.patch


 In table.jsp, for tables with very wide keys like URLs, the page can be very 
 wide. On my own cluster, this page is 8 screens wide, almost un-usable.
 Might be good to have a way to resize the columns, or wrap the long keys or 
 truncate them, or anything else. When we want to look at the last colums, 
 this is a big difficult.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-6721) RegionServer Group based Assignment

2015-08-14 Thread Andrew Purtell (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-6721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697394#comment-14697394
 ] 

Andrew Purtell commented on HBASE-6721:
---

bq. the patch should be good to commit.

I made a branch 'hbase-6721-0.98' with the v2 0.98 patch applied and pushed it.

bq.  will need to create an addendum for trunk patch.

Please post the addendum here, I'll commit it to hbase-6721 branch.

When updating the feature branches do you prefer me to merge or rebase? I 
typically rebase in my own work but will do what you prefer, just say.

 RegionServer Group based Assignment
 ---

 Key: HBASE-6721
 URL: https://issues.apache.org/jira/browse/HBASE-6721
 Project: HBase
  Issue Type: New Feature
Reporter: Francis Liu
Assignee: Francis Liu
 Attachments: 6721-master-webUI.patch, HBASE-6721 
 GroupBasedLoadBalancer Sequence Diagram.xml, HBASE-6721-DesigDoc.pdf, 
 HBASE-6721-DesigDoc.pdf, HBASE-6721-DesigDoc.pdf, HBASE-6721-DesigDoc.pdf, 
 HBASE-6721_10.patch, HBASE-6721_11.patch, HBASE-6721_8.patch, 
 HBASE-6721_9.patch, HBASE-6721_9.patch, HBASE-6721_94.patch, 
 HBASE-6721_94.patch, HBASE-6721_94_2.patch, HBASE-6721_94_3.patch, 
 HBASE-6721_94_3.patch, HBASE-6721_94_4.patch, HBASE-6721_94_5.patch, 
 HBASE-6721_94_6.patch, HBASE-6721_94_7.patch, HBASE-6721_98_1.patch, 
 HBASE-6721_98_2.patch, HBASE-6721_trunk.patch, HBASE-6721_trunk.patch, 
 HBASE-6721_trunk.patch, HBASE-6721_trunk1.patch, HBASE-6721_trunk2.patch, 
 balanceCluster Sequence Diagram.svg, immediateAssignments Sequence 
 Diagram.svg, randomAssignment Sequence Diagram.svg, retainAssignment Sequence 
 Diagram.svg, roundRobinAssignment Sequence Diagram.svg


 In multi-tenant deployments of HBase, it is likely that a RegionServer will 
 be serving out regions from a number of different tables owned by various 
 client applications. Being able to group a subset of running RegionServers 
 and assign specific tables to it, provides a client application a level of 
 isolation and resource allocation.
 The proposal essentially is to have an AssignmentManager which is aware of 
 RegionServer groups and assigns tables to region servers based on groupings. 
 Load balancing will occur on a per group basis as well. 
 This is essentially a simplification of the approach taken in HBASE-4120. See 
 attached document.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-14210) Create test for cell level ACLs involving user group

2015-08-14 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-14210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697503#comment-14697503
 ] 

Hadoop QA commented on HBASE-14210:
---

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12750532/HBASE-14210-v1.patch
  against master branch at commit f2a9dab30eb339c86222db47430f18f7abf405c2.
  ATTACHMENT ID: 12750532

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 8 new 
or modified tests.

{color:green}+1 hadoop versions{color}. The patch compiles with all 
supported hadoop versions (2.4.0 2.4.1 2.5.0 2.5.1 2.5.2 2.6.0 2.7.0)

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 protoc{color}.  The applied patch does not increase the 
total number of protoc compiler warnings.

{color:green}+1 javadoc{color}.  The javadoc tool did not generate any 
warning messages.

{color:green}+1 checkstyle{color}.  The applied patch does not increase the 
total number of checkstyle errors

{color:green}+1 findbugs{color}.  The patch does not introduce any  new 
Findbugs (version 2.0.3) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 lineLengths{color}.  The patch does not introduce lines 
longer than 100

  {color:green}+1 site{color}.  The mvn post-site goal succeeds with this patch.

 {color:red}-1 core tests{color}.  The patch failed these unit tests:
 

 {color:red}-1 core zombie tests{color}.  There are 1 zombie test(s):   
at 
org.apache.hadoop.hbase.io.hfile.TestCacheOnWrite.testStoreFileCacheOnWriteInternals(TestCacheOnWrite.java:274)
at 
org.apache.hadoop.hbase.io.hfile.TestCacheOnWrite.testStoreFileCacheOnWrite(TestCacheOnWrite.java:503)

Test results: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15103//testReport/
Release Findbugs (version 2.0.3)warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15103//artifact/patchprocess/newFindbugsWarnings.html
Checkstyle Errors: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15103//artifact/patchprocess/checkstyle-aggregate.html

  Console output: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15103//console

This message is automatically generated.

 Create test for cell level ACLs involving user group
 

 Key: HBASE-14210
 URL: https://issues.apache.org/jira/browse/HBASE-14210
 Project: HBase
  Issue Type: Test
Reporter: Ted Yu
Assignee: Ashish Singhi
 Attachments: HBASE-14210-v1.patch, HBASE-14210.patch


 Currently we have TestCellACLs and TestCellACLWithMultipleVersions which 
 exercise cell level ACLs for users.
 However, test for cell level ACLs involving user group is missing.
 This issue is to add such test(s)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-14221) Reduce the number of time row comparison is done in a Scan

2015-08-14 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-14221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697329#comment-14697329
 ] 

Hadoop QA commented on HBASE-14221:
---

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12750499/HBASE-14221.patch
  against master branch at commit f2a9dab30eb339c86222db47430f18f7abf405c2.
  ATTACHMENT ID: 12750499

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:red}-1 tests included{color}.  The patch doesn't appear to include 
any new or modified tests.
Please justify why no new tests are needed for this 
patch.
Also please list what manual steps were performed to 
verify this patch.

{color:green}+1 hadoop versions{color}. The patch compiles with all 
supported hadoop versions (2.4.0 2.4.1 2.5.0 2.5.1 2.5.2 2.6.0 2.7.0)

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 protoc{color}.  The applied patch does not increase the 
total number of protoc compiler warnings.

{color:red}-1 javadoc{color}.  The javadoc tool appears to have generated 1 
warning messages.

{color:red}-1 checkstyle{color}.  The applied patch generated 
1857 checkstyle errors (more than the master's current 1856 errors).

{color:green}+1 findbugs{color}.  The patch does not introduce any  new 
Findbugs (version 2.0.3) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 lineLengths{color}.  The patch does not introduce lines 
longer than 100

  {color:green}+1 site{color}.  The mvn post-site goal succeeds with this patch.

 {color:red}-1 core tests{color}.  The patch failed these unit tests:
   
org.apache.hadoop.hbase.master.procedure.TestWALProcedureStoreOnHDFS
  
org.apache.hadoop.hbase.TestServerSideScanMetricsFromClientSide

 {color:red}-1 core zombie tests{color}.  There are 1 zombie test(s):   
at 
org.apache.hadoop.hbase.regionserver.TestHeapMemoryManager.testPluggingInHeapMemoryTuner(TestHeapMemoryManager.java:198)

Test results: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15101//testReport/
Release Findbugs (version 2.0.3)warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15101//artifact/patchprocess/newFindbugsWarnings.html
Checkstyle Errors: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15101//artifact/patchprocess/checkstyle-aggregate.html

Javadoc warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15101//artifact/patchprocess/patchJavadocWarnings.txt
Console output: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15101//console

This message is automatically generated.

 Reduce the number of time row comparison is done in a Scan
 --

 Key: HBASE-14221
 URL: https://issues.apache.org/jira/browse/HBASE-14221
 Project: HBase
  Issue Type: Sub-task
  Components: Scanners
Reporter: ramkrishna.s.vasudevan
Assignee: ramkrishna.s.vasudevan
 Fix For: 2.0.0

 Attachments: HBASE-14221.patch, withmatchingRowspatch.png, 
 withoutmatchingRowspatch.png


 When we tried to do some profiling with the PE tool found this.
 Currently we do row comparisons in 3 places in a simple Scan case.
 1) ScanQueryMatcher
 {code}
int ret = this.rowComparator.compareRows(curCell, cell);
 if (!this.isReversed) {
   if (ret = -1) {
 return MatchCode.DONE;
   } else if (ret = 1) {
 // could optimize this, if necessary?
 // Could also be called SEEK_TO_CURRENT_ROW, but this
 // should be rare/never happens.
 return MatchCode.SEEK_NEXT_ROW;
   }
 } else {
   if (ret = -1) {
 return MatchCode.SEEK_NEXT_ROW;
   } else if (ret = 1) {
 return MatchCode.DONE;
   }
 }
 {code}
 2) In StoreScanner next() while starting to scan the row
 {code}
 if (!scannerContext.hasAnyLimit(LimitScope.BETWEEN_CELLS) || 
 matcher.curCell == null ||
 isNewRow || !CellUtil.matchingRow(peeked, matcher.curCell)) {
   this.countPerRow = 0;
   matcher.setToNewRow(peeked);
 }
 {code}
 Particularly to see if we are in a new row.
 3) In HRegion
 {code}
   scannerContext.setKeepProgress(true);
   heap.next(results, scannerContext);
   scannerContext.setKeepProgress(tmpKeepProgress);
   nextKv = heap.peek();
 moreCellsInRow = moreCellsInRow(nextKv, currentRowCell);
 {code}
 Here again there are cases where we need to careful for a MultiCF case.  Was 
 trying to 

[jira] [Commented] (HBASE-14210) Create test for cell level ACLs involving user group

2015-08-14 Thread Ted Yu (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-14210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697350#comment-14697350
 ] 

Ted Yu commented on HBASE-14210:


Some more review comments after finishing a support call.
{code}
-d.deleteColumns(TEST_FAMILY1, TEST_Q1);
-d.deleteColumns(TEST_FAMILY1, TEST_Q2);
+d.deleteFamily(TEST_FAMILY1);
{code}
Is the above change needed for user1 ?
{code}
+verfifyUserDeniedForWrite(USER_OTHER, ONE);
{code}
Typo in method name above.


 Create test for cell level ACLs involving user group
 

 Key: HBASE-14210
 URL: https://issues.apache.org/jira/browse/HBASE-14210
 Project: HBase
  Issue Type: Test
Reporter: Ted Yu
Assignee: Ashish Singhi
 Attachments: HBASE-14210-v1.patch, HBASE-14210.patch


 Currently we have TestCellACLs and TestCellACLWithMultipleVersions which 
 exercise cell level ACLs for users.
 However, test for cell level ACLs involving user group is missing.
 This issue is to add such test(s)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-13966) Limit column width in table.jsp

2015-08-14 Thread Nick Dimiduk (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-13966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697351#comment-14697351
 ] 

Nick Dimiduk commented on HBASE-13966:
--

+1 for 1.1.

 Limit column width in table.jsp
 ---

 Key: HBASE-13966
 URL: https://issues.apache.org/jira/browse/HBASE-13966
 Project: HBase
  Issue Type: Bug
  Components: Operability, UI
Affects Versions: 1.1.0.1
Reporter: Jean-Marc Spaggiari
Assignee: Matt Warhaftig
Priority: Minor
  Labels: beginner
 Fix For: 2.0.0, 1.3.0

 Attachments: HBASE-13966_post.tiff, HBASE-13966_pre.tiff, 
 hbase-13966-v1.patch


 In table.jsp, for tables with very wide keys like URLs, the page can be very 
 wide. On my own cluster, this page is 8 screens wide, almost un-usable.
 Might be good to have a way to resize the columns, or wrap the long keys or 
 truncate them, or anything else. When we want to look at the last colums, 
 this is a big difficult.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-13966) Limit column width in table.jsp

2015-08-14 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-13966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697420#comment-14697420
 ] 

Hudson commented on HBASE-13966:


SUCCESS: Integrated in HBase-1.3-IT #92 (See 
[https://builds.apache.org/job/HBase-1.3-IT/92/])
HBASE-13966 Limit column width in table.jsp (Matt Warhaftig) (stack: rev 
4588b7ab9010554f654266de0d44aebf966267f2)
* hbase-server/src/main/resources/hbase-webapps/master/table.jsp


 Limit column width in table.jsp
 ---

 Key: HBASE-13966
 URL: https://issues.apache.org/jira/browse/HBASE-13966
 Project: HBase
  Issue Type: Bug
  Components: Operability, UI
Affects Versions: 1.1.0.1
Reporter: Jean-Marc Spaggiari
Assignee: Matt Warhaftig
Priority: Minor
  Labels: beginner
 Fix For: 2.0.0, 1.3.0

 Attachments: HBASE-13966_post.tiff, HBASE-13966_pre.tiff, 
 hbase-13966-v1.patch


 In table.jsp, for tables with very wide keys like URLs, the page can be very 
 wide. On my own cluster, this page is 8 screens wide, almost un-usable.
 Might be good to have a way to resize the columns, or wrap the long keys or 
 truncate them, or anything else. When we want to look at the last colums, 
 this is a big difficult.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-6721) RegionServer Group based Assignment

2015-08-14 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-6721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697422#comment-14697422
 ] 

Hadoop QA commented on HBASE-6721:
--

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12750554/HBASE-6721_98_2.patch
  against master branch at commit 45aafb25b7911b5917ab47133e3e4268806e4c91.
  ATTACHMENT ID: 12750554

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 33 new 
or modified tests.

{color:red}-1 patch{color}.  The patch command could not apply the patch.

Console output: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15104//console

This message is automatically generated.

 RegionServer Group based Assignment
 ---

 Key: HBASE-6721
 URL: https://issues.apache.org/jira/browse/HBASE-6721
 Project: HBase
  Issue Type: New Feature
Reporter: Francis Liu
Assignee: Francis Liu
 Attachments: 6721-master-webUI.patch, HBASE-6721 
 GroupBasedLoadBalancer Sequence Diagram.xml, HBASE-6721-DesigDoc.pdf, 
 HBASE-6721-DesigDoc.pdf, HBASE-6721-DesigDoc.pdf, HBASE-6721-DesigDoc.pdf, 
 HBASE-6721_10.patch, HBASE-6721_11.patch, HBASE-6721_8.patch, 
 HBASE-6721_9.patch, HBASE-6721_9.patch, HBASE-6721_94.patch, 
 HBASE-6721_94.patch, HBASE-6721_94_2.patch, HBASE-6721_94_3.patch, 
 HBASE-6721_94_3.patch, HBASE-6721_94_4.patch, HBASE-6721_94_5.patch, 
 HBASE-6721_94_6.patch, HBASE-6721_94_7.patch, HBASE-6721_98_1.patch, 
 HBASE-6721_98_2.patch, HBASE-6721_trunk.patch, HBASE-6721_trunk.patch, 
 HBASE-6721_trunk.patch, HBASE-6721_trunk1.patch, HBASE-6721_trunk2.patch, 
 balanceCluster Sequence Diagram.svg, immediateAssignments Sequence 
 Diagram.svg, randomAssignment Sequence Diagram.svg, retainAssignment Sequence 
 Diagram.svg, roundRobinAssignment Sequence Diagram.svg


 In multi-tenant deployments of HBase, it is likely that a RegionServer will 
 be serving out regions from a number of different tables owned by various 
 client applications. Being able to group a subset of running RegionServers 
 and assign specific tables to it, provides a client application a level of 
 isolation and resource allocation.
 The proposal essentially is to have an AssignmentManager which is aware of 
 RegionServer groups and assigns tables to region servers based on groupings. 
 Load balancing will occur on a per group basis as well. 
 This is essentially a simplification of the approach taken in HBASE-4120. See 
 attached document.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-13966) Limit column width in table.jsp

2015-08-14 Thread stack (JIRA)

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

stack updated HBASE-13966:
--
Fix Version/s: 1.1.3
   1.2.0

Pushed to branch-1.1 and branch-1.2.

 Limit column width in table.jsp
 ---

 Key: HBASE-13966
 URL: https://issues.apache.org/jira/browse/HBASE-13966
 Project: HBase
  Issue Type: Bug
  Components: Operability, UI
Affects Versions: 1.1.0.1
Reporter: Jean-Marc Spaggiari
Assignee: Matt Warhaftig
Priority: Minor
  Labels: beginner
 Fix For: 2.0.0, 1.2.0, 1.3.0, 1.1.3

 Attachments: HBASE-13966_post.tiff, HBASE-13966_pre.tiff, 
 hbase-13966-v1.patch


 In table.jsp, for tables with very wide keys like URLs, the page can be very 
 wide. On my own cluster, this page is 8 screens wide, almost un-usable.
 Might be good to have a way to resize the columns, or wrap the long keys or 
 truncate them, or anything else. When we want to look at the last colums, 
 this is a big difficult.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-12108) HBaseConfiguration: set classloader before loading xml files

2015-08-14 Thread Stephen Yuan Jiang (JIRA)

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

Stephen Yuan Jiang updated HBASE-12108:
---
Assignee: Aniket Bhatnagar

 HBaseConfiguration: set classloader before loading xml files
 

 Key: HBASE-12108
 URL: https://issues.apache.org/jira/browse/HBASE-12108
 Project: HBase
  Issue Type: Bug
  Components: Client
Affects Versions: 0.98.6
Reporter: Aniket Bhatnagar
Assignee: Aniket Bhatnagar
Priority: Minor
  Labels: class_loader, configuration, patch
 Fix For: 1.0.0, 2.0.0, 1.1.0, 0.98.11

 Attachments: HBaseConfiguration_HBASE_HBASE-12108.patch


 IN the setup wherein HBase jars are loaded in child classloader whose parent 
 had loaded hadoop-common jar, HBaseConfiguration.create() throws 
 hbase-default.xml file seems to be for and old version of HBase (null)...  
 exception. ClassLoader should be set in Hadoop conf object before calling 
 addHbaseResources method



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-14210) Create test for cell level ACLs involving user group

2015-08-14 Thread Ashish Singhi (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-14210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697392#comment-14697392
 ] 

Ashish Singhi commented on HBASE-14210:
---

bq. Is the above change needed for user1 ?
If you apply the patch, you will find that user1 code is still as it is with no 
change, the diff has come out in some confusing way.

bq. Typo in method name above.
I will update this later, based on others review comments if they review it.
Thanks.

 Create test for cell level ACLs involving user group
 

 Key: HBASE-14210
 URL: https://issues.apache.org/jira/browse/HBASE-14210
 Project: HBase
  Issue Type: Test
Reporter: Ted Yu
Assignee: Ashish Singhi
 Attachments: HBASE-14210-v1.patch, HBASE-14210.patch


 Currently we have TestCellACLs and TestCellACLWithMultipleVersions which 
 exercise cell level ACLs for users.
 However, test for cell level ACLs involving user group is missing.
 This issue is to add such test(s)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-12294) Regression from HBASE-12261: Can't build the docs after the hbase-checkstyle module was added

2015-08-14 Thread Stephen Yuan Jiang (JIRA)

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

Stephen Yuan Jiang updated HBASE-12294:
---
Summary: Regression from HBASE-12261: Can't build the docs after the 
hbase-checkstyle module was added  (was: Regression from HBASE-12251: Can't 
build the docs after the hbase-checkstyle module was added)

 Regression from HBASE-12261: Can't build the docs after the hbase-checkstyle 
 module was added
 -

 Key: HBASE-12294
 URL: https://issues.apache.org/jira/browse/HBASE-12294
 Project: HBase
  Issue Type: Bug
  Components: build
Reporter: Misty Stanley-Jones
Assignee: Elliott Clark
Priority: Blocker
 Fix For: 2.0.0, 0.98.8, 0.99.2

 Attachments: 0001-HBASE-12294-Addendum.patch, 
 0001-HBASE-12294-Fix-site-generation.patch, HBASE-12294.patch


 Since the 15th, I have not been able to build the docs. I get these errors:
 {code}
 [ERROR] Failed to execute goal 
 org.apache.maven.plugins:maven-site-plugin:3.3:stage (default-cli) on project 
 hbase-checkstyle: Missing distribution management in project HBase - 
 Checkstyle (org.apache.hbase:hbase-checkstyle:2.0.0-SNAPSHOT) - [Help 1]
 {code}
 {code}
 org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
 goal org.apache.maven.plugins:maven-site-plugin:3.3:stage (default-cli) on 
 project hbase-checkstyle: Missing distribution management in project HBase - 
 Checkstyle (org.apache.hbase:hbase-checkstyle:2.0.0-SNAPSHOT)
 at 
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
 at 
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
 at 
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
 at 
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:108)
 at 
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)
 at 
 org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
 at 
 org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
 at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
 at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:606)
 at 
 org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
 at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
 at 
 org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
 at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
 Caused by: org.apache.maven.plugin.MojoExecutionException: Missing 
 distribution management in project HBase - Checkstyle 
 (org.apache.hbase:hbase-checkstyle:2.0.0-SNAPSHOT)
 at 
 org.apache.maven.plugins.site.AbstractDeployMojo.getSite(AbstractDeployMojo.java:762)
 at 
 org.apache.maven.plugins.site.AbstractDeployMojo.getDeployModuleDirectory(AbstractDeployMojo.java:249)
 at 
 org.apache.maven.plugins.site.AbstractDeployMojo.deploy(AbstractDeployMojo.java:320)
 at 
 org.apache.maven.plugins.site.AbstractDeployMojo.deployTo(AbstractDeployMojo.java:281)
 at 
 org.apache.maven.plugins.site.AbstractDeployMojo.execute(AbstractDeployMojo.java:163)
 at org.apache.maven.plugins.site.SiteStageMojo.execute(SiteStageMojo.java:75)
 at 
 org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)
 at 
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
 ... 19 more
 {code}
 I'm able to resolve it by adding the attached patch to the POM. [~eclark], is 
 there a specific reason you didn't use inheritance in the checkstyles module?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-14221) Reduce the number of time row comparison is done in a Scan

2015-08-14 Thread stack (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-14221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697804#comment-14697804
 ] 

stack commented on HBASE-14221:
---

Was going to suggest that added complexity not worth the gain but the changes 
are small enough and mostly adding more context. What do others perhaps closer 
to scanning think?

 Reduce the number of time row comparison is done in a Scan
 --

 Key: HBASE-14221
 URL: https://issues.apache.org/jira/browse/HBASE-14221
 Project: HBase
  Issue Type: Sub-task
  Components: Scanners
Reporter: ramkrishna.s.vasudevan
Assignee: ramkrishna.s.vasudevan
 Fix For: 2.0.0

 Attachments: HBASE-14221.patch, withmatchingRowspatch.png, 
 withoutmatchingRowspatch.png


 When we tried to do some profiling with the PE tool found this.
 Currently we do row comparisons in 3 places in a simple Scan case.
 1) ScanQueryMatcher
 {code}
int ret = this.rowComparator.compareRows(curCell, cell);
 if (!this.isReversed) {
   if (ret = -1) {
 return MatchCode.DONE;
   } else if (ret = 1) {
 // could optimize this, if necessary?
 // Could also be called SEEK_TO_CURRENT_ROW, but this
 // should be rare/never happens.
 return MatchCode.SEEK_NEXT_ROW;
   }
 } else {
   if (ret = -1) {
 return MatchCode.SEEK_NEXT_ROW;
   } else if (ret = 1) {
 return MatchCode.DONE;
   }
 }
 {code}
 2) In StoreScanner next() while starting to scan the row
 {code}
 if (!scannerContext.hasAnyLimit(LimitScope.BETWEEN_CELLS) || 
 matcher.curCell == null ||
 isNewRow || !CellUtil.matchingRow(peeked, matcher.curCell)) {
   this.countPerRow = 0;
   matcher.setToNewRow(peeked);
 }
 {code}
 Particularly to see if we are in a new row.
 3) In HRegion
 {code}
   scannerContext.setKeepProgress(true);
   heap.next(results, scannerContext);
   scannerContext.setKeepProgress(tmpKeepProgress);
   nextKv = heap.peek();
 moreCellsInRow = moreCellsInRow(nextKv, currentRowCell);
 {code}
 Here again there are cases where we need to careful for a MultiCF case.  Was 
 trying to solve this for the MultiCF case but is having lot of cases to 
 solve. But atleast for a single CF case I think these comparison can be 
 reduced.
 So for a single CF case in the SQM we are able to find if we have crossed a 
 row using the code pasted above in SQM. That comparison is definitely needed.
 Now in case of a single CF the HRegion is going to have only one element in 
 the heap and so the 3rd comparison can surely be avoided if the 
 StoreScanner.next() was over due to MatchCode.DONE caused by SQM.
 Coming to the 2nd compareRows that we do in StoreScanner. next() - even that 
 can be avoided if we know that the previous next() call was over due to a new 
 row. Doing all this I found that the compareRows in the profiler which was 
 19% got reduced to 13%. Initially we can solve for single CF case which can 
 be extended to MultiCF cases.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-14211) Add more rigorous integration tests of splits

2015-08-14 Thread Elliott Clark (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-14211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697883#comment-14697883
 ] 

Elliott Clark commented on HBASE-14211:
---

The javadoc warnings don't appear to be related. Did someone check in a javadoc 
break lately?

 Add more rigorous integration tests of splits
 -

 Key: HBASE-14211
 URL: https://issues.apache.org/jira/browse/HBASE-14211
 Project: HBase
  Issue Type: Bug
  Components: integration tests, test
Affects Versions: 2.0.0, 1.2.0
Reporter: Elliott Clark
Assignee: Elliott Clark
 Fix For: 2.0.0, 1.2.0

 Attachments: HBASE-14211-v1.patch, HBASE-14211-v2.patch, 
 HBASE-14211-v3.patch, HBASE-14211.patch


 Add a chaos action that will turn down region size.
 * Eventually this will cause regions to split a lot.
 * It will need to have a min region size.
 Add a chaos monkey action that will change split policy
 * Change between Uniform and SplittingUpTo and back
 Add chaos monkey action that will request splits of every region.
 * When regions all reach the size a the exact same time the compactions add a 
 lot of work.
 * This simulates a very well distributed write pattern reaching the region 
 size.
 Add the ability to start with fewer regions than normal to ITBLL



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-14004) [Replication] Inconsistency between Memstore and WAL may result in data in remote cluster that is not in the origin

2015-08-14 Thread stack (JIRA)

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

stack updated HBASE-14004:
--
 Labels: replication wal  (was: )
Summary: [Replication] Inconsistency between Memstore and WAL may result in 
data in remote cluster that is not in the origin  (was: Inconsistency between 
Memstore and WAL)

 [Replication] Inconsistency between Memstore and WAL may result in data in 
 remote cluster that is not in the origin
 ---

 Key: HBASE-14004
 URL: https://issues.apache.org/jira/browse/HBASE-14004
 Project: HBase
  Issue Type: Bug
  Components: regionserver
Reporter: He Liangliang
Priority: Critical
  Labels: replication, wal

 Looks like the current write path can cause inconsistency between 
 memstore/hfile and WAL which cause the slave cluster has more data than the 
 master cluster.
 The simplified write path looks like:
 1. insert record into Memstore
 2. write record to WAL
 3. sync WAL
 4. rollback Memstore if 3 fails
 It's possible that the HDFS sync RPC call fails, but the data is already  
 (may partially) transported to the DNs which finally get persisted. As a 
 result, the handler will rollback the Memstore and the later flushed HFile 
 will also skip this record.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-14225) Exclude **/target/** from RAT checks

2015-08-14 Thread Sean Busbey (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-14225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697969#comment-14697969
 ] 

Sean Busbey commented on HBASE-14225:
-

do you have more details of hte failure? maven build directories should already 
be excluded by the default filters.

 Exclude **/target/** from RAT checks
 

 Key: HBASE-14225
 URL: https://issues.apache.org/jira/browse/HBASE-14225
 Project: HBase
  Issue Type: Bug
Reporter: Andrew Purtell
Assignee: Andrew Purtell
Priority: Blocker

 We need to exclude **/target/** from RAT checks in order to build releases 
 now. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-14190) Assign system tables ahead of user region assignment

2015-08-14 Thread stack (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-14190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697991#comment-14697991
 ] 

stack commented on HBASE-14190:
---

Should close this related issue?

 Assign system tables ahead of user region assignment
 

 Key: HBASE-14190
 URL: https://issues.apache.org/jira/browse/HBASE-14190
 Project: HBase
  Issue Type: Bug
Reporter: Ted Yu
Assignee: Ted Yu
Priority: Critical
 Attachments: 14190-v12.txt, 14190-v6.txt, 14190-v7.txt, 14190-v8.txt


 Currently the namespace table region is assigned like user regions.
 I spent several hours working with a customer where master couldn't finish 
 initialization.
 Even though master was restarted quite a few times, it went down with the 
 following:
 {code}
 2015-08-05 17:16:57,530 FATAL [hdpmaster1:6.activeMasterManager] 
 master.HMaster: Master server abort: loaded coprocessors are: []
 2015-08-05 17:16:57,530 FATAL [hdpmaster1:6.activeMasterManager] 
 master.HMaster: Unhandled exception. Starting shutdown.
 java.io.IOException: Timedout 30ms waiting for namespace table to be 
 assigned
   at 
 org.apache.hadoop.hbase.master.TableNamespaceManager.start(TableNamespaceManager.java:104)
   at org.apache.hadoop.hbase.master.HMaster.initNamespace(HMaster.java:985)
   at 
 org.apache.hadoop.hbase.master.HMaster.finishActiveMasterInitialization(HMaster.java:779)
   at org.apache.hadoop.hbase.master.HMaster.access$500(HMaster.java:182)
   at org.apache.hadoop.hbase.master.HMaster$1.run(HMaster.java:1646)
   at java.lang.Thread.run(Thread.java:744)
 {code}
 During previous run(s), namespace table was created, hence leaving an entry 
 in hbase:meta.
 The following if block in TableNamespaceManager#start() was skipped:
 {code}
 if (!MetaTableAccessor.tableExists(masterServices.getConnection(),
   TableName.NAMESPACE_TABLE_NAME)) {
 {code}
 TableNamespaceManager#start() spins, waiting for namespace region to be 
 assigned.
 There was issue in master assigning user regions.
 We tried issuing 'assign' command from hbase shell which didn't work because 
 of the following check in MasterRpcServices#assignRegion():
 {code}
   master.checkInitialized();
 {code}
 This scenario can be avoided if we assign hbase:namespace table after 
 hbase:meta is assigned but before user table region assignment.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-13966) Limit column width in table.jsp

2015-08-14 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-13966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697713#comment-14697713
 ] 

Hudson commented on HBASE-13966:


SUCCESS: Integrated in HBase-1.1 #617 (See 
[https://builds.apache.org/job/HBase-1.1/617/])
HBASE-13966 Limit column width in table.jsp (Matt Warhaftig) (stack: rev 
cadf432c89084604fe1883f8396a0b806f2a7f96)
* hbase-server/src/main/resources/hbase-webapps/master/table.jsp


 Limit column width in table.jsp
 ---

 Key: HBASE-13966
 URL: https://issues.apache.org/jira/browse/HBASE-13966
 Project: HBase
  Issue Type: Bug
  Components: Operability, UI
Affects Versions: 1.1.0.1
Reporter: Jean-Marc Spaggiari
Assignee: Matt Warhaftig
Priority: Minor
  Labels: beginner
 Fix For: 2.0.0, 1.2.0, 1.3.0, 1.1.3

 Attachments: HBASE-13966_post.tiff, HBASE-13966_pre.tiff, 
 hbase-13966-v1.patch


 In table.jsp, for tables with very wide keys like URLs, the page can be very 
 wide. On my own cluster, this page is 8 screens wide, almost un-usable.
 Might be good to have a way to resize the columns, or wrap the long keys or 
 truncate them, or anything else. When we want to look at the last colums, 
 this is a big difficult.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Resolved] (HBASE-11902) RegionServer was blocked while aborting

2015-08-14 Thread stack (JIRA)

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

stack resolved HBASE-11902.
---
Resolution: Duplicate

Resolving as duplicate of HBASE-13592 as per [~ikeda] recommendation (same 
stack trace stuck in same place). Thanks.

 RegionServer was blocked while aborting
 ---

 Key: HBASE-11902
 URL: https://issues.apache.org/jira/browse/HBASE-11902
 Project: HBase
  Issue Type: Bug
  Components: regionserver, wal
Affects Versions: 0.98.4
 Environment: hbase-0.98.4, hadoop-2.3.0-cdh5.1, jdk1.7
Reporter: Victor Xu
Assignee: Qiang Tian
 Attachments: hbase-hadoop-regionserver-hadoop461.cm6.log, 
 hbase11902-master.patch, hbase11902-master_v2.patch, 
 hbase11902-master_v3.patch, jstack_hadoop461.cm6.log


 Generally, regionserver automatically aborts when isHealth() returns false. 
 But it sometimes got blocked while aborting. I saved the jstack and logs, and 
 found out that it was caused by datanodes failures. The regionserver60020 
 thread was blocked while closing WAL. 
 This issue doesn't happen so frequently, but if it happens, it always leads 
 to huge amount of requests failure. The only way to do is KILL -9.
 I think it's a bug, but I haven't found a decent solution. Does anyone have 
 the same problem?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-6721) RegionServer Group based Assignment

2015-08-14 Thread Andrew Purtell (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-6721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697875#comment-14697875
 ] 

Andrew Purtell commented on HBASE-6721:
---

I ran the binary compatibility checker tool comparing hbase-6721-0.98 with 
0.98.13. The tool says hbase-6721-0.98 is 100% binary compatible with 0.98.13, 
with some source level incompatibility of mild concern in the MasterObserver 
interface. 

 RegionServer Group based Assignment
 ---

 Key: HBASE-6721
 URL: https://issues.apache.org/jira/browse/HBASE-6721
 Project: HBase
  Issue Type: New Feature
Reporter: Francis Liu
Assignee: Francis Liu
 Attachments: 6721-master-webUI.patch, HBASE-6721 
 GroupBasedLoadBalancer Sequence Diagram.xml, HBASE-6721-DesigDoc.pdf, 
 HBASE-6721-DesigDoc.pdf, HBASE-6721-DesigDoc.pdf, HBASE-6721-DesigDoc.pdf, 
 HBASE-6721_0.98_2.patch, HBASE-6721_10.patch, HBASE-6721_11.patch, 
 HBASE-6721_8.patch, HBASE-6721_9.patch, HBASE-6721_9.patch, 
 HBASE-6721_94.patch, HBASE-6721_94.patch, HBASE-6721_94_2.patch, 
 HBASE-6721_94_3.patch, HBASE-6721_94_3.patch, HBASE-6721_94_4.patch, 
 HBASE-6721_94_5.patch, HBASE-6721_94_6.patch, HBASE-6721_94_7.patch, 
 HBASE-6721_98_1.patch, HBASE-6721_98_2.patch, HBASE-6721_trunk.patch, 
 HBASE-6721_trunk.patch, HBASE-6721_trunk.patch, HBASE-6721_trunk1.patch, 
 HBASE-6721_trunk2.patch, balanceCluster Sequence Diagram.svg, 
 immediateAssignments Sequence Diagram.svg, randomAssignment Sequence 
 Diagram.svg, retainAssignment Sequence Diagram.svg, roundRobinAssignment 
 Sequence Diagram.svg


 In multi-tenant deployments of HBase, it is likely that a RegionServer will 
 be serving out regions from a number of different tables owned by various 
 client applications. Being able to group a subset of running RegionServers 
 and assign specific tables to it, provides a client application a level of 
 isolation and resource allocation.
 The proposal essentially is to have an AssignmentManager which is aware of 
 RegionServer groups and assigns tables to region servers based on groupings. 
 Load balancing will occur on a per group basis as well. 
 This is essentially a simplification of the approach taken in HBASE-4120. See 
 attached document.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-10844) Coprocessor failure during batchmutation leaves the memstore datastructs in an inconsistent state

2015-08-14 Thread Andrew Purtell (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-10844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697898#comment-14697898
 ] 

Andrew Purtell commented on HBASE-10844:


Committing shortly

 Coprocessor failure during batchmutation leaves the memstore datastructs in 
 an inconsistent state
 -

 Key: HBASE-10844
 URL: https://issues.apache.org/jira/browse/HBASE-10844
 Project: HBase
  Issue Type: Bug
  Components: regionserver
Reporter: Devaraj Das
Assignee: Devaraj Das
 Fix For: 2.0.0, 0.98.14, 1.0.2, 1.2.0, 1.3.0, 1.1.3

 Attachments: 10844-1-0.98.txt, 10844-1.txt, 10844-v2.patch, 
 HBASE-10844.02-0.98.patch, HBASE-10844.02-branch-1.0.patch, 
 HBASE-10844.02.patch


 Observed this in the testing with Phoenix. The test in Phoenix - 
 MutableIndexFailureIT deliberately fails the batchmutation call via the 
 installed coprocessor. But the update is not rolled back. That leaves the 
 memstore inconsistent. In particular, I observed that getFlushableSize is 
 updated before the coprocessor was called but the update is not rolled back. 
 When the region is being closed at some later point, the assert introduced in 
 HBASE-10514 in the HRegion.doClose() causes the RegionServer to shutdown 
 abnormally.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-14200) Separate RegionReplica subtests of TestStochasticLoadBalancer into TestStochasticLoadBalancer2

2015-08-14 Thread stack (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-14200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697896#comment-14697896
 ] 

stack commented on HBASE-14200:
---

Why not look at test and see if could run for shorter time to same effect 
rather than break it up into two pieces?

 Separate RegionReplica subtests of TestStochasticLoadBalancer into 
 TestStochasticLoadBalancer2
 --

 Key: HBASE-14200
 URL: https://issues.apache.org/jira/browse/HBASE-14200
 Project: HBase
  Issue Type: Test
Reporter: Ted Yu
Assignee: Ted Yu
Priority: Minor
 Fix For: 2.0.0, 1.3.0

 Attachments: 14200-v1.txt, 14200-v2.txt


 More and more functionality is added to StochasticLoadBalancer , making 
 TestStochasticLoadBalancer run longer.
 From 
 https://builds.apache.org/job/PreCommit-HBASE-Build/15011/testReport/org.apache.hadoop.hbase.master.balancer/TestStochasticLoadBalancer/
  where total runtime was 14 min, here are the longest subtests:
 testRegionReplicasOnLargeCluster: 1 min 34 sec
 testRegionReplicasOnMidCluster: 1 min 31 sec
 testRegionReplicasOnMidClusterHighReplication: 2 min
 testRegionReplicationOnMidClusterReplicationGreaterThanNumNodes: 2 min 25 sec
 This issue is to separate out the above subtests into 
 TestStochasticLoadBalancer2, giving each of the tests around 7 min runtime.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-6721) RegionServer Group based Assignment

2015-08-14 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-6721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697919#comment-14697919
 ] 

Hadoop QA commented on HBASE-6721:
--

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  
http://issues.apache.org/jira/secure/attachment/12750586/HBASE-6721_0.98_2.patch
  against 0.98 branch at commit 45aafb25b7911b5917ab47133e3e4268806e4c91.
  ATTACHMENT ID: 12750586

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 33 new 
or modified tests.

{color:green}+1 hadoop versions{color}. The patch compiles with all 
supported hadoop versions (2.4.0 2.4.1 2.5.0 2.5.1 2.5.2 2.6.0 2.7.0)

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 protoc{color}.  The applied patch does not increase the 
total number of protoc compiler warnings.

{color:red}-1 javadoc{color}.  The javadoc tool appears to have generated 
28 warning messages.

{color:red}-1 checkstyle{color}.  The applied patch generated 
3913 checkstyle errors (more than the master's current 3876 errors).

{color:red}-1 InterfaceAudience{color}.  The patch appears 
to contain InterfaceAudience from hadoop rather than hbase:
 +import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceAudience;.

{color:green}+1 findbugs{color}.  The patch does not introduce any  new 
Findbugs (version 2.0.3) warnings.

{color:red}-1 release audit{color}.  The applied patch generated 1 release 
audit warnings (more than the master's current 0 warnings).

{color:red}-1 lineLengths{color}.  The patch introduces the following lines 
longer than 100:
+public GetGroupInfoResponse getGroupInfo(RpcController controller, 
GetGroupInfoRequest request) throws ServiceException {
+public GetGroupInfoOfTableResponse getGroupInfoOfTable(RpcController 
controller, GetGroupInfoOfTableRequest request) throws ServiceException {
+public GetGroupInfoOfServerResponse getGroupInfoOfServer(RpcController 
controller, GetGroupInfoOfServerRequest request) throws ServiceException {
+public MoveServersResponse moveServers(RpcController controller, 
MoveServersRequest request) throws ServiceException {
+public MoveTablesResponse moveTables(RpcController controller, 
MoveTablesRequest request) throws ServiceException {
+public AddGroupResponse addGroup(RpcController controller, 
AddGroupRequest request) throws ServiceException {
+public RemoveGroupResponse removeGroup(RpcController controller, 
RemoveGroupRequest request) throws ServiceException {
+public BalanceGroupResponse balanceGroup(RpcController controller, 
BalanceGroupRequest request) throws ServiceException {
+public ListGroupInfosResponse listGroupInfos(RpcController controller, 
ListGroupInfosRequest request) throws ServiceException {
+   * coderpc GetGroupInfoOfTable(.GetGroupInfoOfTableRequest) returns 
(.GetGroupInfoOfTableResponse);/code

{color:red}-1 site{color}.  The patch appears to cause mvn post-site goal 
to fail.

{color:green}+1 core tests{color}.  The patch passed unit tests in .

 {color:red}-1 core zombie tests{color}.  There are 5 zombie test(s):   
at 
org.apache.hadoop.hbase.regionserver.wal.TestLogRolling.testLogRolling(TestLogRolling.java:219)
at 
org.apache.hadoop.hbase.TestIOFencing.testFencingAroundCompaction(TestIOFencing.java:227)
at 
org.apache.hadoop.hbase.regionserver.TestSplitTransactionOnCluster.testRITStateForRollback(TestSplitTransactionOnCluster.java:292)
at 
org.apache.hadoop.hbase.io.encoding.TestEncodedSeekers.testEncodedSeeker(TestEncodedSeekers.java:118)
at 
org.apache.hadoop.hbase.TestClusterBootOrder.testBootRegionServerFirst(TestClusterBootOrder.java:104)

Test results: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15105//testReport/
Release audit warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15105//artifact/patchprocess/patchReleaseAuditWarnings.txt
Release Findbugs (version 2.0.3)warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15105//artifact/patchprocess/newFindbugsWarnings.html
Checkstyle Errors: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15105//artifact/patchprocess/checkstyle-aggregate.html

Javadoc warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15105//artifact/patchprocess/patchJavadocWarnings.txt
Console output: 
https://builds.apache.org/job/PreCommit-HBASE-Build/15105//console

This message is automatically 

[jira] [Updated] (HBASE-4349) Add metrics for monitored tasks and executor services

2015-08-14 Thread Somesh Sasalatti (JIRA)

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

Somesh Sasalatti updated HBASE-4349:

Assignee: Somesh Sasalatti

 Add metrics for monitored tasks and executor services
 -

 Key: HBASE-4349
 URL: https://issues.apache.org/jira/browse/HBASE-4349
 Project: HBase
  Issue Type: Improvement
  Components: metrics
Affects Versions: 0.92.0
Reporter: Todd Lipcon
Assignee: Somesh Sasalatti
  Labels: beginner

 Would be nice to add some metrics for each of the monitored tasks and 
 executor services in the master and region server:
 - number of items in the queue
 - age of the oldest yet-unprocessed item (ie in the queue or currently being 
 handled)
 - number of threads in the executor currently busy
 These would allow us to monitor better for cases where things get stuck



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-6721) RegionServer Group based Assignment

2015-08-14 Thread Andrew Purtell (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-6721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697887#comment-14697887
 ] 

Andrew Purtell commented on HBASE-6721:
---

Do we need GroupAdmin and GroupAdminClient now? A hold over from an initial 
coprocessor based implementation?



 RegionServer Group based Assignment
 ---

 Key: HBASE-6721
 URL: https://issues.apache.org/jira/browse/HBASE-6721
 Project: HBase
  Issue Type: New Feature
Reporter: Francis Liu
Assignee: Francis Liu
 Attachments: 6721-master-webUI.patch, HBASE-6721 
 GroupBasedLoadBalancer Sequence Diagram.xml, HBASE-6721-DesigDoc.pdf, 
 HBASE-6721-DesigDoc.pdf, HBASE-6721-DesigDoc.pdf, HBASE-6721-DesigDoc.pdf, 
 HBASE-6721_0.98_2.patch, HBASE-6721_10.patch, HBASE-6721_11.patch, 
 HBASE-6721_8.patch, HBASE-6721_9.patch, HBASE-6721_9.patch, 
 HBASE-6721_94.patch, HBASE-6721_94.patch, HBASE-6721_94_2.patch, 
 HBASE-6721_94_3.patch, HBASE-6721_94_3.patch, HBASE-6721_94_4.patch, 
 HBASE-6721_94_5.patch, HBASE-6721_94_6.patch, HBASE-6721_94_7.patch, 
 HBASE-6721_98_1.patch, HBASE-6721_98_2.patch, HBASE-6721_trunk.patch, 
 HBASE-6721_trunk.patch, HBASE-6721_trunk.patch, HBASE-6721_trunk1.patch, 
 HBASE-6721_trunk2.patch, balanceCluster Sequence Diagram.svg, 
 immediateAssignments Sequence Diagram.svg, randomAssignment Sequence 
 Diagram.svg, retainAssignment Sequence Diagram.svg, roundRobinAssignment 
 Sequence Diagram.svg


 In multi-tenant deployments of HBase, it is likely that a RegionServer will 
 be serving out regions from a number of different tables owned by various 
 client applications. Being able to group a subset of running RegionServers 
 and assign specific tables to it, provides a client application a level of 
 isolation and resource allocation.
 The proposal essentially is to have an AssignmentManager which is aware of 
 RegionServer groups and assigns tables to region servers based on groupings. 
 Load balancing will occur on a per group basis as well. 
 This is essentially a simplification of the approach taken in HBASE-4120. See 
 attached document.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-13014) Java Tool For Region Moving

2015-08-14 Thread Andrew Purtell (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-13014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697903#comment-14697903
 ] 

Andrew Purtell commented on HBASE-13014:


Haven't had time for another detailed review. Skimmed the latest patch. Looks 
like earlier feedback is all addressed. Will commit early next week unless 
objection.

 Java Tool For Region Moving 
 

 Key: HBASE-13014
 URL: https://issues.apache.org/jira/browse/HBASE-13014
 Project: HBase
  Issue Type: Improvement
Reporter: Abhishek Singh Chouhan
Assignee: Abhishek Singh Chouhan
 Fix For: 2.0.0, 0.98.14, 1.3.0

 Attachments: HBASE-13014-v2.patch, HBASE-13014-v3.patch, 
 HBASE-13014-v4.patch, HBASE-13014-v5.patch, HBASE-13014-v6.patch, 
 HBASE-13014.patch


 As per discussion on HBASE-12989 we should move the functionality of 
 region_mover.rb into a Java tool and use region_mover.rb only only as a 
 wrapper around it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-10844) Coprocessor failure during batchmutation leaves the memstore datastructs in an inconsistent state

2015-08-14 Thread Andrew Purtell (JIRA)

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

Andrew Purtell updated HBASE-10844:
---
  Resolution: Fixed
Assignee: Nick Dimiduk  (was: Devaraj Das)
Hadoop Flags: Reviewed
  Status: Resolved  (was: Patch Available)

Pushed to 0.98 and up using above instruction. 

 Coprocessor failure during batchmutation leaves the memstore datastructs in 
 an inconsistent state
 -

 Key: HBASE-10844
 URL: https://issues.apache.org/jira/browse/HBASE-10844
 Project: HBase
  Issue Type: Bug
  Components: regionserver
Reporter: Devaraj Das
Assignee: Nick Dimiduk
 Fix For: 2.0.0, 1.0.2, 1.2.0, 1.3.0, 1.1.3, 0.98.14

 Attachments: 10844-1-0.98.txt, 10844-1.txt, 10844-v2.patch, 
 HBASE-10844.02-0.98.patch, HBASE-10844.02-branch-1.0.patch, 
 HBASE-10844.02.patch


 Observed this in the testing with Phoenix. The test in Phoenix - 
 MutableIndexFailureIT deliberately fails the batchmutation call via the 
 installed coprocessor. But the update is not rolled back. That leaves the 
 memstore inconsistent. In particular, I observed that getFlushableSize is 
 updated before the coprocessor was called but the update is not rolled back. 
 When the region is being closed at some later point, the assert introduced in 
 HBASE-10514 in the HRegion.doClose() causes the RegionServer to shutdown 
 abnormally.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-14207) Region was hijacked and remained in transition when RS failed to open a region and later regionplan changed to new RS on retry

2015-08-14 Thread stack (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-14207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697959#comment-14697959
 ] 

stack commented on HBASE-14207:
---

Patch looks good to me. Nice debugging [~pankaj_kumar] Lets see what hadoopqa 
says.

 Region was hijacked and remained in transition when RS failed to open a 
 region and later regionplan changed to new RS on retry
 --

 Key: HBASE-14207
 URL: https://issues.apache.org/jira/browse/HBASE-14207
 Project: HBase
  Issue Type: Bug
  Components: master
Affects Versions: 0.98.6
Reporter: Pankaj Kumar
Assignee: Pankaj Kumar
Priority: Critical
 Fix For: 0.98.15

 Attachments: HBASE-14207-0.98-V2.patch, HBASE-14207-0.98.patch


 On production environment, following events happened
 1. Master is trying to assign a region to RS, but due to 
 KeeperException$SessionExpiredException RS failed to open the region.
   In RS log, saw multiple WARN log related to 
 KeeperException$SessionExpiredException 
KeeperErrorCode = Session expired for 
 /hbase/region-in-transition/08f1935d652e5dbdac09b423b8f9401b
Unable to get data of znode 
 /hbase/region-in-transition/08f1935d652e5dbdac09b423b8f9401b
 2. Master retried to assign the region to same RS, but RS again failed.
 3. On second retry new plan formed and this time plan destination (RS) is 
 different, so master send the request to new RS to open the region. But new 
 RS failed to open the region as there was server mismatch in ZNODE than the  
 expected current server name. 
 Logs Snippet:
 {noformat}
 HM
 2015-07-14 03:50:29,759 | INFO  | master:T101PC03VM13:21300 | Processing 
 08f1935d652e5dbdac09b423b8f9401b in state: M_ZK_REGION_OFFLINE | 
 org.apache.hadoop.hbase.master.AssignmentManager.processRegionsInTransition(AssignmentManager.java:644)
 2015-07-14 03:50:29,759 | INFO  | master:T101PC03VM13:21300 | Transitioned 
 {08f1935d652e5dbdac09b423b8f9401b state=OFFLINE, ts=1436817029679, 
 server=null} to {08f1935d652e5dbdac09b423b8f9401b state=PENDING_OPEN, 
 ts=1436817029759, server=T101PC03VM13,21302,1436816690692} | 
 org.apache.hadoop.hbase.master.RegionStates.updateRegionState(RegionStates.java:327)
 2015-07-14 03:50:29,760 | INFO  | master:T101PC03VM13:21300 | Processed 
 region 08f1935d652e5dbdac09b423b8f9401b in state M_ZK_REGION_OFFLINE, on 
 server: T101PC03VM13,21302,1436816690692 | 
 org.apache.hadoop.hbase.master.AssignmentManager.processRegionsInTransition(AssignmentManager.java:768)
 2015-07-14 03:50:29,800 | INFO  | 
 MASTER_SERVER_OPERATIONS-T101PC03VM13:21300-3 | Assigning 
 INTER_CONCURRENCY_SETTING,,1436596137981.08f1935d652e5dbdac09b423b8f9401b. to 
 T101PC03VM13,21302,1436816690692 | 
 org.apache.hadoop.hbase.master.AssignmentManager.assign(AssignmentManager.java:1983)
 2015-07-14 03:50:29,801 | WARN  | 
 MASTER_SERVER_OPERATIONS-T101PC03VM13:21300-3 | Failed assignment of 
 INTER_CONCURRENCY_SETTING,,1436596137981.08f1935d652e5dbdac09b423b8f9401b. to 
 T101PC03VM13,21302,1436816690692, trying to assign elsewhere instead; try=1 
 of 10 | 
 org.apache.hadoop.hbase.master.AssignmentManager.assign(AssignmentManager.java:2077)
 2015-07-14 03:50:29,802 | INFO  | 
 MASTER_SERVER_OPERATIONS-T101PC03VM13:21300-3 | Trying to re-assign 
 INTER_CONCURRENCY_SETTING,,1436596137981.08f1935d652e5dbdac09b423b8f9401b. to 
 the same failed server. | 
 org.apache.hadoop.hbase.master.AssignmentManager.assign(AssignmentManager.java:2123)
 2015-07-14 03:50:31,804 | INFO  | 
 MASTER_SERVER_OPERATIONS-T101PC03VM13:21300-3 | Assigning 
 INTER_CONCURRENCY_SETTING,,1436596137981.08f1935d652e5dbdac09b423b8f9401b. to 
 T101PC03VM13,21302,1436816690692 | 
 org.apache.hadoop.hbase.master.AssignmentManager.assign(AssignmentManager.java:1983)
 2015-07-14 03:50:31,806 | WARN  | 
 MASTER_SERVER_OPERATIONS-T101PC03VM13:21300-3 | Failed assignment of 
 INTER_CONCURRENCY_SETTING,,1436596137981.08f1935d652e5dbdac09b423b8f9401b. to 
 T101PC03VM13,21302,1436816690692, trying to assign elsewhere instead; try=2 
 of 10 | 
 org.apache.hadoop.hbase.master.AssignmentManager.assign(AssignmentManager.java:2077)
 2015-07-14 03:50:31,807 | INFO  | 
 MASTER_SERVER_OPERATIONS-T101PC03VM13:21300-3 | Transitioned 
 {08f1935d652e5dbdac09b423b8f9401b state=PENDING_OPEN, ts=1436817031804, 
 server=T101PC03VM13,21302,1436816690692} to {08f1935d652e5dbdac09b423b8f9401b 
 state=OFFLINE, ts=1436817031807, server=T101PC03VM13,21302,1436816690692} | 
 org.apache.hadoop.hbase.master.RegionStates.updateRegionState(RegionStates.java:327)
 2015-07-14 03:50:31,807 | INFO  | 
 MASTER_SERVER_OPERATIONS-T101PC03VM13:21300-3 | Assigning 
 

[jira] [Updated] (HBASE-13999) Improve storefile split performance by creating daughter reference files concurrently

2015-08-14 Thread stack (JIRA)

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

stack updated HBASE-13999:
--
Labels: performance split  (was: )

 Improve storefile split performance by creating daughter reference files 
 concurrently
 -

 Key: HBASE-13999
 URL: https://issues.apache.org/jira/browse/HBASE-13999
 Project: HBase
  Issue Type: Improvement
  Components: regionserver
Affects Versions: 0.98.12
Reporter: Hari Krishna Dara
Assignee: Hari Krishna Dara
Priority: Minor
  Labels: performance, split

 The fix for HBASE-13959 improves the concurrency of region split operation, 
 and also identifies another optimization by extending the concurrency to the 
 creation of individual reference files. This jira aims to do just that! Since 
 creation of reference files take time in the order of 300 to 400ms, this has 
 the potential of reducing the split time by as much in most common scenarios.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-13784) Add Async Client Table API

2015-08-14 Thread stack (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-13784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697975#comment-14697975
 ] 

stack commented on HBASE-13784:
---

I owe you a review [~jurmous]? (Was out, sorry).

 Add Async Client Table API
 --

 Key: HBASE-13784
 URL: https://issues.apache.org/jira/browse/HBASE-13784
 Project: HBase
  Issue Type: New Feature
Reporter: Jurriaan Mous
Assignee: Jurriaan Mous
 Attachments: ClientScanner-class-diagram.png, HBASE-13784-v1.patch, 
 HBASE-13784-v2.patch, HBASE-13784-v3.patch, HBASE-13784-v4.patch, 
 HBASE-13784-v5.patch, HBASE-13784-v6.patch, HBASE-13784-v7.patch, 
 HBASE-13784.patch


 With the introduction of the Async HBase RPC Client it is possible to create 
 an Async Table API and more. This issue is focussed on creating a first async 
 Table API so it is possible to do any non deprecated Table call in an async 
 way.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-14190) Assign system tables ahead of user region assignment

2015-08-14 Thread Ted Yu (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-14190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697985#comment-14697985
 ] 

Ted Yu commented on HBASE-14190:


I did some debugging for test failure in 
TestNamespaceAuditor#testRegionOperations
In the middle of the test, this is called:
{code}
restartMaster();
{code}
When new master initializes, it assigns hbase:quota again, resulting in:
{code}
2015-08-13 02:43:33,420 FATAL [PriorityRpcServer.handler=16,queue=0,port=50627] 
regionserver.HRegionServer(2072): ABORTING region server 
192.168.0.12,50627,1439458945214:Received OPEN for the 
region:hbase:quota,,1439458947828.c74bc53e12f6aae7f979d1ed6d8b4387., which is 
already online
015-08-13 02:43:33,443 INFO  [PriorityRpcServer.handler=16,queue=0,port=50627] 
regionserver.HRegionServer(1873): STOPPED: Received OPEN for the 
region:hbase:quota,,  
1439458947828.c74bc53e12f6aae7f979d1ed6d8b4387., which is already online
{code}
Trying to find a solution for this scenario.

 Assign system tables ahead of user region assignment
 

 Key: HBASE-14190
 URL: https://issues.apache.org/jira/browse/HBASE-14190
 Project: HBase
  Issue Type: Bug
Reporter: Ted Yu
Assignee: Ted Yu
Priority: Critical
 Attachments: 14190-v12.txt, 14190-v6.txt, 14190-v7.txt, 14190-v8.txt


 Currently the namespace table region is assigned like user regions.
 I spent several hours working with a customer where master couldn't finish 
 initialization.
 Even though master was restarted quite a few times, it went down with the 
 following:
 {code}
 2015-08-05 17:16:57,530 FATAL [hdpmaster1:6.activeMasterManager] 
 master.HMaster: Master server abort: loaded coprocessors are: []
 2015-08-05 17:16:57,530 FATAL [hdpmaster1:6.activeMasterManager] 
 master.HMaster: Unhandled exception. Starting shutdown.
 java.io.IOException: Timedout 30ms waiting for namespace table to be 
 assigned
   at 
 org.apache.hadoop.hbase.master.TableNamespaceManager.start(TableNamespaceManager.java:104)
   at org.apache.hadoop.hbase.master.HMaster.initNamespace(HMaster.java:985)
   at 
 org.apache.hadoop.hbase.master.HMaster.finishActiveMasterInitialization(HMaster.java:779)
   at org.apache.hadoop.hbase.master.HMaster.access$500(HMaster.java:182)
   at org.apache.hadoop.hbase.master.HMaster$1.run(HMaster.java:1646)
   at java.lang.Thread.run(Thread.java:744)
 {code}
 During previous run(s), namespace table was created, hence leaving an entry 
 in hbase:meta.
 The following if block in TableNamespaceManager#start() was skipped:
 {code}
 if (!MetaTableAccessor.tableExists(masterServices.getConnection(),
   TableName.NAMESPACE_TABLE_NAME)) {
 {code}
 TableNamespaceManager#start() spins, waiting for namespace region to be 
 assigned.
 There was issue in master assigning user regions.
 We tried issuing 'assign' command from hbase shell which didn't work because 
 of the following check in MasterRpcServices#assignRegion():
 {code}
   master.checkInitialized();
 {code}
 This scenario can be avoided if we assign hbase:namespace table after 
 hbase:meta is assigned but before user table region assignment.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-14190) Assign system tables ahead of user region assignment

2015-08-14 Thread Ted Yu (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-14190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697993#comment-14697993
 ] 

Ted Yu commented on HBASE-14190:


What is the JIRA number for the related issue ?

 Assign system tables ahead of user region assignment
 

 Key: HBASE-14190
 URL: https://issues.apache.org/jira/browse/HBASE-14190
 Project: HBase
  Issue Type: Bug
Reporter: Ted Yu
Assignee: Ted Yu
Priority: Critical
 Attachments: 14190-v12.txt, 14190-v6.txt, 14190-v7.txt, 14190-v8.txt


 Currently the namespace table region is assigned like user regions.
 I spent several hours working with a customer where master couldn't finish 
 initialization.
 Even though master was restarted quite a few times, it went down with the 
 following:
 {code}
 2015-08-05 17:16:57,530 FATAL [hdpmaster1:6.activeMasterManager] 
 master.HMaster: Master server abort: loaded coprocessors are: []
 2015-08-05 17:16:57,530 FATAL [hdpmaster1:6.activeMasterManager] 
 master.HMaster: Unhandled exception. Starting shutdown.
 java.io.IOException: Timedout 30ms waiting for namespace table to be 
 assigned
   at 
 org.apache.hadoop.hbase.master.TableNamespaceManager.start(TableNamespaceManager.java:104)
   at org.apache.hadoop.hbase.master.HMaster.initNamespace(HMaster.java:985)
   at 
 org.apache.hadoop.hbase.master.HMaster.finishActiveMasterInitialization(HMaster.java:779)
   at org.apache.hadoop.hbase.master.HMaster.access$500(HMaster.java:182)
   at org.apache.hadoop.hbase.master.HMaster$1.run(HMaster.java:1646)
   at java.lang.Thread.run(Thread.java:744)
 {code}
 During previous run(s), namespace table was created, hence leaving an entry 
 in hbase:meta.
 The following if block in TableNamespaceManager#start() was skipped:
 {code}
 if (!MetaTableAccessor.tableExists(masterServices.getConnection(),
   TableName.NAMESPACE_TABLE_NAME)) {
 {code}
 TableNamespaceManager#start() spins, waiting for namespace region to be 
 assigned.
 There was issue in master assigning user regions.
 We tried issuing 'assign' command from hbase shell which didn't work because 
 of the following check in MasterRpcServices#assignRegion():
 {code}
   master.checkInitialized();
 {code}
 This scenario can be avoided if we assign hbase:namespace table after 
 hbase:meta is assigned but before user table region assignment.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-13966) Limit column width in table.jsp

2015-08-14 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-13966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697740#comment-14697740
 ] 

Hudson commented on HBASE-13966:


FAILURE: Integrated in HBase-1.2 #111 (See 
[https://builds.apache.org/job/HBase-1.2/111/])
HBASE-13966 Limit column width in table.jsp (Matt Warhaftig) (stack: rev 
911c30b4a7f25c83cbe38daf4376f3b73b534b3a)
* hbase-server/src/main/resources/hbase-webapps/master/table.jsp


 Limit column width in table.jsp
 ---

 Key: HBASE-13966
 URL: https://issues.apache.org/jira/browse/HBASE-13966
 Project: HBase
  Issue Type: Bug
  Components: Operability, UI
Affects Versions: 1.1.0.1
Reporter: Jean-Marc Spaggiari
Assignee: Matt Warhaftig
Priority: Minor
  Labels: beginner
 Fix For: 2.0.0, 1.2.0, 1.3.0, 1.1.3

 Attachments: HBASE-13966_post.tiff, HBASE-13966_pre.tiff, 
 hbase-13966-v1.patch


 In table.jsp, for tables with very wide keys like URLs, the page can be very 
 wide. On my own cluster, this page is 8 screens wide, almost un-usable.
 Might be good to have a way to resize the columns, or wrap the long keys or 
 truncate them, or anything else. When we want to look at the last colums, 
 this is a big difficult.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-14223) Meta WALs are not cleared if meta region was closed and RS aborts

2015-08-14 Thread stack (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-14223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697772#comment-14697772
 ] 

stack commented on HBASE-14223:
---

Patch looks reasonable [~enis].  No dataloss? We are just leaving a mess behind 
when hbase:meta moves? Nice cleanup.

 Meta WALs are not cleared if meta region was closed and RS aborts
 -

 Key: HBASE-14223
 URL: https://issues.apache.org/jira/browse/HBASE-14223
 Project: HBase
  Issue Type: Bug
Reporter: Enis Soztutar
 Fix For: 2.0.0, 1.0.2, 1.2.0, 1.3.0, 1.1.3

 Attachments: hbase-14223_v0.patch


 When an RS opens meta, and later closes it, the WAL(FSHlog) is not closed. 
 The last WAL file just sits there in the RS WAL directory. If RS stops 
 gracefully, the WAL file for meta is deleted. Otherwise if RS aborts, WAL for 
 meta is not cleaned. It is also not split (which is correct) since master 
 determines that the RS no longer hosts meta at the time of RS abort. 
 From a cluster after running ITBLL with CM, I see a lot of {{-splitting}} 
 directories left uncleaned: 
 {code}
 [root@os-enis-dal-test-jun-4-7 cluster-os]# sudo -u hdfs hadoop fs -ls 
 /apps/hbase/data/WALs
 Found 31 items
 drwxr-xr-x   - hbase hadoop  0 2015-06-05 01:14 
 /apps/hbase/data/WALs/hregion-58203265
 drwxr-xr-x   - hbase hadoop  0 2015-06-05 07:54 
 /apps/hbase/data/WALs/os-enis-dal-test-jun-4-1.openstacklocal,16020,1433489308745-splitting
 drwxr-xr-x   - hbase hadoop  0 2015-06-05 09:28 
 /apps/hbase/data/WALs/os-enis-dal-test-jun-4-1.openstacklocal,16020,1433494382959-splitting
 drwxr-xr-x   - hbase hadoop  0 2015-06-05 10:01 
 /apps/hbase/data/WALs/os-enis-dal-test-jun-4-1.openstacklocal,16020,1433498252205-splitting
 ...
 {code}
 The directories contain WALs from meta: 
 {code}
 [root@os-enis-dal-test-jun-4-7 cluster-os]# sudo -u hdfs hadoop fs -ls 
 /apps/hbase/data/WALs/os-enis-dal-test-jun-4-5.openstacklocal,16020,1433466904285-splitting
 Found 2 items
 -rw-r--r--   3 hbase hadoop 201608 2015-06-05 03:15 
 /apps/hbase/data/WALs/os-enis-dal-test-jun-4-5.openstacklocal,16020,1433466904285-splitting/os-enis-dal-test-jun-4-5.openstacklocal%2C16020%2C1433466904285..meta.1433470511501.meta
 -rw-r--r--   3 hbase hadoop  44420 2015-06-05 04:36 
 /apps/hbase/data/WALs/os-enis-dal-test-jun-4-5.openstacklocal,16020,1433466904285-splitting/os-enis-dal-test-jun-4-5.openstacklocal%2C16020%2C1433466904285..meta.1433474111645.meta
 {code}
 The RS hosted the meta region for some time: 
 {code}
 2015-06-05 03:14:28,692 INFO  [PostOpenDeployTasks:1588230740] 
 zookeeper.MetaTableLocator: Setting hbase:meta region location in ZooKeeper 
 as os-enis-dal-test-jun-4-5.openstacklocal,16020,1433466904285
 ...
 2015-06-05 03:15:17,302 INFO  
 [RS_CLOSE_META-os-enis-dal-test-jun-4-5:16020-0] regionserver.HRegion: Closed 
 hbase:meta,,1.1588230740
 {code}
 In between, a WAL is created: 
 {code}
 2015-06-05 03:15:11,707 INFO  
 [RS_OPEN_META-os-enis-dal-test-jun-4-5:16020-0-MetaLogRoller] wal.FSHLog: 
 Rolled WAL 
 /apps/hbase/data/WALs/os-enis-dal-test-jun-4-5.openstacklocal,16020,1433466904285/os-enis-dal-test-jun-4-5.openstacklocal%2C16020%2C1433466904285..meta.1433470511501.meta
  with entries=385, filesize=196.88 KB; new WAL 
 /apps/hbase/data/WALs/os-enis-dal-test-jun-4-5.openstacklocal,16020,1433466904285/os-enis-dal-test-jun-4-5.openstacklocal%2C16020%2C1433466904285..meta.1433474111645.meta
 {code}
 When CM killed the region server later master did not see these WAL files: 
 {code}
 ./hbase-hbase-master-os-enis-dal-test-jun-4-3.log:2015-06-05 03:36:46,075 
 INFO  [MASTER_SERVER_OPERATIONS-os-enis-dal-test-jun-4-3:16000-0] 
 master.SplitLogManager: started splitting 2 logs in 
 [hdfs://os-enis-dal-test-jun-4-1.openstacklocal:8020/apps/hbase/data/WALs/os-enis-dal-test-jun-4-5.openstacklocal,16020,1433466904285-splitting]
  for [os-enis-dal-test-jun-4-5.openstacklocal,16020,1433466904285]
 ./hbase-hbase-master-os-enis-dal-test-jun-4-3.log:2015-06-05 03:36:47,300 
 INFO  [main-EventThread] wal.WALSplitter: Archived processed log 
 hdfs://os-enis-dal-test-jun-4-1.openstacklocal:8020/apps/hbase/data/WALs/os-enis-dal-test-jun-4-5.openstacklocal,16020,1433466904285-splitting/os-enis-dal-test-jun-4-5.openstacklocal%2C16020%2C1433466904285.default.1433475074436
  to 
 hdfs://os-enis-dal-test-jun-4-1.openstacklocal:8020/apps/hbase/data/oldWALs/os-enis-dal-test-jun-4-5.openstacklocal%2C16020%2C1433466904285.default.1433475074436
 ./hbase-hbase-master-os-enis-dal-test-jun-4-3.log:2015-06-05 03:36:50,497 
 INFO  [main-EventThread] wal.WALSplitter: Archived processed log 
 

[jira] [Commented] (HBASE-14222) Improve DrainBarrier

2015-08-14 Thread stack (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-14222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697815#comment-14697815
 ] 

stack commented on HBASE-14222:
---

I can see how your changes improved the test but am less sure of the changes to 
DrainBarrier. Can you manufacture the condition you are fixing at all in a unit 
test to prove your refactor addresses it? Nice work [~ikeda]

 Improve DrainBarrier
 

 Key: HBASE-14222
 URL: https://issues.apache.org/jira/browse/HBASE-14222
 Project: HBase
  Issue Type: Bug
  Components: util
Reporter: Hiroshi Ikeda
Assignee: Hiroshi Ikeda
Priority: Minor
 Attachments: HBASE-14222.patch


 1. {{DrainBarrier.stopAndDrainOps}} may wait forever if 
 {{DrainBarrier.endOp}} changes its state and calls {{Object.notifyAll}} just 
 before {{stopAndDrainOps}} enters the synchronized block to call 
 {{Object.wait}}. Moreover, {{Object.wait}} may wake up false-positively, and 
 {{stopAndDrainOps}} may break the block before outstanding operations are 
 complete.
 2. Some tests for {{DrainBarrier}} catch and ignore {{AssertionError}} 
 explicitly thrown JUnit's {{fail}} method.
 The implementation of {{DrainBarrier}} is a little complex, and I'll fix and 
 refactor it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-14166) Per-Region metrics can be stale

2015-08-14 Thread Elliott Clark (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-14166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697880#comment-14697880
 ] 

Elliott Clark commented on HBASE-14166:
---

k, I'll check this in later today unless there are any other comments.

Thanks

 Per-Region metrics can be stale
 ---

 Key: HBASE-14166
 URL: https://issues.apache.org/jira/browse/HBASE-14166
 Project: HBase
  Issue Type: Bug
Affects Versions: 1.1.0.1
Reporter: Elliott Clark
Assignee: Elliott Clark
 Fix For: 2.0.0, 1.3.0

 Attachments: HBASE-14166-v1.patch, HBASE-14166-v2.patch, 
 HBASE-14166-v3.patch, HBASE-14166-v4.patch, HBASE-14166-v5.patch, 
 HBASE-14166.patch


 We're seeing some machines that are reporting only old region metrics. It 
 seems like at some point the Hadoop metrics system decided which metrics to 
 display and which not to. From then on it was not changing.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-13014) Java Tool For Region Moving

2015-08-14 Thread Andrew Purtell (JIRA)

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

Andrew Purtell updated HBASE-13014:
---
Fix Version/s: (was: 0.98.14)
   0.98.15

 Java Tool For Region Moving 
 

 Key: HBASE-13014
 URL: https://issues.apache.org/jira/browse/HBASE-13014
 Project: HBase
  Issue Type: Improvement
Reporter: Abhishek Singh Chouhan
Assignee: Abhishek Singh Chouhan
 Fix For: 2.0.0, 1.3.0, 0.98.15

 Attachments: HBASE-13014-v2.patch, HBASE-13014-v3.patch, 
 HBASE-13014-v4.patch, HBASE-13014-v5.patch, HBASE-13014-v6.patch, 
 HBASE-13014.patch


 As per discussion on HBASE-12989 we should move the functionality of 
 region_mover.rb into a Java tool and use region_mover.rb only only as a 
 wrapper around it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-12816) GC logs are lost upon Region Server restart if GCLogFileRotation is enabled

2015-08-14 Thread Andrew Purtell (JIRA)

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

Andrew Purtell updated HBASE-12816:
---
Fix Version/s: (was: 1.1.3)
   (was: 1.2.1)
   (was: 0.98.14)
   0.98.15
   1.3.0

 GC logs are lost upon Region Server restart if GCLogFileRotation is enabled
 ---

 Key: HBASE-12816
 URL: https://issues.apache.org/jira/browse/HBASE-12816
 Project: HBase
  Issue Type: Bug
  Components: scripts
Reporter: Abhishek Singh Chouhan
Assignee: Abhishek Singh Chouhan
Priority: Minor
 Fix For: 2.0.0, 1.3.0, 0.98.15

 Attachments: HBASE-12816.patch


 When -XX:+UseGCLogFileRotation is used gc log files end with .gc.0 instead of 
 .gc.  hbase_rotate_log () in hbase-daemon.sh does not handle this correctly 
 and hence when a RS is restarted old gc logs are lost(overwritten).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-13708) PE - Add option to specify the range

2015-08-14 Thread Matt Warhaftig (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-13708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697913#comment-14697913
 ] 

Matt Warhaftig commented on HBASE-13708:


The rowRangeSize is in the logging at the start with:
{noformat}
2015-08-14 07:24:25,523 INFO  [main] hbase.PerformanceEvaluation: 
RandomReadTest test run options={...rowRangeSize:100...
{noformat}

And then at PE completion:
{noformat}
2015-08-14 07:24:27,148 INFO  [TestClient-0] hbase.PerformanceEvaluation: 
Finished class org.apache.hadoop.hbase.PerformanceEvaluation$RandomReadTest in 
92ms at offset 0 for 10 rows from a range of 100 rows (0.11 MB/s)
{noformat}

The line you highlighted
{noformat}
2015-08-14 07:24:27,013 INFO [TestClient-0] hbase.PerformanceEvaluation: 
Sampling 1 every 1 out of 10 total rows.
{noformat}
is logging for sample sizing versus number of reads so 10 total rows is apt to 
display.

If you want rowRangeSize to be more prominent in the logging I can append it to 
that line.

 PE - Add option to specify the range
 

 Key: HBASE-13708
 URL: https://issues.apache.org/jira/browse/HBASE-13708
 Project: HBase
  Issue Type: Bug
Affects Versions: 1.0.1
Reporter: Jean-Marc Spaggiari
Assignee: Matt Warhaftig
Priority: Minor
  Labels: beginner
 Fix For: 2.0.0, 1.3.0

 Attachments: HBASE-13708-master_v1.patch, PE_mapred_output.txt, 
 PE_nomapred_output.txt, hbase-13708-v2.patch, hbase-13708-v2.patch


 When specifying --rows=YYY for randomReads in PE, it will read YYY rows but 
 only betweem 0 and YYY.
 We might want to read YYY rows randomly between 0 and ZZZ.
 YYY should only be the number of rows we want to ready. Not the high range.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-14145) Allow the Canary in regionserver mode to try all regions on the server, not just one

2015-08-14 Thread stack (JIRA)

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

stack updated HBASE-14145:
--
Labels: beginner  (was: )

 Allow the Canary in regionserver mode to try all regions on the server, not 
 just one
 

 Key: HBASE-14145
 URL: https://issues.apache.org/jira/browse/HBASE-14145
 Project: HBase
  Issue Type: Bug
  Components: canary, util
Affects Versions: 2.0.0, 1.1.0.1
Reporter: Elliott Clark
  Labels: beginner
 Fix For: 2.0.0, 1.3.0


 We want a pretty in-depth canary that will try every region on a cluster. 
 When doing that for the whole cluster one machine is too slow, so we wanted 
 to split it up and have each regionserver run a canary. That works however 
 the canary does less work as it just tries one random region.
 Lets add a flag that will allow the canary to try all regions on a 
 regionserver.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-10844) Coprocessor failure during batchmutation leaves the memstore datastructs in an inconsistent state

2015-08-14 Thread Nick Dimiduk (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-10844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697960#comment-14697960
 ] 

Nick Dimiduk commented on HBASE-10844:
--

Thanks [~apurtell]

 Coprocessor failure during batchmutation leaves the memstore datastructs in 
 an inconsistent state
 -

 Key: HBASE-10844
 URL: https://issues.apache.org/jira/browse/HBASE-10844
 Project: HBase
  Issue Type: Bug
  Components: regionserver
Reporter: Devaraj Das
Assignee: Nick Dimiduk
 Fix For: 2.0.0, 0.98.14, 1.0.2, 1.2.0, 1.3.0, 1.1.3

 Attachments: 10844-1-0.98.txt, 10844-1.txt, 10844-v2.patch, 
 HBASE-10844.02-0.98.patch, HBASE-10844.02-branch-1.0.patch, 
 HBASE-10844.02.patch


 Observed this in the testing with Phoenix. The test in Phoenix - 
 MutableIndexFailureIT deliberately fails the batchmutation call via the 
 installed coprocessor. But the update is not rolled back. That leaves the 
 memstore inconsistent. In particular, I observed that getFlushableSize is 
 updated before the coprocessor was called but the update is not rolled back. 
 When the region is being closed at some later point, the assert introduced in 
 HBASE-10514 in the HRegion.doClose() causes the RegionServer to shutdown 
 abnormally.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-14200) Separate RegionReplica subtests of TestStochasticLoadBalancer into TestStochasticLoadBalancer2

2015-08-14 Thread Ted Yu (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-14200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697964#comment-14697964
 ] 

Ted Yu commented on HBASE-14200:


Shortening tests in TestStochasticLoadBalancer\[2\] is on my mind.

Haven't got time in implementing it though.

 Separate RegionReplica subtests of TestStochasticLoadBalancer into 
 TestStochasticLoadBalancer2
 --

 Key: HBASE-14200
 URL: https://issues.apache.org/jira/browse/HBASE-14200
 Project: HBase
  Issue Type: Test
Reporter: Ted Yu
Assignee: Ted Yu
Priority: Minor
 Fix For: 2.0.0, 1.3.0

 Attachments: 14200-v1.txt, 14200-v2.txt


 More and more functionality is added to StochasticLoadBalancer , making 
 TestStochasticLoadBalancer run longer.
 From 
 https://builds.apache.org/job/PreCommit-HBASE-Build/15011/testReport/org.apache.hadoop.hbase.master.balancer/TestStochasticLoadBalancer/
  where total runtime was 14 min, here are the longest subtests:
 testRegionReplicasOnLargeCluster: 1 min 34 sec
 testRegionReplicasOnMidCluster: 1 min 31 sec
 testRegionReplicasOnMidClusterHighReplication: 2 min
 testRegionReplicationOnMidClusterReplicationGreaterThanNumNodes: 2 min 25 sec
 This issue is to separate out the above subtests into 
 TestStochasticLoadBalancer2, giving each of the tests around 7 min runtime.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-13158) When client supports CellBlock, return the result Cells as controller payload for get(Get) API also

2015-08-14 Thread stack (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-13158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697971#comment-14697971
 ] 

stack commented on HBASE-13158:
---

Progress on this one [~anoop.hbase]? Was adding some nice functionality

 When client supports CellBlock, return the result Cells as controller payload 
 for get(Get) API also
 ---

 Key: HBASE-13158
 URL: https://issues.apache.org/jira/browse/HBASE-13158
 Project: HBase
  Issue Type: Improvement
Reporter: Anoop Sam John
Assignee: Anoop Sam John
 Fix For: 2.0.0, 1.3.0

 Attachments: 13158v4.suggestion.txt, HBASE-13158.patch, 
 HBASE-13158_V2.patch, HBASE-13158_V3.patch, HBASE-13158_V4.patch






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-13127) Add timeouts on all tests so less zombie sightings

2015-08-14 Thread stack (JIRA)

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

stack updated HBASE-13127:
--
Attachment: 13127.alternate.txt

Forgot about this one. Retry hadoopqa.

 Add timeouts on all tests so less zombie sightings
 --

 Key: HBASE-13127
 URL: https://issues.apache.org/jira/browse/HBASE-13127
 Project: HBase
  Issue Type: Improvement
  Components: test
Reporter: stack
Assignee: stack
 Attachments: 13127.alternate.txt, 13127.alternate.txt, 
 13127.alternate.txt, 13127.alternate.txt, 13127.txt, 13127v2.txt


 [~Apache9] and [~octo47] have been working hard at trying to get our builds 
 passing again. They are almost there. TRUNK just failed with a zombie 
 TestMasterObserver. Help the lads out by adding timeouts on all tests so less 
 zombie incidence... will help identify the frequent failing issues.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-12751) Allow RowLock to be reader writer

2015-08-14 Thread Elliott Clark (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-12751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697979#comment-14697979
 ] 

Elliott Clark commented on HBASE-12751:
---

Rebased and update https://reviews.facebook.net/D32079

Everything should be good.

 Allow RowLock to be reader writer
 -

 Key: HBASE-12751
 URL: https://issues.apache.org/jira/browse/HBASE-12751
 Project: HBase
  Issue Type: Bug
  Components: regionserver
Affects Versions: 2.0.0, 1.3.0
Reporter: Elliott Clark
Assignee: Elliott Clark
 Fix For: 2.0.0, 1.3.0

 Attachments: HBASE-12751-v1.patch, HBASE-12751-v10.patch, 
 HBASE-12751-v10.patch, HBASE-12751-v11.patch, HBASE-12751-v12.patch, 
 HBASE-12751-v13.patch, HBASE-12751-v14.patch, HBASE-12751-v15.patch, 
 HBASE-12751-v16.patch, HBASE-12751-v17.patch, HBASE-12751-v18.patch, 
 HBASE-12751-v19.patch, HBASE-12751-v2.patch, HBASE-12751-v3.patch, 
 HBASE-12751-v4.patch, HBASE-12751-v5.patch, HBASE-12751-v6.patch, 
 HBASE-12751-v7.patch, HBASE-12751-v8.patch, HBASE-12751-v9.patch, 
 HBASE-12751.patch


 Right now every write operation grabs a row lock. This is to prevent values 
 from changing during a read modify write operation (increment or check and 
 put). However it limits parallelism in several different scenarios.
 If there are several puts to the same row but different columns or stores 
 then this is very limiting.
 If there are puts to the same column then mvcc number should ensure a 
 consistent ordering. So locking is not needed.
 However locking for check and put or increment is still needed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HBASE-14225) Exclude **/target/** from RAT checks

2015-08-14 Thread Andrew Purtell (JIRA)
Andrew Purtell created HBASE-14225:
--

 Summary: Exclude **/target/** from RAT checks
 Key: HBASE-14225
 URL: https://issues.apache.org/jira/browse/HBASE-14225
 Project: HBase
  Issue Type: Bug
Reporter: Andrew Purtell
Assignee: Andrew Purtell
Priority: Blocker


We need to exclude **/target/** from RAT checks in order to build releases now. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-12751) Allow RowLock to be reader writer

2015-08-14 Thread Elliott Clark (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-12751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697978#comment-14697978
 ] 

Elliott Clark commented on HBASE-12751:
---

Yeah I totally want to get this in. I have just been a little more focused on 
1.2 lately. Any help would be greatly appreciated.

 Allow RowLock to be reader writer
 -

 Key: HBASE-12751
 URL: https://issues.apache.org/jira/browse/HBASE-12751
 Project: HBase
  Issue Type: Bug
  Components: regionserver
Affects Versions: 2.0.0, 1.3.0
Reporter: Elliott Clark
Assignee: Elliott Clark
 Fix For: 2.0.0, 1.3.0

 Attachments: HBASE-12751-v1.patch, HBASE-12751-v10.patch, 
 HBASE-12751-v10.patch, HBASE-12751-v11.patch, HBASE-12751-v12.patch, 
 HBASE-12751-v13.patch, HBASE-12751-v14.patch, HBASE-12751-v15.patch, 
 HBASE-12751-v16.patch, HBASE-12751-v17.patch, HBASE-12751-v18.patch, 
 HBASE-12751-v19.patch, HBASE-12751-v2.patch, HBASE-12751-v3.patch, 
 HBASE-12751-v4.patch, HBASE-12751-v5.patch, HBASE-12751-v6.patch, 
 HBASE-12751-v7.patch, HBASE-12751-v8.patch, HBASE-12751-v9.patch, 
 HBASE-12751.patch


 Right now every write operation grabs a row lock. This is to prevent values 
 from changing during a read modify write operation (increment or check and 
 put). However it limits parallelism in several different scenarios.
 If there are several puts to the same row but different columns or stores 
 then this is very limiting.
 If there are puts to the same column then mvcc number should ensure a 
 consistent ordering. So locking is not needed.
 However locking for check and put or increment is still needed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Resolved] (HBASE-13657) Improve test run time by moving setup from @Before to @BeforeClass so one-time only

2015-08-14 Thread stack (JIRA)

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

stack resolved HBASE-13657.
---
Resolution: Fixed

Resolving as fixed since all subtasks are done (or resolved as won't fix).

 Improve test run time by moving setup from @Before to @BeforeClass so 
 one-time only
 ---

 Key: HBASE-13657
 URL: https://issues.apache.org/jira/browse/HBASE-13657
 Project: HBase
  Issue Type: Umbrella
  Components: test
Reporter: Ashish Singhi
Assignee: Ashish Singhi
  Labels: beginner

 In some tests we are doing some operations in {{@Before}} and {{@After}} 
 annotated methods which are not really required to be done before and after 
 every test run, instead we can move them in {{@BeforeClass}} and 
 {{@AfterClass}} annotated methods respectively and hence improve the test run 
 time.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-13657) Improve test run time by moving setup from @Before to @BeforeClass so one-time only

2015-08-14 Thread stack (JIRA)

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

stack updated HBASE-13657:
--
Summary: Improve test run time by moving setup from @Before to @BeforeClass 
so one-time only  (was: Improve test run time)

 Improve test run time by moving setup from @Before to @BeforeClass so 
 one-time only
 ---

 Key: HBASE-13657
 URL: https://issues.apache.org/jira/browse/HBASE-13657
 Project: HBase
  Issue Type: Umbrella
  Components: test
Reporter: Ashish Singhi
Assignee: Ashish Singhi
  Labels: beginner

 In some tests we are doing some operations in {{@Before}} and {{@After}} 
 annotated methods which are not really required to be done before and after 
 every test run, instead we can move them in {{@BeforeClass}} and 
 {{@AfterClass}} annotated methods respectively and hence improve the test run 
 time.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-14186) Read mvcc vlong optimization

2015-08-14 Thread stack (JIRA)

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

stack updated HBASE-14186:
--
  Resolution: Fixed
Hadoop Flags: Reviewed
  Status: Resolved  (was: Patch Available)

Resolving. Committed to master. Can't go back to branch-1 w/o bunch of other 
backports.

 Read mvcc vlong optimization
 

 Key: HBASE-14186
 URL: https://issues.apache.org/jira/browse/HBASE-14186
 Project: HBase
  Issue Type: Sub-task
  Components: Performance, Scanners
Reporter: Anoop Sam John
Assignee: Anoop Sam John
 Fix For: 2.0.0

 Attachments: HBASE-14186.patch


 {code}
 for (int idx = 0; idx  remaining; idx++) {
   byte b = blockBuffer.getByteAfterPosition(offsetFromPos + idx);
   i = i  8;
   i = i | (b  0xFF);
 }
 {code}
 Doing the read as in case of BIG_ENDIAN.
 After HBASE-12600, we tend to keep the mvcc and so byte by byte read looks 
 eating up lot of CPU time. (In my test HFileReaderImpl#_readMvccVersion comes 
 on top in terms of hot methods). We can optimize here by reading 4 or 2 bytes 
 in one shot when the length of the vlong is more than 4 bytes. We will in 
 turn use UnsafeAccess methods which handles ENDIAN.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HBASE-13966) Limit column width in table.jsp

2015-08-14 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-13966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697729#comment-14697729
 ] 

Hudson commented on HBASE-13966:


SUCCESS: Integrated in HBase-1.2-IT #92 (See 
[https://builds.apache.org/job/HBase-1.2-IT/92/])
HBASE-13966 Limit column width in table.jsp (Matt Warhaftig) (stack: rev 
911c30b4a7f25c83cbe38daf4376f3b73b534b3a)
* hbase-server/src/main/resources/hbase-webapps/master/table.jsp


 Limit column width in table.jsp
 ---

 Key: HBASE-13966
 URL: https://issues.apache.org/jira/browse/HBASE-13966
 Project: HBase
  Issue Type: Bug
  Components: Operability, UI
Affects Versions: 1.1.0.1
Reporter: Jean-Marc Spaggiari
Assignee: Matt Warhaftig
Priority: Minor
  Labels: beginner
 Fix For: 2.0.0, 1.2.0, 1.3.0, 1.1.3

 Attachments: HBASE-13966_post.tiff, HBASE-13966_pre.tiff, 
 hbase-13966-v1.patch


 In table.jsp, for tables with very wide keys like URLs, the page can be very 
 wide. On my own cluster, this page is 8 screens wide, almost un-usable.
 Might be good to have a way to resize the columns, or wrap the long keys or 
 truncate them, or anything else. When we want to look at the last colums, 
 this is a big difficult.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-14207) Region was hijacked and remained in transition when RS failed to open a region and later regionplan changed to new RS on retry

2015-08-14 Thread stack (JIRA)

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

stack updated HBASE-14207:
--
Status: Patch Available  (was: Open)

 Region was hijacked and remained in transition when RS failed to open a 
 region and later regionplan changed to new RS on retry
 --

 Key: HBASE-14207
 URL: https://issues.apache.org/jira/browse/HBASE-14207
 Project: HBase
  Issue Type: Bug
  Components: master
Affects Versions: 0.98.6
Reporter: Pankaj Kumar
Assignee: Pankaj Kumar
Priority: Critical
 Fix For: 0.98.15

 Attachments: HBASE-14207-0.98-V2.patch, HBASE-14207-0.98.patch


 On production environment, following events happened
 1. Master is trying to assign a region to RS, but due to 
 KeeperException$SessionExpiredException RS failed to open the region.
   In RS log, saw multiple WARN log related to 
 KeeperException$SessionExpiredException 
KeeperErrorCode = Session expired for 
 /hbase/region-in-transition/08f1935d652e5dbdac09b423b8f9401b
Unable to get data of znode 
 /hbase/region-in-transition/08f1935d652e5dbdac09b423b8f9401b
 2. Master retried to assign the region to same RS, but RS again failed.
 3. On second retry new plan formed and this time plan destination (RS) is 
 different, so master send the request to new RS to open the region. But new 
 RS failed to open the region as there was server mismatch in ZNODE than the  
 expected current server name. 
 Logs Snippet:
 {noformat}
 HM
 2015-07-14 03:50:29,759 | INFO  | master:T101PC03VM13:21300 | Processing 
 08f1935d652e5dbdac09b423b8f9401b in state: M_ZK_REGION_OFFLINE | 
 org.apache.hadoop.hbase.master.AssignmentManager.processRegionsInTransition(AssignmentManager.java:644)
 2015-07-14 03:50:29,759 | INFO  | master:T101PC03VM13:21300 | Transitioned 
 {08f1935d652e5dbdac09b423b8f9401b state=OFFLINE, ts=1436817029679, 
 server=null} to {08f1935d652e5dbdac09b423b8f9401b state=PENDING_OPEN, 
 ts=1436817029759, server=T101PC03VM13,21302,1436816690692} | 
 org.apache.hadoop.hbase.master.RegionStates.updateRegionState(RegionStates.java:327)
 2015-07-14 03:50:29,760 | INFO  | master:T101PC03VM13:21300 | Processed 
 region 08f1935d652e5dbdac09b423b8f9401b in state M_ZK_REGION_OFFLINE, on 
 server: T101PC03VM13,21302,1436816690692 | 
 org.apache.hadoop.hbase.master.AssignmentManager.processRegionsInTransition(AssignmentManager.java:768)
 2015-07-14 03:50:29,800 | INFO  | 
 MASTER_SERVER_OPERATIONS-T101PC03VM13:21300-3 | Assigning 
 INTER_CONCURRENCY_SETTING,,1436596137981.08f1935d652e5dbdac09b423b8f9401b. to 
 T101PC03VM13,21302,1436816690692 | 
 org.apache.hadoop.hbase.master.AssignmentManager.assign(AssignmentManager.java:1983)
 2015-07-14 03:50:29,801 | WARN  | 
 MASTER_SERVER_OPERATIONS-T101PC03VM13:21300-3 | Failed assignment of 
 INTER_CONCURRENCY_SETTING,,1436596137981.08f1935d652e5dbdac09b423b8f9401b. to 
 T101PC03VM13,21302,1436816690692, trying to assign elsewhere instead; try=1 
 of 10 | 
 org.apache.hadoop.hbase.master.AssignmentManager.assign(AssignmentManager.java:2077)
 2015-07-14 03:50:29,802 | INFO  | 
 MASTER_SERVER_OPERATIONS-T101PC03VM13:21300-3 | Trying to re-assign 
 INTER_CONCURRENCY_SETTING,,1436596137981.08f1935d652e5dbdac09b423b8f9401b. to 
 the same failed server. | 
 org.apache.hadoop.hbase.master.AssignmentManager.assign(AssignmentManager.java:2123)
 2015-07-14 03:50:31,804 | INFO  | 
 MASTER_SERVER_OPERATIONS-T101PC03VM13:21300-3 | Assigning 
 INTER_CONCURRENCY_SETTING,,1436596137981.08f1935d652e5dbdac09b423b8f9401b. to 
 T101PC03VM13,21302,1436816690692 | 
 org.apache.hadoop.hbase.master.AssignmentManager.assign(AssignmentManager.java:1983)
 2015-07-14 03:50:31,806 | WARN  | 
 MASTER_SERVER_OPERATIONS-T101PC03VM13:21300-3 | Failed assignment of 
 INTER_CONCURRENCY_SETTING,,1436596137981.08f1935d652e5dbdac09b423b8f9401b. to 
 T101PC03VM13,21302,1436816690692, trying to assign elsewhere instead; try=2 
 of 10 | 
 org.apache.hadoop.hbase.master.AssignmentManager.assign(AssignmentManager.java:2077)
 2015-07-14 03:50:31,807 | INFO  | 
 MASTER_SERVER_OPERATIONS-T101PC03VM13:21300-3 | Transitioned 
 {08f1935d652e5dbdac09b423b8f9401b state=PENDING_OPEN, ts=1436817031804, 
 server=T101PC03VM13,21302,1436816690692} to {08f1935d652e5dbdac09b423b8f9401b 
 state=OFFLINE, ts=1436817031807, server=T101PC03VM13,21302,1436816690692} | 
 org.apache.hadoop.hbase.master.RegionStates.updateRegionState(RegionStates.java:327)
 2015-07-14 03:50:31,807 | INFO  | 
 MASTER_SERVER_OPERATIONS-T101PC03VM13:21300-3 | Assigning 
 INTER_CONCURRENCY_SETTING,,1436596137981.08f1935d652e5dbdac09b423b8f9401b. to 
 T101PC03VM14,21302,1436816997967 | 
 

[jira] [Commented] (HBASE-13914) Minor improvements to dev-support/publish_hbase_website.sh

2015-08-14 Thread stack (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-13914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14697982#comment-14697982
 ] 

stack commented on HBASE-13914:
---

+1

 Minor improvements to dev-support/publish_hbase_website.sh
 --

 Key: HBASE-13914
 URL: https://issues.apache.org/jira/browse/HBASE-13914
 Project: HBase
  Issue Type: Improvement
  Components: site
Reporter: Nick Dimiduk
Assignee: Nick Dimiduk
Priority: Minor
 Fix For: 2.0.0

 Attachments: 13914.patch


 A couple tweaks after building the site tonight.
 - needed a permgen bump on my mac with jdk7, and
 - skip checkstyle when building site.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-13902) Remove Sync RpcClientImpl

2015-08-14 Thread stack (JIRA)

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

stack updated HBASE-13902:
--
Fix Version/s: 2.0.0

 Remove Sync RpcClientImpl
 -

 Key: HBASE-13902
 URL: https://issues.apache.org/jira/browse/HBASE-13902
 Project: HBase
  Issue Type: Improvement
  Components: Client
Reporter: Jurriaan Mous
Assignee: Jurriaan Mous
 Fix For: 2.0.0

 Attachments: HBASE-13902.patch


 For an async Table api to be supported we need to remove the sync 
 RpcClientImpl. 
 For the Async Table Api some internals for scanning are changed to use async 
 apis so they can't be used with the Sync RpcClientImpl.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


  1   2   >