[jira] [Updated] (HBASE-9004) Fix Documentation around Minor compaction and ttl
[ https://issues.apache.org/jira/browse/HBASE-9004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Masatake Iwasaki updated HBASE-9004: Component/s: documentation Fix Documentation around Minor compaction and ttl - Key: HBASE-9004 URL: https://issues.apache.org/jira/browse/HBASE-9004 Project: HBase Issue Type: Task Components: documentation Reporter: Elliott Clark Assignee: Masatake Iwasaki Attachments: HBASE-9004-0.patch Minor compactions should be able to delete KeyValues outside of ttl. The docs currently suggest otherwise. We should bring them in line. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-10731) Fix environment variables typos in scripts
[ https://issues.apache.org/jira/browse/HBASE-10731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13932904#comment-13932904 ] Hudson commented on HBASE-10731: SUCCESS: Integrated in HBase-TRUNK #5004 (See [https://builds.apache.org/job/HBase-TRUNK/5004/]) HBASE-10731 Fix environment variables typos in scripts (Albert Chu) (jmhsieh: rev 1576956) * /hbase/trunk/bin/hbase-cleanup.sh * /hbase/trunk/bin/master-backup.sh * /hbase/trunk/bin/regionservers.sh * /hbase/trunk/bin/rolling-restart.sh Fix environment variables typos in scripts -- Key: HBASE-10731 URL: https://issues.apache.org/jira/browse/HBASE-10731 Project: HBase Issue Type: Bug Components: scripts Affects Versions: 0.99.0 Reporter: Albert Chu Assignee: Albert Chu Priority: Trivial Fix For: 0.96.2, 0.98.1, 0.99.0, 0.94.18 Attachments: HBASE-10731.patch I noticed in the top of many of the scripts in bin/ that the old environment variables are documented, such as {noformat} HADOOP_SSH_OPTS Options passed to ssh when running remote commands. {noformat} However, in the script code, HBASE_SSH_OPTS is clearly used. I've attached a trivial script to fix this in many locations. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HBASE-9004) Fix Documentation around Minor compaction and ttl
[ https://issues.apache.org/jira/browse/HBASE-9004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Masatake Iwasaki updated HBASE-9004: Attachment: HBASE-9004-1.patch Fix Documentation around Minor compaction and ttl - Key: HBASE-9004 URL: https://issues.apache.org/jira/browse/HBASE-9004 Project: HBase Issue Type: Task Components: documentation Reporter: Elliott Clark Assignee: Masatake Iwasaki Attachments: HBASE-9004-0.patch, HBASE-9004-1.patch Minor compactions should be able to delete KeyValues outside of ttl. The docs currently suggest otherwise. We should bring them in line. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HBASE-10616) Integration test for multi-get calls
[ https://issues.apache.org/jira/browse/HBASE-10616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Devaraj Das updated HBASE-10616: Attachment: 10616-4.txt This is a better patch. Integration test for multi-get calls Key: HBASE-10616 URL: https://issues.apache.org/jira/browse/HBASE-10616 Project: HBase Issue Type: Sub-task Reporter: Devaraj Das Assignee: Devaraj Das Attachments: 10616-1.txt, 10616-2.2.txt, 10616-3.txt, 10616-4.txt HBASE-10572 adds a test that does 'get' from client. We should add a similar test for batch gets. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-10681) Allow Hbase artifacts to deploy to remote repo other than apache
[ https://issues.apache.org/jira/browse/HBASE-10681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13932962#comment-13932962 ] Guo Ruijing commented on HBASE-10681: - JIRA is closed since Roman's solution is good Allow Hbase artifacts to deploy to remote repo other than apache Key: HBASE-10681 URL: https://issues.apache.org/jira/browse/HBASE-10681 Project: HBase Issue Type: Improvement Components: build Reporter: Guo Ruijing pom.xml in hbase write as distributionManagement site idhbase.apache.org/id nameHBase Website at hbase.apache.org/name !-- On why this is the tmp dir and not hbase.apache.org, see https://issues.apache.org/jira/browse/HBASE-7593?focusedCommentId=13555866page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13555866 -- urlfile:///tmp/url /site We expect pom.xml in hbase like hadoop can be: distributionManagement repository id${distMgmtStagingId}/id name${distMgmtStagingName}/name url${distMgmtStagingUrl}/url /repository snapshotRepository id${distMgmtSnapshotsId}/id name${distMgmtSnapshotsName}/name url${distMgmtSnapshotsUrl}/url /snapshotRepository site idhbase.apache.org/id nameHBase Website at hbase.apache.org/name !-- On why this is the tmp dir and not hbase.apache.org, see https://issues.apache.org/jira/browse/HBASE-7593?focusedCommentId=13555866page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13555866 -- urlfile:///tmp/url /site /distributionManagement -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Resolved] (HBASE-10681) Allow Hbase artifacts to deploy to remote repo other than apache
[ https://issues.apache.org/jira/browse/HBASE-10681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Guo Ruijing resolved HBASE-10681. - Resolution: Won't Fix Allow Hbase artifacts to deploy to remote repo other than apache Key: HBASE-10681 URL: https://issues.apache.org/jira/browse/HBASE-10681 Project: HBase Issue Type: Improvement Components: build Reporter: Guo Ruijing pom.xml in hbase write as distributionManagement site idhbase.apache.org/id nameHBase Website at hbase.apache.org/name !-- On why this is the tmp dir and not hbase.apache.org, see https://issues.apache.org/jira/browse/HBASE-7593?focusedCommentId=13555866page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13555866 -- urlfile:///tmp/url /site We expect pom.xml in hbase like hadoop can be: distributionManagement repository id${distMgmtStagingId}/id name${distMgmtStagingName}/name url${distMgmtStagingUrl}/url /repository snapshotRepository id${distMgmtSnapshotsId}/id name${distMgmtSnapshotsName}/name url${distMgmtSnapshotsUrl}/url /snapshotRepository site idhbase.apache.org/id nameHBase Website at hbase.apache.org/name !-- On why this is the tmp dir and not hbase.apache.org, see https://issues.apache.org/jira/browse/HBASE-7593?focusedCommentId=13555866page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13555866 -- urlfile:///tmp/url /site /distributionManagement -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HBASE-10549) When there is a hole, LoadIncrementalHFiles will hang in an infinite loop.
[ https://issues.apache.org/jira/browse/HBASE-10549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuanxinen updated HBASE-10549: -- Attachment: HBASE-10549-trunk-2014-03-13.patch Thank you for your comments. I made some changes, such as dividing the check into three branches,useing MetaEditor.deleteRegion instead of deleteMetaInfo method,and other small changes. Please review. When there is a hole, LoadIncrementalHFiles will hang in an infinite loop. -- Key: HBASE-10549 URL: https://issues.apache.org/jira/browse/HBASE-10549 Project: HBase Issue Type: Bug Components: HFile Affects Versions: 0.98.0, 0.94.11, 0.96.1.1 Reporter: yuanxinen Assignee: yuanxinen Attachments: HBASE-10549-trunk-2014-03-13.patch, HBASE-10549-trunk.patch First,I explan my test steps. 1.importtsv 2.split the region 3.delete the region info from .META.(make a hole) 4.LoadIncrementalHFiles (this step will hung up in an infinite loop) I check the log,there are two issues 1.it create _tmp folder in an infinite loop. hdfs://hacluster/output3/i/_tmp/_tmp/_tmp/_tmp/_tmp/_tmp/test_table,136.bottom 2.when slpliting the hfile,it put the first line data(1211) into two files(top and bottom) Input File=hdfs://hacluster/output3/i/3ac6ec287c644a8fb72d96b13e31f576,outFile=hdfs://hacluster/output3/i/_tmp/test_table,2.top,KeyValue=1211/i:value/1390469306407/Put/vlen=1/ts=0 Input File=hdfs://hacluster/output3/i/3ac6ec287c644a8fb72d96b13e31f576,outFile=hdfs://hacluster/output3/i/_tmp/test_table,2.bottom,KeyValue=1211/i:value/1390469306407/Put/vlen=1/ts=0 and then I check the code. So I think before spliting the hfile,we should check the consistency of startkey and endkey,if something wrong,we should throw the exception,and stop LoadIncrementalHFiles. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-9004) Fix Documentation around Minor compaction and ttl
[ https://issues.apache.org/jira/browse/HBASE-9004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13932965#comment-13932965 ] Hadoop QA commented on HBASE-9004: -- {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12634355/HBASE-9004-1.patch against trunk revision . ATTACHMENT ID: 12634355 {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 patch that doesn't require tests. {color:green}+1 hadoop1.0{color}. The patch compiles against the hadoop 1.0 profile. {color:green}+1 hadoop1.1{color}. The patch compiles against the hadoop 1.1 profile. {color:red}-1 javadoc{color}. The javadoc tool appears to have generated 2 warning messages. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 findbugs{color}. The patch does not introduce any new Findbugs (version 1.3.9) 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 site goal succeeds with this patch. {color:red}-1 core tests{color}. The patch failed these unit tests: org.apache.hadoop.hbase.client.TestHCM Test results: https://builds.apache.org/job/PreCommit-HBASE-Build/8964//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8964//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-protocol.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8964//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-thrift.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8964//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-client.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8964//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop2-compat.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8964//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-examples.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8964//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-prefix-tree.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8964//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-common.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8964//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-server.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8964//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.html Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/8964//console This message is automatically generated. Fix Documentation around Minor compaction and ttl - Key: HBASE-9004 URL: https://issues.apache.org/jira/browse/HBASE-9004 Project: HBase Issue Type: Task Components: documentation Reporter: Elliott Clark Assignee: Masatake Iwasaki Attachments: HBASE-9004-0.patch, HBASE-9004-1.patch Minor compactions should be able to delete KeyValues outside of ttl. The docs currently suggest otherwise. We should bring them in line. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HBASE-10549) When there is a hole, LoadIncrementalHFiles will hang in an infinite loop.
[ https://issues.apache.org/jira/browse/HBASE-10549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] rajeshbabu updated HBASE-10549: --- Fix Version/s: 0.98.2 0.94.18 0.99.0 0.96.2 When there is a hole, LoadIncrementalHFiles will hang in an infinite loop. -- Key: HBASE-10549 URL: https://issues.apache.org/jira/browse/HBASE-10549 Project: HBase Issue Type: Bug Components: HFile Affects Versions: 0.98.0, 0.94.11, 0.96.1.1 Reporter: yuanxinen Assignee: yuanxinen Fix For: 0.96.2, 0.99.0, 0.94.18, 0.98.2 Attachments: HBASE-10549-trunk-2014-03-13.patch, HBASE-10549-trunk.patch First,I explan my test steps. 1.importtsv 2.split the region 3.delete the region info from .META.(make a hole) 4.LoadIncrementalHFiles (this step will hung up in an infinite loop) I check the log,there are two issues 1.it create _tmp folder in an infinite loop. hdfs://hacluster/output3/i/_tmp/_tmp/_tmp/_tmp/_tmp/_tmp/test_table,136.bottom 2.when slpliting the hfile,it put the first line data(1211) into two files(top and bottom) Input File=hdfs://hacluster/output3/i/3ac6ec287c644a8fb72d96b13e31f576,outFile=hdfs://hacluster/output3/i/_tmp/test_table,2.top,KeyValue=1211/i:value/1390469306407/Put/vlen=1/ts=0 Input File=hdfs://hacluster/output3/i/3ac6ec287c644a8fb72d96b13e31f576,outFile=hdfs://hacluster/output3/i/_tmp/test_table,2.bottom,KeyValue=1211/i:value/1390469306407/Put/vlen=1/ts=0 and then I check the code. So I think before spliting the hfile,we should check the consistency of startkey and endkey,if something wrong,we should throw the exception,and stop LoadIncrementalHFiles. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-10701) Cache invalidation improvements from client side
[ https://issues.apache.org/jira/browse/HBASE-10701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933004#comment-13933004 ] Nicolas Liochon commented on HBASE-10701: - bq. So locateRegionInMeta() call MIGHT return HRL Hum, then we can have an issue here I think {code} private RegionLocations findDestLocation( TableName tableName, Row row, boolean checkPrimary) throws IOException { if (row == null) throw new IllegalArgumentException(# + id + , row cannot be null); RegionLocations loc = hConnection.locateRegionAll(tableName, row.getRow()); if (loc == null || (checkPrimary (loc.isEmpty() || loc.getDefaultRegionLocation() == null || loc.getDefaultRegionLocation().getServerName() == null))) { throw new IOException(# + id + , no location found, aborting submit for + tableName= + tableName + rowkey= + Arrays.toString(row.getRow())); } return loc; } {code} The cache might return something with a null server name, w/o retrying to go to meta. The caller will get the exception, and will think after a lot of retry we can't get the location, so we're bad, so we stop I'm not totally sure I'm right, because we're not looking for the secondary replicas here. bq. It is inside a while loop. Not the first one for the main replica :-) bq. But you agree with the RetriesExhausted to be tried on every server no matter what, right ? It so extreme that I don't really know. I suppose that whatever you do it's going to be difficult at the end :-). I'm +1 whatever the final choice here. Cache invalidation improvements from client side Key: HBASE-10701 URL: https://issues.apache.org/jira/browse/HBASE-10701 Project: HBase Issue Type: Sub-task Reporter: Enis Soztutar Assignee: Enis Soztutar Fix For: hbase-10070 Attachments: hbase-10701_v1.patch, hbase-10701_v2.patch Running the integration test in HBASE-10572, and HBASE-10355, it seems that we need some changes for cache invalidation of meta entries from the client side in backup RPCs. Mainly the RPC's made for replicas should not invalidate the cache for all the replicas (for example on RegionMovedException, connection error etc). -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HBASE-7847) Use zookeeper multi to clear znodes
[ https://issues.apache.org/jira/browse/HBASE-7847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rakesh R updated HBASE-7847: Attachment: HBASE-7847.patch Use zookeeper multi to clear znodes --- Key: HBASE-7847 URL: https://issues.apache.org/jira/browse/HBASE-7847 Project: HBase Issue Type: Sub-task Reporter: Ted Yu Attachments: 7847-v1.txt, HBASE-7847.patch, HBASE-7847.patch In ZKProcedureUtil, clearChildZNodes() and clearZNodes(String procedureName) should utilize zookeeper multi so that they're atomic -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-7847) Use zookeeper multi to clear znodes
[ https://issues.apache.org/jira/browse/HBASE-7847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933017#comment-13933017 ] Rakesh R commented on HBASE-7847: - Thank you Ted, Stack for the comments. Could you please have a look at the new patch. Have made the following changes: - Handled InterruptedException - Implemented the deleteChildrenRecursively api similar to the existing multiOrSequential api structure. Also, IMHO we can expose new util api ZKUtil#deleteChildrenRecursivelyMultiOrSequential to everyone. -Rakesh Use zookeeper multi to clear znodes --- Key: HBASE-7847 URL: https://issues.apache.org/jira/browse/HBASE-7847 Project: HBase Issue Type: Sub-task Reporter: Ted Yu Attachments: 7847-v1.txt, HBASE-7847.patch, HBASE-7847.patch In ZKProcedureUtil, clearChildZNodes() and clearZNodes(String procedureName) should utilize zookeeper multi so that they're atomic -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-10531) Revisit how the key byte[] is passed to HFileScanner.seekTo and reseekTo
[ https://issues.apache.org/jira/browse/HBASE-10531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933021#comment-13933021 ] ramkrishna.s.vasudevan commented on HBASE-10531: bq.But I'd say KV methods should take KVs, not Cells? If it takes Cells, could be comparing a non-KV and it could actually work? Is this what we want? Maybe this is just uglyness left over from how KV has been used/abused up to this? But I'm thinking these compares would be Cell compares out in a CellUtil or CellCompare class? See HBASE-10532. All the above compares have been moved over there. But for this JIRA I have still maintained things as KVComparator. Did not want to change the KVComparator part here. I could change that also and call CellUtil or CellComparator. Let me see how to handle that here. bq.Shouldn't this be unsupportedoperationexception in your new key only class? I think yes. But I faced some issue, hence added it. Let me check it once again in the next patch. bq.Why we have to create new key when we pass to a comparator? I will add suitable comments. bq.Should it be an offset? We do this '0' in a few places. Where ever offset is needed I have used that. whereever 0 is needed I have used 0. I can cross check once again. bq.So, this is the replacement: seekToKeyInBlock ? Purge the old stuff I did not do that just for sake of easy review. Will purge all the duplicate code. bq.{ The array of byte arrays has Cells in it or it seems KVs? Will it always be arrays of byte arrays? I would suggest in the follow up JIRAs we can change to Cells? rather than byte[] All the last comments are about the refactoring part. I have not removed the old code and hence you say them. I can remove them too. testReseek() i will change to work with Cells, but thing to be noted is that previously it was working with RawBytecomparator, am planning to change to KVComparator only. Same with TestSeekTo. Revisit how the key byte[] is passed to HFileScanner.seekTo and reseekTo Key: HBASE-10531 URL: https://issues.apache.org/jira/browse/HBASE-10531 Project: HBase Issue Type: Sub-task Reporter: ramkrishna.s.vasudevan Assignee: ramkrishna.s.vasudevan Fix For: 0.99.0 Attachments: HBASE-10531.patch, HBASE-10531_1.patch, HBASE-10531_2.patch Currently the byte[] key passed to HFileScanner.seekTo and HFileScanner.reseekTo, is a combination of row, cf, qual, type and ts. And the caller forms this by using kv.getBuffer, which is actually deprecated. So see how this can be achieved considering kv.getBuffer is removed. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-10531) Revisit how the key byte[] is passed to HFileScanner.seekTo and reseekTo
[ https://issues.apache.org/jira/browse/HBASE-10531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933022#comment-13933022 ] ramkrishna.s.vasudevan commented on HBASE-10531: Thanks for the review Stack. I have an rb link also, which would help to review better. Will keep updating my patch over there too. https://reviews.apache.org/r/18570/ Let me come up with a complete micro benchmark after updating the comments and remvoing the duplicate code. Revisit how the key byte[] is passed to HFileScanner.seekTo and reseekTo Key: HBASE-10531 URL: https://issues.apache.org/jira/browse/HBASE-10531 Project: HBase Issue Type: Sub-task Reporter: ramkrishna.s.vasudevan Assignee: ramkrishna.s.vasudevan Fix For: 0.99.0 Attachments: HBASE-10531.patch, HBASE-10531_1.patch, HBASE-10531_2.patch Currently the byte[] key passed to HFileScanner.seekTo and HFileScanner.reseekTo, is a combination of row, cf, qual, type and ts. And the caller forms this by using kv.getBuffer, which is actually deprecated. So see how this can be achieved considering kv.getBuffer is removed. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-9800) Impl CoprocessorRowcounter to run in command-line
[ https://issues.apache.org/jira/browse/HBASE-9800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933036#comment-13933036 ] chendihao commented on HBASE-9800: -- Thank [~yuzhih...@gmail.com] for reviewing. 1. I will update the license header. 2. LocalFileSink can be used when we set coprocessor.rowcounter.sink as org.apache.hadoop.hbase.coprocessor.example.CoprocessorRowcounter$LocalFileSink in the configuration file. 3. We periodically count the rows, so we need to indicate the date of the data. It's not so general but meets our requirements. 4. The patch for trunk will be uploaded later if we need it. Impl CoprocessorRowcounter to run in command-line - Key: HBASE-9800 URL: https://issues.apache.org/jira/browse/HBASE-9800 Project: HBase Issue Type: New Feature Components: Coprocessors Affects Versions: 0.94.3 Reporter: chendihao Assignee: chendihao Priority: Minor Attachments: HBASE-9800-0.94-v1.patch We want to count the rows of table daily but the default rowcounter using mapreduce is inefficient. Impl rowcounter using coprocessor makes it better. Furthermore, It must provide the mechanism to choose the way to output result. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-1734) Priority queue sorted replication policy
[ https://issues.apache.org/jira/browse/HBASE-1734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933046#comment-13933046 ] Alvaro Garcia Recuero commented on HBASE-1734: -- Here is my proposal [~apurtell]: https://docs.google.com/document/d/1xFEDykLcNVWrfPIWeDycvZ44eMpXGioZ4B7fP3Bl0rE/edit?usp=sharing. If validated I will upload here the design doc later. Will post further information soon from my side. Thank you. Priority queue sorted replication policy Key: HBASE-1734 URL: https://issues.apache.org/jira/browse/HBASE-1734 Project: HBase Issue Type: New Feature Components: Replication Reporter: Andrew Purtell Implement a multi-level priority queue sorted replication policy which plugs into the replication framework (HBASE-1733). Split incoming logs. Sort outbound edits by priority. One option is to consider each column family's replication policy tag as an index into a deadline table for EDF scheduling (http://en.wikipedia.org/wiki/Earliest_deadline_first_scheduling). -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-10549) When there is a hole, LoadIncrementalHFiles will hang in an infinite loop.
[ https://issues.apache.org/jira/browse/HBASE-10549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933049#comment-13933049 ] Hadoop QA commented on HBASE-10549: --- {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12634383/HBASE-10549-trunk-2014-03-13.patch against trunk revision . ATTACHMENT ID: 12634383 {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 hadoop1.0{color}. The patch compiles against the hadoop 1.0 profile. {color:green}+1 hadoop1.1{color}. The patch compiles against the hadoop 1.1 profile. {color:red}-1 javadoc{color}. The javadoc tool appears to have generated 2 warning messages. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 findbugs{color}. The patch does not introduce any new Findbugs (version 1.3.9) 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 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/8965//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8965//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-protocol.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8965//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-thrift.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8965//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-client.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8965//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop2-compat.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8965//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-examples.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8965//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-prefix-tree.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8965//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-common.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8965//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-server.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8965//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.html Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/8965//console This message is automatically generated. When there is a hole, LoadIncrementalHFiles will hang in an infinite loop. -- Key: HBASE-10549 URL: https://issues.apache.org/jira/browse/HBASE-10549 Project: HBase Issue Type: Bug Components: HFile Affects Versions: 0.98.0, 0.94.11, 0.96.1.1 Reporter: yuanxinen Assignee: yuanxinen Fix For: 0.96.2, 0.99.0, 0.94.18, 0.98.2 Attachments: HBASE-10549-trunk-2014-03-13.patch, HBASE-10549-trunk.patch First,I explan my test steps. 1.importtsv 2.split the region 3.delete the region info from .META.(make a hole) 4.LoadIncrementalHFiles (this step will hung up in an infinite loop) I check the log,there are two issues 1.it create _tmp folder in an infinite loop. hdfs://hacluster/output3/i/_tmp/_tmp/_tmp/_tmp/_tmp/_tmp/test_table,136.bottom 2.when slpliting the hfile,it put the first line data(1211) into two files(top and bottom) Input File=hdfs://hacluster/output3/i/3ac6ec287c644a8fb72d96b13e31f576,outFile=hdfs://hacluster/output3/i/_tmp/test_table,2.top,KeyValue=1211/i:value/1390469306407/Put/vlen=1/ts=0 Input File=hdfs://hacluster/output3/i/3ac6ec287c644a8fb72d96b13e31f576,outFile=hdfs://hacluster/output3/i/_tmp/test_table,2.bottom,KeyValue=1211/i:value/1390469306407/Put/vlen=1/ts=0 and then I check the code. So I think before spliting the hfile,we should check the consistency of startkey and endkey,if something wrong,we should throw the exception,and stop LoadIncrementalHFiles. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-10531) Revisit how the key byte[] is passed to HFileScanner.seekTo and reseekTo
[ https://issues.apache.org/jira/browse/HBASE-10531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933071#comment-13933071 ] ramkrishna.s.vasudevan commented on HBASE-10531: bq.The ByteBuffers here come from where? It is already as per the existing logic. {code} ByteBuffer buffer = block.getBufferWithoutHeader(); index = locateNonRootIndexEntry(buffer, key, comparator); {code} Revisit how the key byte[] is passed to HFileScanner.seekTo and reseekTo Key: HBASE-10531 URL: https://issues.apache.org/jira/browse/HBASE-10531 Project: HBase Issue Type: Sub-task Reporter: ramkrishna.s.vasudevan Assignee: ramkrishna.s.vasudevan Fix For: 0.99.0 Attachments: HBASE-10531.patch, HBASE-10531_1.patch, HBASE-10531_2.patch Currently the byte[] key passed to HFileScanner.seekTo and HFileScanner.reseekTo, is a combination of row, cf, qual, type and ts. And the caller forms this by using kv.getBuffer, which is actually deprecated. So see how this can be achieved considering kv.getBuffer is removed. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-7847) Use zookeeper multi to clear znodes
[ https://issues.apache.org/jira/browse/HBASE-7847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933075#comment-13933075 ] Hadoop QA commented on HBASE-7847: -- {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12634398/HBASE-7847.patch against trunk revision . ATTACHMENT ID: 12634398 {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 hadoop1.0{color}. The patch compiles against the hadoop 1.0 profile. {color:green}+1 hadoop1.1{color}. The patch compiles against the hadoop 1.1 profile. {color:red}-1 javadoc{color}. The javadoc tool appears to have generated 2 warning messages. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 findbugs{color}. The patch does not introduce any new Findbugs (version 1.3.9) 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: + * BFS Traversal of all the children under path, with the entries in the list, in the same order as + * Delete all the children of the specified nodes but not the nodes itself. Sets no watches. Throws {color:green}+1 site{color}. The mvn 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.regionserver.wal.TestLogRolling.testLogRollOnDatanodeDeath(TestLogRolling.java:368) Test results: https://builds.apache.org/job/PreCommit-HBASE-Build/8966//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8966//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop2-compat.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8966//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-prefix-tree.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8966//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-client.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8966//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-common.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8966//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-protocol.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8966//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-server.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8966//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-examples.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8966//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-thrift.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8966//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.html Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/8966//console This message is automatically generated. Use zookeeper multi to clear znodes --- Key: HBASE-7847 URL: https://issues.apache.org/jira/browse/HBASE-7847 Project: HBase Issue Type: Sub-task Reporter: Ted Yu Attachments: 7847-v1.txt, HBASE-7847.patch, HBASE-7847.patch In ZKProcedureUtil, clearChildZNodes() and clearZNodes(String procedureName) should utilize zookeeper multi so that they're atomic -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-10531) Revisit how the key byte[] is passed to HFileScanner.seekTo and reseekTo
[ https://issues.apache.org/jira/browse/HBASE-10531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933087#comment-13933087 ] ramkrishna.s.vasudevan commented on HBASE-10531: I think for now we need to add Cell comparison methods in KVComparator also, because we have lot of code internally that references this Kvcomparator and calls comparator.compareXXX(). So I would suggest we could make the change in using a CellComparator in another JIRA. If not for now I will do this {code} protected int compareRowKey(final Cell left, final Cell right) { CellComparator.compareRows(left, right); } {code} Revisit how the key byte[] is passed to HFileScanner.seekTo and reseekTo Key: HBASE-10531 URL: https://issues.apache.org/jira/browse/HBASE-10531 Project: HBase Issue Type: Sub-task Reporter: ramkrishna.s.vasudevan Assignee: ramkrishna.s.vasudevan Fix For: 0.99.0 Attachments: HBASE-10531.patch, HBASE-10531_1.patch, HBASE-10531_2.patch Currently the byte[] key passed to HFileScanner.seekTo and HFileScanner.reseekTo, is a combination of row, cf, qual, type and ts. And the caller forms this by using kv.getBuffer, which is actually deprecated. So see how this can be achieved considering kv.getBuffer is removed. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-10531) Revisit how the key byte[] is passed to HFileScanner.seekTo and reseekTo
[ https://issues.apache.org/jira/browse/HBASE-10531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933149#comment-13933149 ] ramkrishna.s.vasudevan commented on HBASE-10531: Am also planning to remove the RawBytesComparator in all the testcases. Once changing to cell this comparison may not work correctly. Revisit how the key byte[] is passed to HFileScanner.seekTo and reseekTo Key: HBASE-10531 URL: https://issues.apache.org/jira/browse/HBASE-10531 Project: HBase Issue Type: Sub-task Reporter: ramkrishna.s.vasudevan Assignee: ramkrishna.s.vasudevan Fix For: 0.99.0 Attachments: HBASE-10531.patch, HBASE-10531_1.patch, HBASE-10531_2.patch Currently the byte[] key passed to HFileScanner.seekTo and HFileScanner.reseekTo, is a combination of row, cf, qual, type and ts. And the caller forms this by using kv.getBuffer, which is actually deprecated. So see how this can be achieved considering kv.getBuffer is removed. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HBASE-9800) Impl CoprocessorRowcounter to run in command-line
[ https://issues.apache.org/jira/browse/HBASE-9800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] chendihao updated HBASE-9800: - Attachment: HBASE-9800-0.94-v2.patch patch for 0.94 v2 Impl CoprocessorRowcounter to run in command-line - Key: HBASE-9800 URL: https://issues.apache.org/jira/browse/HBASE-9800 Project: HBase Issue Type: New Feature Components: Coprocessors Affects Versions: 0.94.3 Reporter: chendihao Assignee: chendihao Priority: Minor Attachments: HBASE-9800-0.94-v1.patch, HBASE-9800-0.94-v2.patch We want to count the rows of table daily but the default rowcounter using mapreduce is inefficient. Impl rowcounter using coprocessor makes it better. Furthermore, It must provide the mechanism to choose the way to output result. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Created] (HBASE-10736) Fix Javadoc warnings introduced in HBASE-10169
rajeshbabu created HBASE-10736: -- Summary: Fix Javadoc warnings introduced in HBASE-10169 Key: HBASE-10736 URL: https://issues.apache.org/jira/browse/HBASE-10736 Project: HBase Issue Type: Bug Affects Versions: 0.98.0 Reporter: rajeshbabu Fix For: 0.98.1, 0.99.0 Fix below two javadoc warnings introduced as part of HBASE-10169 {code} 2 warnings [WARNING] Javadoc Warnings [WARNING] D:\D\hbaseCommunity\hbaseTrunkTest\hbase-client\src\main\java\org\apache\hadoop\hbase\client\RegionCoprocessorServiceExec.java:43: warning - Tag @link: can't find batchCoprocessorService(MethodDescriptor, Message, byte[], byte[], [WARNING] Message, Batch.Callback) in org.apache.hadoop.hbase.client.HTable [WARNING] D:\D\hbaseCommunity\hbaseTrunkTest\hbase-client\src\main\java\org\apache\hadoop\hbase\client\RegionCoprocessorServiceExec.java:43: warning - Tag @link: can't find batchCoprocessorService(MethodDescriptor, Message, byte[], byte[], Message) in org.apache.hadoop.hbase.client.HTable {code} -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-10549) When there is a hole, LoadIncrementalHFiles will hang in an infinite loop.
[ https://issues.apache.org/jira/browse/HBASE-10549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933166#comment-13933166 ] rajeshbabu commented on HBASE-10549: +1 The javadoc warnings are not related to this issue(Raised HBASE-10736 to fix them). [~Auraro] Please make patch for 0.94 also. Thanks for working on this. When there is a hole, LoadIncrementalHFiles will hang in an infinite loop. -- Key: HBASE-10549 URL: https://issues.apache.org/jira/browse/HBASE-10549 Project: HBase Issue Type: Bug Components: HFile Affects Versions: 0.98.0, 0.94.11, 0.96.1.1 Reporter: yuanxinen Assignee: yuanxinen Fix For: 0.96.2, 0.99.0, 0.94.18, 0.98.2 Attachments: HBASE-10549-trunk-2014-03-13.patch, HBASE-10549-trunk.patch First,I explan my test steps. 1.importtsv 2.split the region 3.delete the region info from .META.(make a hole) 4.LoadIncrementalHFiles (this step will hung up in an infinite loop) I check the log,there are two issues 1.it create _tmp folder in an infinite loop. hdfs://hacluster/output3/i/_tmp/_tmp/_tmp/_tmp/_tmp/_tmp/test_table,136.bottom 2.when slpliting the hfile,it put the first line data(1211) into two files(top and bottom) Input File=hdfs://hacluster/output3/i/3ac6ec287c644a8fb72d96b13e31f576,outFile=hdfs://hacluster/output3/i/_tmp/test_table,2.top,KeyValue=1211/i:value/1390469306407/Put/vlen=1/ts=0 Input File=hdfs://hacluster/output3/i/3ac6ec287c644a8fb72d96b13e31f576,outFile=hdfs://hacluster/output3/i/_tmp/test_table,2.bottom,KeyValue=1211/i:value/1390469306407/Put/vlen=1/ts=0 and then I check the code. So I think before spliting the hfile,we should check the consistency of startkey and endkey,if something wrong,we should throw the exception,and stop LoadIncrementalHFiles. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HBASE-8963) Add configuration option to skip HFile archiving
[ https://issues.apache.org/jira/browse/HBASE-8963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] bharath v updated HBASE-8963: - Attachment: HBASE-8963.trunk.v1.patch Add configuration option to skip HFile archiving Key: HBASE-8963 URL: https://issues.apache.org/jira/browse/HBASE-8963 Project: HBase Issue Type: Improvement Reporter: Ted Yu Assignee: bharath v Attachments: HBASE-8963.trunk.v1.patch Currently HFileArchiver is always called when a table is dropped. A configuration option (either global or per table) should be provided so that archiving can be skipped when table is deleted. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HBASE-8963) Add configuration option to skip HFile archiving
[ https://issues.apache.org/jira/browse/HBASE-8963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] bharath v updated HBASE-8963: - Status: Patch Available (was: Open) Add configuration option to skip HFile archiving Key: HBASE-8963 URL: https://issues.apache.org/jira/browse/HBASE-8963 Project: HBase Issue Type: Improvement Reporter: Ted Yu Assignee: bharath v Attachments: HBASE-8963.trunk.v1.patch Currently HFileArchiver is always called when a table is dropped. A configuration option (either global or per table) should be provided so that archiving can be skipped when table is deleted. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HBASE-5175) Add DoubleColumnInterpreter
[ https://issues.apache.org/jira/browse/HBASE-5175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Wissmann updated HBASE-5175: --- Attachment: DoubleColumnInterpreter.patch Patch created -Wrapped long lines -Fixed Comment in DoubleColumnInterpreter to reference correct test -Added License Headers Are there any guidelines on formatting Protobuf autogenerated code, correctly? I autoindented that causing the patch to grow unnecessarily big. Add DoubleColumnInterpreter --- Key: HBASE-5175 URL: https://issues.apache.org/jira/browse/HBASE-5175 Project: HBase Issue Type: Sub-task Reporter: Ted Yu Assignee: Julian Wissmann Labels: aggregator, features Fix For: 0.99.0 Attachments: DoubleColumnInterpreter.java, DoubleColumnInterpreter.patch, HBase.proto, TestDoubleColumnInterpreter.java DoubleColumnInterpreter was requested by Royston Sellman. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-8963) Add configuration option to skip HFile archiving
[ https://issues.apache.org/jira/browse/HBASE-8963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933222#comment-13933222 ] Matteo Bertozzi commented on HBASE-8963: so, you are currently skipping the archive just for Delete Table? what about compactions and others? I think that you should move the if (skipArchive) inside the archiver, since everyone is calling the archiver... and the inside the archiver you check the skipArchive property. In this way you don't have to put if (skipArchive) all around. Add configuration option to skip HFile archiving Key: HBASE-8963 URL: https://issues.apache.org/jira/browse/HBASE-8963 Project: HBase Issue Type: Improvement Reporter: Ted Yu Assignee: bharath v Attachments: HBASE-8963.trunk.v1.patch Currently HFileArchiver is always called when a table is dropped. A configuration option (either global or per table) should be provided so that archiving can be skipped when table is deleted. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HBASE-7847) Use zookeeper multi to clear znodes
[ https://issues.apache.org/jira/browse/HBASE-7847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rakesh R updated HBASE-7847: Attachment: HBASE-7847.patch Use zookeeper multi to clear znodes --- Key: HBASE-7847 URL: https://issues.apache.org/jira/browse/HBASE-7847 Project: HBase Issue Type: Sub-task Reporter: Ted Yu Attachments: 7847-v1.txt, HBASE-7847.patch, HBASE-7847.patch, HBASE-7847.patch In ZKProcedureUtil, clearChildZNodes() and clearZNodes(String procedureName) should utilize zookeeper multi so that they're atomic -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-7847) Use zookeeper multi to clear znodes
[ https://issues.apache.org/jira/browse/HBASE-7847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933231#comment-13933231 ] Rakesh R commented on HBASE-7847: - Attached one more patch where I have, - included few tests - corrected '-1 lineLengths' I failed to get the javadocs test failure problems, is that related to my patch ? Use zookeeper multi to clear znodes --- Key: HBASE-7847 URL: https://issues.apache.org/jira/browse/HBASE-7847 Project: HBase Issue Type: Sub-task Reporter: Ted Yu Attachments: 7847-v1.txt, HBASE-7847.patch, HBASE-7847.patch, HBASE-7847.patch In ZKProcedureUtil, clearChildZNodes() and clearZNodes(String procedureName) should utilize zookeeper multi so that they're atomic -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-8963) Add configuration option to skip HFile archiving
[ https://issues.apache.org/jira/browse/HBASE-8963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933274#comment-13933274 ] Hadoop QA commented on HBASE-8963: -- {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12634422/HBASE-8963.trunk.v1.patch against trunk revision . ATTACHMENT ID: 12634422 {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:red}-1 patch{color}. The patch command could not apply the patch. Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/8968//console This message is automatically generated. Add configuration option to skip HFile archiving Key: HBASE-8963 URL: https://issues.apache.org/jira/browse/HBASE-8963 Project: HBase Issue Type: Improvement Reporter: Ted Yu Assignee: bharath v Attachments: HBASE-8963.trunk.v1.patch Currently HFileArchiver is always called when a table is dropped. A configuration option (either global or per table) should be provided so that archiving can be skipped when table is deleted. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-10549) When there is a hole, LoadIncrementalHFiles will hang in an infinite loop.
[ https://issues.apache.org/jira/browse/HBASE-10549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933267#comment-13933267 ] Ted Yu commented on HBASE-10549: +1 When there is a hole, LoadIncrementalHFiles will hang in an infinite loop. -- Key: HBASE-10549 URL: https://issues.apache.org/jira/browse/HBASE-10549 Project: HBase Issue Type: Bug Components: HFile Affects Versions: 0.98.0, 0.94.11, 0.96.1.1 Reporter: yuanxinen Assignee: yuanxinen Fix For: 0.96.2, 0.99.0, 0.94.18, 0.98.2 Attachments: HBASE-10549-trunk-2014-03-13.patch, HBASE-10549-trunk.patch First,I explan my test steps. 1.importtsv 2.split the region 3.delete the region info from .META.(make a hole) 4.LoadIncrementalHFiles (this step will hung up in an infinite loop) I check the log,there are two issues 1.it create _tmp folder in an infinite loop. hdfs://hacluster/output3/i/_tmp/_tmp/_tmp/_tmp/_tmp/_tmp/test_table,136.bottom 2.when slpliting the hfile,it put the first line data(1211) into two files(top and bottom) Input File=hdfs://hacluster/output3/i/3ac6ec287c644a8fb72d96b13e31f576,outFile=hdfs://hacluster/output3/i/_tmp/test_table,2.top,KeyValue=1211/i:value/1390469306407/Put/vlen=1/ts=0 Input File=hdfs://hacluster/output3/i/3ac6ec287c644a8fb72d96b13e31f576,outFile=hdfs://hacluster/output3/i/_tmp/test_table,2.bottom,KeyValue=1211/i:value/1390469306407/Put/vlen=1/ts=0 and then I check the code. So I think before spliting the hfile,we should check the consistency of startkey and endkey,if something wrong,we should throw the exception,and stop LoadIncrementalHFiles. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-7847) Use zookeeper multi to clear znodes
[ https://issues.apache.org/jira/browse/HBASE-7847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933328#comment-13933328 ] rajeshbabu commented on HBASE-7847: --- Latest patch lgtm. Nice tests [~rakeshr]. Use zookeeper multi to clear znodes --- Key: HBASE-7847 URL: https://issues.apache.org/jira/browse/HBASE-7847 Project: HBase Issue Type: Sub-task Reporter: Ted Yu Attachments: 7847-v1.txt, HBASE-7847.patch, HBASE-7847.patch, HBASE-7847.patch In ZKProcedureUtil, clearChildZNodes() and clearZNodes(String procedureName) should utilize zookeeper multi so that they're atomic -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-10549) When there is a hole, LoadIncrementalHFiles will hang in an infinite loop.
[ https://issues.apache.org/jira/browse/HBASE-10549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=1391#comment-1391 ] rajeshbabu commented on HBASE-10549: I will commit it tomorrow If no objections. When there is a hole, LoadIncrementalHFiles will hang in an infinite loop. -- Key: HBASE-10549 URL: https://issues.apache.org/jira/browse/HBASE-10549 Project: HBase Issue Type: Bug Components: HFile Affects Versions: 0.98.0, 0.94.11, 0.96.1.1 Reporter: yuanxinen Assignee: yuanxinen Fix For: 0.96.2, 0.99.0, 0.94.18, 0.98.2 Attachments: HBASE-10549-trunk-2014-03-13.patch, HBASE-10549-trunk.patch First,I explan my test steps. 1.importtsv 2.split the region 3.delete the region info from .META.(make a hole) 4.LoadIncrementalHFiles (this step will hung up in an infinite loop) I check the log,there are two issues 1.it create _tmp folder in an infinite loop. hdfs://hacluster/output3/i/_tmp/_tmp/_tmp/_tmp/_tmp/_tmp/test_table,136.bottom 2.when slpliting the hfile,it put the first line data(1211) into two files(top and bottom) Input File=hdfs://hacluster/output3/i/3ac6ec287c644a8fb72d96b13e31f576,outFile=hdfs://hacluster/output3/i/_tmp/test_table,2.top,KeyValue=1211/i:value/1390469306407/Put/vlen=1/ts=0 Input File=hdfs://hacluster/output3/i/3ac6ec287c644a8fb72d96b13e31f576,outFile=hdfs://hacluster/output3/i/_tmp/test_table,2.bottom,KeyValue=1211/i:value/1390469306407/Put/vlen=1/ts=0 and then I check the code. So I think before spliting the hfile,we should check the consistency of startkey and endkey,if something wrong,we should throw the exception,and stop LoadIncrementalHFiles. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-8963) Add configuration option to skip HFile archiving
[ https://issues.apache.org/jira/browse/HBASE-8963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933282#comment-13933282 ] bharath v commented on HBASE-8963: -- I wrote this patch just keeping the DeleteHandler in mind as I got confused by the jira description. It makes sense to move the skipArchive check to archiver makes more sense so that other components like compactors can use it too. Will upload a new patch with changes shortly. Thanks for your quick review [~mbertozzi]. Add configuration option to skip HFile archiving Key: HBASE-8963 URL: https://issues.apache.org/jira/browse/HBASE-8963 Project: HBase Issue Type: Improvement Reporter: Ted Yu Assignee: bharath v Attachments: HBASE-8963.trunk.v1.patch Currently HFileArchiver is always called when a table is dropped. A configuration option (either global or per table) should be provided so that archiving can be skipped when table is deleted. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-9800) Impl CoprocessorRowcounter to run in command-line
[ https://issues.apache.org/jira/browse/HBASE-9800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933418#comment-13933418 ] Hadoop QA commented on HBASE-9800: -- {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12634418/HBASE-9800-0.94-v2.patch against trunk revision . ATTACHMENT ID: 12634418 {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 hadoop1.0{color}. The patch compiles against the hadoop 1.0 profile. {color:green}+1 hadoop1.1{color}. The patch compiles against the hadoop 1.1 profile. {color:red}-1 javadoc{color}. The javadoc tool appears to have generated 2 warning messages. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 findbugs{color}. The patch does not introduce any new Findbugs (version 1.3.9) 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 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/8967//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8967//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop2-compat.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8967//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-prefix-tree.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8967//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-client.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8967//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-common.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8967//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-protocol.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8967//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-server.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8967//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-examples.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8967//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-thrift.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8967//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.html Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/8967//console This message is automatically generated. Impl CoprocessorRowcounter to run in command-line - Key: HBASE-9800 URL: https://issues.apache.org/jira/browse/HBASE-9800 Project: HBase Issue Type: New Feature Components: Coprocessors Affects Versions: 0.94.3 Reporter: chendihao Assignee: chendihao Priority: Minor Attachments: HBASE-9800-0.94-v1.patch, HBASE-9800-0.94-v2.patch We want to count the rows of table daily but the default rowcounter using mapreduce is inefficient. Impl rowcounter using coprocessor makes it better. Furthermore, It must provide the mechanism to choose the way to output result. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-7847) Use zookeeper multi to clear znodes
[ https://issues.apache.org/jira/browse/HBASE-7847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933423#comment-13933423 ] Hadoop QA commented on HBASE-7847: -- {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12634432/HBASE-7847.patch against trunk revision . ATTACHMENT ID: 12634432 {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:green}+1 tests included{color}. The patch appears to include 5 new or modified tests. {color:green}+1 hadoop1.0{color}. The patch compiles against the hadoop 1.0 profile. {color:green}+1 hadoop1.1{color}. The patch compiles against the hadoop 1.1 profile. {color:red}-1 javadoc{color}. The javadoc tool appears to have generated 2 warning messages. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 findbugs{color}. The patch does not introduce any new Findbugs (version 1.3.9) 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 site goal succeeds with this patch. {color:red}-1 core tests{color}. The patch failed these unit tests: org.apache.hadoop.hbase.master.TestSplitLogManager org.apache.hadoop.hbase.regionserver.TestSplitLogWorker {color:red}-1 core zombie tests{color}. There are 1 zombie test(s): at org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat.testMRIncrementalLoad(TestHFileOutputFormat.java:354) Test results: https://builds.apache.org/job/PreCommit-HBASE-Build/8969//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8969//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-protocol.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8969//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-thrift.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8969//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-client.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8969//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop2-compat.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8969//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-examples.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8969//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-prefix-tree.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8969//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-common.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8969//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-server.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8969//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.html Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/8969//console This message is automatically generated. Use zookeeper multi to clear znodes --- Key: HBASE-7847 URL: https://issues.apache.org/jira/browse/HBASE-7847 Project: HBase Issue Type: Sub-task Reporter: Ted Yu Attachments: 7847-v1.txt, HBASE-7847.patch, HBASE-7847.patch, HBASE-7847.patch In ZKProcedureUtil, clearChildZNodes() and clearZNodes(String procedureName) should utilize zookeeper multi so that they're atomic -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Created] (HBASE-10737) HConnectionImplementation should stop RpcClient on close
Jimmy Xiang created HBASE-10737: --- Summary: HConnectionImplementation should stop RpcClient on close Key: HBASE-10737 URL: https://issues.apache.org/jira/browse/HBASE-10737 Project: HBase Issue Type: Bug Components: Client Reporter: Jimmy Xiang Assignee: Jimmy Xiang HConnectionImplementation doesn't stop RpcClient on close so that it could leak some RpcClient connections/worker threads. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Created] (HBASE-10738) AssignmentManager should shut down executors on stop
Jimmy Xiang created HBASE-10738: --- Summary: AssignmentManager should shut down executors on stop Key: HBASE-10738 URL: https://issues.apache.org/jira/browse/HBASE-10738 Project: HBase Issue Type: Bug Reporter: Jimmy Xiang Assignee: Jimmy Xiang Priority: Minor This won't cause any issue in live cluster. However, in unit tests, it could leak threads and slow down tests. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HBASE-10737) HConnectionImplementation should stop RpcClient on close
[ https://issues.apache.org/jira/browse/HBASE-10737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jimmy Xiang updated HBASE-10737: Status: Patch Available (was: Open) HConnectionImplementation should stop RpcClient on close Key: HBASE-10737 URL: https://issues.apache.org/jira/browse/HBASE-10737 Project: HBase Issue Type: Bug Components: Client Reporter: Jimmy Xiang Assignee: Jimmy Xiang Attachments: hbase-10737.patch HConnectionImplementation doesn't stop RpcClient on close so that it could leak some RpcClient connections/worker threads. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HBASE-10737) HConnectionImplementation should stop RpcClient on close
[ https://issues.apache.org/jira/browse/HBASE-10737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jimmy Xiang updated HBASE-10737: Attachment: hbase-10737.patch HConnectionImplementation should stop RpcClient on close Key: HBASE-10737 URL: https://issues.apache.org/jira/browse/HBASE-10737 Project: HBase Issue Type: Bug Components: Client Reporter: Jimmy Xiang Assignee: Jimmy Xiang Attachments: hbase-10737.patch HConnectionImplementation doesn't stop RpcClient on close so that it could leak some RpcClient connections/worker threads. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-10737) HConnectionImplementation should stop RpcClient on close
[ https://issues.apache.org/jira/browse/HBASE-10737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933476#comment-13933476 ] Nicolas Liochon commented on HBASE-10737: - lgtm, +1 HConnectionImplementation should stop RpcClient on close Key: HBASE-10737 URL: https://issues.apache.org/jira/browse/HBASE-10737 Project: HBase Issue Type: Bug Components: Client Reporter: Jimmy Xiang Assignee: Jimmy Xiang Attachments: hbase-10737.patch HConnectionImplementation doesn't stop RpcClient on close so that it could leak some RpcClient connections/worker threads. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HBASE-10738) AssignmentManager should shut down executors on stop
[ https://issues.apache.org/jira/browse/HBASE-10738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jimmy Xiang updated HBASE-10738: Attachment: hbase-10738.patch AssignmentManager should shut down executors on stop Key: HBASE-10738 URL: https://issues.apache.org/jira/browse/HBASE-10738 Project: HBase Issue Type: Bug Reporter: Jimmy Xiang Assignee: Jimmy Xiang Priority: Minor Attachments: hbase-10738.patch This won't cause any issue in live cluster. However, in unit tests, it could leak threads and slow down tests. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Assigned] (HBASE-10736) Fix Javadoc warnings introduced in HBASE-10169
[ https://issues.apache.org/jira/browse/HBASE-10736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Purtell reassigned HBASE-10736: -- Assignee: Andrew Purtell Fix Javadoc warnings introduced in HBASE-10169 -- Key: HBASE-10736 URL: https://issues.apache.org/jira/browse/HBASE-10736 Project: HBase Issue Type: Bug Affects Versions: 0.98.0 Reporter: rajeshbabu Assignee: Andrew Purtell Fix For: 0.98.1, 0.99.0 Fix below two javadoc warnings introduced as part of HBASE-10169 {code} 2 warnings [WARNING] Javadoc Warnings [WARNING] D:\D\hbaseCommunity\hbaseTrunkTest\hbase-client\src\main\java\org\apache\hadoop\hbase\client\RegionCoprocessorServiceExec.java:43: warning - Tag @link: can't find batchCoprocessorService(MethodDescriptor, Message, byte[], byte[], [WARNING] Message, Batch.Callback) in org.apache.hadoop.hbase.client.HTable [WARNING] D:\D\hbaseCommunity\hbaseTrunkTest\hbase-client\src\main\java\org\apache\hadoop\hbase\client\RegionCoprocessorServiceExec.java:43: warning - Tag @link: can't find batchCoprocessorService(MethodDescriptor, Message, byte[], byte[], Message) in org.apache.hadoop.hbase.client.HTable {code} -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-10549) When there is a hole, LoadIncrementalHFiles will hang in an infinite loop.
[ https://issues.apache.org/jira/browse/HBASE-10549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933498#comment-13933498 ] Anoop Sam John commented on HBASE-10549: lgtm. When there is a hole, LoadIncrementalHFiles will hang in an infinite loop. -- Key: HBASE-10549 URL: https://issues.apache.org/jira/browse/HBASE-10549 Project: HBase Issue Type: Bug Components: HFile Affects Versions: 0.98.0, 0.94.11, 0.96.1.1 Reporter: yuanxinen Assignee: yuanxinen Fix For: 0.96.2, 0.99.0, 0.94.18, 0.98.2 Attachments: HBASE-10549-trunk-2014-03-13.patch, HBASE-10549-trunk.patch First,I explan my test steps. 1.importtsv 2.split the region 3.delete the region info from .META.(make a hole) 4.LoadIncrementalHFiles (this step will hung up in an infinite loop) I check the log,there are two issues 1.it create _tmp folder in an infinite loop. hdfs://hacluster/output3/i/_tmp/_tmp/_tmp/_tmp/_tmp/_tmp/test_table,136.bottom 2.when slpliting the hfile,it put the first line data(1211) into two files(top and bottom) Input File=hdfs://hacluster/output3/i/3ac6ec287c644a8fb72d96b13e31f576,outFile=hdfs://hacluster/output3/i/_tmp/test_table,2.top,KeyValue=1211/i:value/1390469306407/Put/vlen=1/ts=0 Input File=hdfs://hacluster/output3/i/3ac6ec287c644a8fb72d96b13e31f576,outFile=hdfs://hacluster/output3/i/_tmp/test_table,2.bottom,KeyValue=1211/i:value/1390469306407/Put/vlen=1/ts=0 and then I check the code. So I think before spliting the hfile,we should check the consistency of startkey and endkey,if something wrong,we should throw the exception,and stop LoadIncrementalHFiles. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Created] (HBASE-10739) RS web UI NPE if master shuts down sooner
Jimmy Xiang created HBASE-10739: --- Summary: RS web UI NPE if master shuts down sooner Key: HBASE-10739 URL: https://issues.apache.org/jira/browse/HBASE-10739 Project: HBase Issue Type: Bug Reporter: Jimmy Xiang Assignee: Jimmy Xiang Priority: Minor This is similar to HBASE-9294. However, the fix in HBASE-9294 can't fix the issue. hrs is unlikely null over there since we have an assert earlier. We also called hrs.isOnline eariler. It is very likely the master shuts down sooner so the master address is null instead. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HBASE-10738) AssignmentManager should shut down executors on stop
[ https://issues.apache.org/jira/browse/HBASE-10738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jimmy Xiang updated HBASE-10738: Status: Patch Available (was: Open) AssignmentManager should shut down executors on stop Key: HBASE-10738 URL: https://issues.apache.org/jira/browse/HBASE-10738 Project: HBase Issue Type: Bug Reporter: Jimmy Xiang Assignee: Jimmy Xiang Priority: Minor Attachments: hbase-10738.patch This won't cause any issue in live cluster. However, in unit tests, it could leak threads and slow down tests. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HBASE-10739) RS web UI NPE if master shuts down sooner
[ https://issues.apache.org/jira/browse/HBASE-10739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jimmy Xiang updated HBASE-10739: Attachment: hbase-10739.patch RS web UI NPE if master shuts down sooner - Key: HBASE-10739 URL: https://issues.apache.org/jira/browse/HBASE-10739 Project: HBase Issue Type: Bug Reporter: Jimmy Xiang Assignee: Jimmy Xiang Priority: Minor Attachments: hbase-10739.patch This is similar to HBASE-9294. However, the fix in HBASE-9294 can't fix the issue. hrs is unlikely null over there since we have an assert earlier. We also called hrs.isOnline eariler. It is very likely the master shuts down sooner so the master address is null instead. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HBASE-10739) RS web UI NPE if master shuts down sooner
[ https://issues.apache.org/jira/browse/HBASE-10739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jimmy Xiang updated HBASE-10739: Status: Patch Available (was: Open) RS web UI NPE if master shuts down sooner - Key: HBASE-10739 URL: https://issues.apache.org/jira/browse/HBASE-10739 Project: HBase Issue Type: Bug Reporter: Jimmy Xiang Assignee: Jimmy Xiang Priority: Minor Attachments: hbase-10739.patch This is similar to HBASE-9294. However, the fix in HBASE-9294 can't fix the issue. hrs is unlikely null over there since we have an assert earlier. We also called hrs.isOnline eariler. It is very likely the master shuts down sooner so the master address is null instead. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-10531) Revisit how the key byte[] is passed to HFileScanner.seekTo and reseekTo
[ https://issues.apache.org/jira/browse/HBASE-10531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933551#comment-13933551 ] Andrew Purtell commented on HBASE-10531: bq. (Ram) So should our cell interfaces have support to work with ByteBuffers also. ByteRange bq. (Lars) we should switch exclusively to ByteBuffers as that is the only construct that can wrap data on and off heap. +1, but ByteRange, not BB Revisit how the key byte[] is passed to HFileScanner.seekTo and reseekTo Key: HBASE-10531 URL: https://issues.apache.org/jira/browse/HBASE-10531 Project: HBase Issue Type: Sub-task Reporter: ramkrishna.s.vasudevan Assignee: ramkrishna.s.vasudevan Fix For: 0.99.0 Attachments: HBASE-10531.patch, HBASE-10531_1.patch, HBASE-10531_2.patch Currently the byte[] key passed to HFileScanner.seekTo and HFileScanner.reseekTo, is a combination of row, cf, qual, type and ts. And the caller forms this by using kv.getBuffer, which is actually deprecated. So see how this can be achieved considering kv.getBuffer is removed. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HBASE-10278) Provide better write predictability
[ https://issues.apache.org/jira/browse/HBASE-10278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Himanshu Vashishtha updated HBASE-10278: Attachment: SwitchWriterFlow.pptx I have attached the flow diagram of the switching process. In this, I summarize the current trunk behaviour, what does the Switching add, and the steps involved and invariants maintained while doing the switching. Chatting with Stack, he suggested to measure the costs of adding one level of indirection b/w SyncRunners (SR) and writer.sync() (this patch adds a thread pool in order to monitor SR and interrupt them to release them from current sync() call. Attached are perf stat numbers on 5 node cluster (hadoop2.2) with trunk and patch + trunk. {code} hbase-0.99.0-SNAPSHOT/bin/hbase org.apache.hadoop.hbase.regionserver.wal.HLogPerformanceEvaluation -iterations 100 -threads 10 ; done Trunk: Performance counter stats for '/home/himanshu/dists/hbase-0.99.0-SNAPSHOT/bin/hbase org.apache.hadoop.hbase.regionserver.wal.HLogPerformanceEvaluation -iterations 100 -threads 10': 1891960.295558 task-clock#2.396 CPUs utilized 55,076,890 context-switches #0.029 M/sec 1,770,901 CPU-migrations#0.936 K/sec 73,650 page-faults #0.039 K/sec 2,853,602,378,588 cycles#1.508 GHz [83.32%] 2,126,410,331,760 stalled-cycles-frontend # 74.52% frontend cycles idle [83.31%] 1,274,582,986,073 stalled-cycles-backend# 44.67% backend cycles idle [66.72%] 1,511,777,502,744 instructions #0.53 insns per cycle #1.41 stalled cycles per insn [83.37%] 264,303,859,957 branches # 139.698 M/sec [83.33%] 7,946,652,758 branch-misses #3.01% of all branches [83.33%] 789.767027189 seconds time elapsed WITH PATCH: Performance counter stats for '/home/himanshu/10278-patch/hbase-0.99.0-SNAPSHOT/bin/hbase org.apache.hadoop.hbase.regionserver.wal.HLogPerformanceEvaluation -iterations 100 -threads 10': 2184799.924959 task-clock#2.465 CPUs utilized 67,056,548 context-switches #0.031 M/sec 5,879,054 CPU-migrations#0.003 M/sec 71,844 page-faults #0.033 K/sec 3,293,173,733,811 cycles#1.507 GHz [83.33%] 2,402,602,947,823 stalled-cycles-frontend # 72.96% frontend cycles idle [83.33%] 1,476,790,256,434 stalled-cycles-backend# 44.84% backend cycles idle [66.70%] 1,878,777,337,255 instructions #0.57 insns per cycle #1.28 stalled cycles per insn [83.38%] 331,265,703,652 branches # 151.623 M/sec [83.30%] 10,449,872,625 branch-misses #3.15% of all branches [83.34%] 886.148976683 seconds time elapsed {code} There are more context switches going on here. I am working on how to remove this one level of indirection so we have lesser number of threads, but still have SR interruptible so as to unblock them from ongoing problematic sync call. May be merging the syncPool with SRs (worker in pool are actual SRs). Provide better write predictability --- Key: HBASE-10278 URL: https://issues.apache.org/jira/browse/HBASE-10278 Project: HBase Issue Type: New Feature Reporter: Himanshu Vashishtha Assignee: Himanshu Vashishtha Attachments: 10278-wip-1.1.patch, Multiwaldesigndoc.pdf, SwitchWriterFlow.pptx Currently, HBase has one WAL per region server. Whenever there is any latency in the write pipeline (due to whatever reasons such as n/w blip, a node in the pipeline having a bad disk, etc), the overall write latency suffers. Jonathan Hsieh and I analyzed various approaches to tackle this issue. We also looked at HBASE-5699, which talks about adding concurrent multi WALs. Along with performance numbers, we also focussed on design simplicity, minimum impact on MTTR Replication, and compatibility with 0.96 and 0.98. Considering all these parameters, we propose a new HLog implementation with WAL Switching functionality. Please find attached the design doc for the same. It introduces the WAL Switching feature, and experiments/results of a prototype implementation, showing the benefits of this feature. The second goal of this work is to serve as a building block for concurrent multiple WALs feature. Please review the doc. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HBASE-10736) Fix Javadoc warnings introduced in HBASE-10169
[ https://issues.apache.org/jira/browse/HBASE-10736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Purtell updated HBASE-10736: --- Attachment: 10736.patch Fix Javadoc warnings introduced in HBASE-10169 -- Key: HBASE-10736 URL: https://issues.apache.org/jira/browse/HBASE-10736 Project: HBase Issue Type: Bug Affects Versions: 0.98.0 Reporter: rajeshbabu Assignee: Andrew Purtell Fix For: 0.98.1, 0.99.0 Attachments: 10736.patch Fix below two javadoc warnings introduced as part of HBASE-10169 {code} 2 warnings [WARNING] Javadoc Warnings [WARNING] D:\D\hbaseCommunity\hbaseTrunkTest\hbase-client\src\main\java\org\apache\hadoop\hbase\client\RegionCoprocessorServiceExec.java:43: warning - Tag @link: can't find batchCoprocessorService(MethodDescriptor, Message, byte[], byte[], [WARNING] Message, Batch.Callback) in org.apache.hadoop.hbase.client.HTable [WARNING] D:\D\hbaseCommunity\hbaseTrunkTest\hbase-client\src\main\java\org\apache\hadoop\hbase\client\RegionCoprocessorServiceExec.java:43: warning - Tag @link: can't find batchCoprocessorService(MethodDescriptor, Message, byte[], byte[], Message) in org.apache.hadoop.hbase.client.HTable {code} -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HBASE-10736) Fix Javadoc warnings introduced in HBASE-10169
[ https://issues.apache.org/jira/browse/HBASE-10736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Purtell updated HBASE-10736: --- Priority: Trivial (was: Major) Affects Version/s: (was: 0.98.0) Attached what I committed to trunk and 0.98 Fix Javadoc warnings introduced in HBASE-10169 -- Key: HBASE-10736 URL: https://issues.apache.org/jira/browse/HBASE-10736 Project: HBase Issue Type: Bug Reporter: rajeshbabu Assignee: Andrew Purtell Priority: Trivial Fix For: 0.98.1, 0.99.0 Attachments: 10736.patch Fix below two javadoc warnings introduced as part of HBASE-10169 {code} 2 warnings [WARNING] Javadoc Warnings [WARNING] D:\D\hbaseCommunity\hbaseTrunkTest\hbase-client\src\main\java\org\apache\hadoop\hbase\client\RegionCoprocessorServiceExec.java:43: warning - Tag @link: can't find batchCoprocessorService(MethodDescriptor, Message, byte[], byte[], [WARNING] Message, Batch.Callback) in org.apache.hadoop.hbase.client.HTable [WARNING] D:\D\hbaseCommunity\hbaseTrunkTest\hbase-client\src\main\java\org\apache\hadoop\hbase\client\RegionCoprocessorServiceExec.java:43: warning - Tag @link: can't find batchCoprocessorService(MethodDescriptor, Message, byte[], byte[], Message) in org.apache.hadoop.hbase.client.HTable {code} -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Resolved] (HBASE-10736) Fix Javadoc warnings introduced in HBASE-10169
[ https://issues.apache.org/jira/browse/HBASE-10736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Purtell resolved HBASE-10736. Resolution: Fixed Fix Javadoc warnings introduced in HBASE-10169 -- Key: HBASE-10736 URL: https://issues.apache.org/jira/browse/HBASE-10736 Project: HBase Issue Type: Bug Reporter: rajeshbabu Assignee: Andrew Purtell Priority: Trivial Fix For: 0.98.1, 0.99.0 Attachments: 10736.patch Fix below two javadoc warnings introduced as part of HBASE-10169 {code} 2 warnings [WARNING] Javadoc Warnings [WARNING] D:\D\hbaseCommunity\hbaseTrunkTest\hbase-client\src\main\java\org\apache\hadoop\hbase\client\RegionCoprocessorServiceExec.java:43: warning - Tag @link: can't find batchCoprocessorService(MethodDescriptor, Message, byte[], byte[], [WARNING] Message, Batch.Callback) in org.apache.hadoop.hbase.client.HTable [WARNING] D:\D\hbaseCommunity\hbaseTrunkTest\hbase-client\src\main\java\org\apache\hadoop\hbase\client\RegionCoprocessorServiceExec.java:43: warning - Tag @link: can't find batchCoprocessorService(MethodDescriptor, Message, byte[], byte[], Message) in org.apache.hadoop.hbase.client.HTable {code} -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HBASE-10569) Co-locate meta and master
[ https://issues.apache.org/jira/browse/HBASE-10569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jimmy Xiang updated HBASE-10569: Attachment: hbase-10569_v1.patch Co-locate meta and master - Key: HBASE-10569 URL: https://issues.apache.org/jira/browse/HBASE-10569 Project: HBase Issue Type: Improvement Components: master, Region Assignment Reporter: Jimmy Xiang Assignee: Jimmy Xiang Attachments: hbase-10569_v1.patch I was thinking simplifying/improving the region assignments. The first step is to co-locate the meta and the master as many people agreed on HBASE-5487. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HBASE-10569) Co-locate meta and master
[ https://issues.apache.org/jira/browse/HBASE-10569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jimmy Xiang updated HBASE-10569: Status: Patch Available (was: Open) Co-locate meta and master - Key: HBASE-10569 URL: https://issues.apache.org/jira/browse/HBASE-10569 Project: HBase Issue Type: Improvement Components: master, Region Assignment Reporter: Jimmy Xiang Assignee: Jimmy Xiang Attachments: hbase-10569_v1.patch I was thinking simplifying/improving the region assignments. The first step is to co-locate the meta and the master as many people agreed on HBASE-5487. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-10569) Co-locate meta and master
[ https://issues.apache.org/jira/browse/HBASE-10569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933578#comment-13933578 ] Jimmy Xiang commented on HBASE-10569: - Attached a patch that passed unit tests, integration tests (including ITBLL), and some live cluster tests. Will put it on RB soon. Here is what I have done in this patch: * Moved RPC related code out of HRegionServer and HMaster so that they are smaller for easier change/maintenance. * Make HMaster extends HRegionServer so that HMaster is also a HRegionServer, removed duplicate code/parameters. * Due to B, HMaster#getMetrics is renamed to getMasterMetrics to avoid naming conflict with HRegionServer#getMetrics. The same has been done to HMaster#getCoprocessors, #getCoprocessorHost. * Added HRegionServer#getRpcServices and HMaster#getMasterRpcServices to expose the RPC functionalities. * Changed references related to C and D (a lot, especially in tests). * HMaster and HRegionServer share one RPC server and one InfoServer. * RpcServiceInterface is changed a little. Method #startThreads and #openServer are removed since backup master doesn’t hold the RPC server any more. A parameter HMaster#serviceStarted is introduced to indicate if a master is active so as ServerNotRunningYetException can be thrown before a master is active. * Master recovery in case of ZK connection loss is removed since it doesn’t recover listeners added in HRegionServer. We can get this feature back if needed. The other reason I didn’t try to get it back is because we are going to use raft to choose active master instead of relying on ZK. * HRegionServer on the active HMaster communicates with the active HMaster directly instead of going through the RPC. Shortcut helps. * Master(active/backup) web UI contains info about the corresponding region server. * Backup master moves users regions away (and meta/namespace region to the master if already assigned somewhere else) after becoming active. * Integration testing doesn’t restart the master as a region server, or restart the region server that holds the meta. One reason is because the startup script can’t tell if a region server should be master. Here is a list of things to be done (in separate issues): * Need to make sure the master listens to the old ports (RPC + webUI) too, so as to support rolling upgrade from old versions (0.96+), and be backward compatible. * Need to consolidate(?) chores/threads/handlers in master/regionserver, so that the active master manager in the backup master has a high priority so that it can grab the ZK node faster, before we move to raft. * Clean up MetaServerShutdownHandler and HMaster#assignMeta in next major release when rolling upgrade is not an issue any more. This should be done much later. Co-locate meta and master - Key: HBASE-10569 URL: https://issues.apache.org/jira/browse/HBASE-10569 Project: HBase Issue Type: Improvement Components: master, Region Assignment Reporter: Jimmy Xiang Assignee: Jimmy Xiang Attachments: hbase-10569_v1.patch I was thinking simplifying/improving the region assignments. The first step is to co-locate the meta and the master as many people agreed on HBASE-5487. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-10569) Co-locate meta and master
[ https://issues.apache.org/jira/browse/HBASE-10569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933581#comment-13933581 ] Jimmy Xiang commented on HBASE-10569: - The patch contains several bug fixes. I will create separate issues (already created some actually) so that I can push the fixes to 0.96 and 0.98. Co-locate meta and master - Key: HBASE-10569 URL: https://issues.apache.org/jira/browse/HBASE-10569 Project: HBase Issue Type: Improvement Components: master, Region Assignment Reporter: Jimmy Xiang Assignee: Jimmy Xiang Attachments: hbase-10569_v1.patch I was thinking simplifying/improving the region assignments. The first step is to co-locate the meta and the master as many people agreed on HBASE-5487. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-10569) Co-locate meta and master
[ https://issues.apache.org/jira/browse/HBASE-10569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933596#comment-13933596 ] Jimmy Xiang commented on HBASE-10569: - RB is down now. Will put the patch on it later. Co-locate meta and master - Key: HBASE-10569 URL: https://issues.apache.org/jira/browse/HBASE-10569 Project: HBase Issue Type: Improvement Components: master, Region Assignment Reporter: Jimmy Xiang Assignee: Jimmy Xiang Attachments: hbase-10569_v1.patch I was thinking simplifying/improving the region assignments. The first step is to co-locate the meta and the master as many people agreed on HBASE-5487. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-10531) Revisit how the key byte[] is passed to HFileScanner.seekTo and reseekTo
[ https://issues.apache.org/jira/browse/HBASE-10531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933610#comment-13933610 ] Anoop Sam John commented on HBASE-10531: So we can have one off heap buffer backed ByteRange impl also (During the offheap work). Revisit how the key byte[] is passed to HFileScanner.seekTo and reseekTo Key: HBASE-10531 URL: https://issues.apache.org/jira/browse/HBASE-10531 Project: HBase Issue Type: Sub-task Reporter: ramkrishna.s.vasudevan Assignee: ramkrishna.s.vasudevan Fix For: 0.99.0 Attachments: HBASE-10531.patch, HBASE-10531_1.patch, HBASE-10531_2.patch Currently the byte[] key passed to HFileScanner.seekTo and HFileScanner.reseekTo, is a combination of row, cf, qual, type and ts. And the caller forms this by using kv.getBuffer, which is actually deprecated. So see how this can be achieved considering kv.getBuffer is removed. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-10531) Revisit how the key byte[] is passed to HFileScanner.seekTo and reseekTo
[ https://issues.apache.org/jira/browse/HBASE-10531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933617#comment-13933617 ] Andrew Purtell commented on HBASE-10531: bq. So we can have one off heap buffer backed ByteRange impl also (During the offheap work) Right. ByteRange will need to evolve, but we can take care to avoid issues with using ByteBuffer directly that are suboptimal for us, such as the inability to inline get* and put* methods, or bounds checking we can elide. Also we could have multiple allocators for on and off heap arenas, at least in the beginning while we are sorting this all out, backed by JDK ByteBuffer, Netty ByteBuf, IBM Java BoxedPackedObject (just an example of something more esoteric), and so on. Revisit how the key byte[] is passed to HFileScanner.seekTo and reseekTo Key: HBASE-10531 URL: https://issues.apache.org/jira/browse/HBASE-10531 Project: HBase Issue Type: Sub-task Reporter: ramkrishna.s.vasudevan Assignee: ramkrishna.s.vasudevan Fix For: 0.99.0 Attachments: HBASE-10531.patch, HBASE-10531_1.patch, HBASE-10531_2.patch Currently the byte[] key passed to HFileScanner.seekTo and HFileScanner.reseekTo, is a combination of row, cf, qual, type and ts. And the caller forms this by using kv.getBuffer, which is actually deprecated. So see how this can be achieved considering kv.getBuffer is removed. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-10569) Co-locate meta and master
[ https://issues.apache.org/jira/browse/HBASE-10569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933621#comment-13933621 ] Ted Yu commented on HBASE-10569: bq. Backup master moves users regions away (and meta/namespace region to the master if already assigned somewhere else) after becoming active. Can you elaborate a bit more about what 'moves users regions away' means ? nit: items are under bullets but referenced by B, C, etc It would be easier to read if items are labeled alphabetically. Co-locate meta and master - Key: HBASE-10569 URL: https://issues.apache.org/jira/browse/HBASE-10569 Project: HBase Issue Type: Improvement Components: master, Region Assignment Reporter: Jimmy Xiang Assignee: Jimmy Xiang Attachments: hbase-10569_v1.patch I was thinking simplifying/improving the region assignments. The first step is to co-locate the meta and the master as many people agreed on HBASE-5487. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Comment Edited] (HBASE-10569) Co-locate meta and master
[ https://issues.apache.org/jira/browse/HBASE-10569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933578#comment-13933578 ] Jimmy Xiang edited comment on HBASE-10569 at 3/13/14 5:56 PM: -- Attached a patch that passed unit tests, integration tests (including ITBLL), and some live cluster tests. Will put it on RB soon when RB is up. Here is what I have done in this patch: # Moved RPC related code out of HRegionServer and HMaster so that they are smaller for easier change/maintenance. # Make HMaster extends HRegionServer so that HMaster is also a HRegionServer, removed duplicate code/parameters. # Due to 2, HMaster#getMetrics is renamed to getMasterMetrics to avoid naming conflict with HRegionServer#getMetrics. The same has been done to HMaster#getCoprocessors, #getCoprocessorHost. # Added HRegionServer#getRpcServices and HMaster#getMasterRpcServices to expose the RPC functionalities. # Changed references related to 3 and 4 (a lot, especially in tests). # HMaster and HRegionServer share one RPC server and one InfoServer. # RpcServiceInterface is changed a little. Method #startThreads and #openServer are removed since backup master doesn’t hold the RPC server any more. A parameter HMaster#serviceStarted is introduced to indicate if a master is active so as ServerNotRunningYetException can be thrown before a master is active. # Master recovery in case of ZK connection loss is removed since it doesn’t recover listeners added in HRegionServer. We can get this feature back if needed. The other reason I didn’t try to get it back is because we are going to use raft to choose active master instead of relying on ZK. # HRegionServer on the active HMaster communicates with the active HMaster directly instead of going through the RPC. Shortcut helps. # Master(active/backup) web UI contains info about the corresponding region server. # Backup master moves users regions away (and meta/namespace region to the master if already assigned somewhere else) after becoming active. # Integration testing doesn’t restart the master as a region server, or restart the region server that holds the meta. One reason is because the startup script can’t tell if a region server should be master. Here is a list of things to be done (in separate issues): # Need to make sure the master listens to the old ports (RPC + webUI) too, so as to support rolling upgrade from old versions (0.96+), and be backward compatible. # Need to consolidate(?) chores/threads/handlers in master/regionserver, so that the active master manager in the backup master has a high priority so that it can grab the ZK node faster, before we move to raft. # Clean up MetaServerShutdownHandler and HMaster#assignMeta in next major release when rolling upgrade is not an issue any more. This should be done much later. was (Author: jxiang): Attached a patch that passed unit tests, integration tests (including ITBLL), and some live cluster tests. Will put it on RB soon. Here is what I have done in this patch: * Moved RPC related code out of HRegionServer and HMaster so that they are smaller for easier change/maintenance. * Make HMaster extends HRegionServer so that HMaster is also a HRegionServer, removed duplicate code/parameters. * Due to B, HMaster#getMetrics is renamed to getMasterMetrics to avoid naming conflict with HRegionServer#getMetrics. The same has been done to HMaster#getCoprocessors, #getCoprocessorHost. * Added HRegionServer#getRpcServices and HMaster#getMasterRpcServices to expose the RPC functionalities. * Changed references related to C and D (a lot, especially in tests). * HMaster and HRegionServer share one RPC server and one InfoServer. * RpcServiceInterface is changed a little. Method #startThreads and #openServer are removed since backup master doesn’t hold the RPC server any more. A parameter HMaster#serviceStarted is introduced to indicate if a master is active so as ServerNotRunningYetException can be thrown before a master is active. * Master recovery in case of ZK connection loss is removed since it doesn’t recover listeners added in HRegionServer. We can get this feature back if needed. The other reason I didn’t try to get it back is because we are going to use raft to choose active master instead of relying on ZK. * HRegionServer on the active HMaster communicates with the active HMaster directly instead of going through the RPC. Shortcut helps. * Master(active/backup) web UI contains info about the corresponding region server. * Backup master moves users regions away (and meta/namespace region to the master if already assigned somewhere else) after becoming active. * Integration testing doesn’t restart the master as a region server, or restart the region server that holds the meta. One reason is because the startup script can’t tell if a region server should be master. Here is a list of things
[jira] [Issue Comment Deleted] (HBASE-10569) Co-locate meta and master
[ https://issues.apache.org/jira/browse/HBASE-10569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jimmy Xiang updated HBASE-10569: Comment: was deleted (was: RB is down now. Will put the patch on it later.) Co-locate meta and master - Key: HBASE-10569 URL: https://issues.apache.org/jira/browse/HBASE-10569 Project: HBase Issue Type: Improvement Components: master, Region Assignment Reporter: Jimmy Xiang Assignee: Jimmy Xiang Attachments: hbase-10569_v1.patch I was thinking simplifying/improving the region assignments. The first step is to co-locate the meta and the master as many people agreed on HBASE-5487. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-5175) Add DoubleColumnInterpreter
[ https://issues.apache.org/jira/browse/HBASE-5175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933642#comment-13933642 ] Ted Yu commented on HBASE-5175: --- Diff for HBaseProtos.java seems to be included in the patch more than once: {code} From 0b07009f891a73bd9e335bf925d5dfc7054ac8a9 Mon Sep 17 00:00:00 2001 From: Julian Wissmann julianwissm...@gmail.com Date: Thu, 13 Mar 2014 13:05:07 +0100 Subject: [PATCH 2/7] formatted protos --- .../hbase/protobuf/generated/HBaseProtos.java | 7899 +++- hbase-protocol/src/main/protobuf/HBase.proto |3 + 2 files changed, 4517 insertions(+), 3385 deletions(-) diff --git a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/HBaseProtos.java b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/HBaseProtos.java {code} There is no formatting needed, see: {code} -// Generated by the protocol buffer compiler. DO NOT EDIT! {code} Add DoubleColumnInterpreter --- Key: HBASE-5175 URL: https://issues.apache.org/jira/browse/HBASE-5175 Project: HBase Issue Type: Sub-task Reporter: Ted Yu Assignee: Julian Wissmann Labels: aggregator, features Fix For: 0.99.0 Attachments: DoubleColumnInterpreter.java, DoubleColumnInterpreter.patch, HBase.proto, TestDoubleColumnInterpreter.java DoubleColumnInterpreter was requested by Royston Sellman. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-10569) Co-locate meta and master
[ https://issues.apache.org/jira/browse/HBASE-10569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933649#comment-13933649 ] Jimmy Xiang commented on HBASE-10569: - Fixed. Thanks. bq. Can you elaborate a bit more about what 'moves users regions away' means ? Since a backup master is also a region server, it could hold many user regions. After it becomes the active master, we try to move these user regions to other region servers so that the active master holds just the meta and the namespace regions. The purpose is to reduce the load on the active master. We could add other regions to the active master later on. Co-locate meta and master - Key: HBASE-10569 URL: https://issues.apache.org/jira/browse/HBASE-10569 Project: HBase Issue Type: Improvement Components: master, Region Assignment Reporter: Jimmy Xiang Assignee: Jimmy Xiang Attachments: hbase-10569_v1.patch I was thinking simplifying/improving the region assignments. The first step is to co-locate the meta and the master as many people agreed on HBASE-5487. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-10737) HConnectionImplementation should stop RpcClient on close
[ https://issues.apache.org/jira/browse/HBASE-10737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933651#comment-13933651 ] Hadoop QA commented on HBASE-10737: --- {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12634456/hbase-10737.patch against trunk revision . ATTACHMENT ID: 12634456 {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:green}+1 tests included{color}. The patch appears to include 9 new or modified tests. {color:green}+1 hadoop1.0{color}. The patch compiles against the hadoop 1.0 profile. {color:green}+1 hadoop1.1{color}. The patch compiles against the hadoop 1.1 profile. {color:red}-1 javadoc{color}. The javadoc tool appears to have generated 2 warning messages. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 findbugs{color}. The patch does not introduce any new Findbugs (version 1.3.9) 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 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/8970//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8970//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-protocol.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8970//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-thrift.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8970//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-client.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8970//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop2-compat.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8970//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-examples.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8970//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-prefix-tree.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8970//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-common.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8970//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-server.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8970//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.html Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/8970//console This message is automatically generated. HConnectionImplementation should stop RpcClient on close Key: HBASE-10737 URL: https://issues.apache.org/jira/browse/HBASE-10737 Project: HBase Issue Type: Bug Components: Client Reporter: Jimmy Xiang Assignee: Jimmy Xiang Attachments: hbase-10737.patch HConnectionImplementation doesn't stop RpcClient on close so that it could leak some RpcClient connections/worker threads. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-10569) Co-locate meta and master
[ https://issues.apache.org/jira/browse/HBASE-10569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933659#comment-13933659 ] Ted Yu commented on HBASE-10569: bq. the active master holds just the meta and the namespace regions What about ACL and visibility regions ? Co-locate meta and master - Key: HBASE-10569 URL: https://issues.apache.org/jira/browse/HBASE-10569 Project: HBase Issue Type: Improvement Components: master, Region Assignment Reporter: Jimmy Xiang Assignee: Jimmy Xiang Attachments: hbase-10569_v1.patch I was thinking simplifying/improving the region assignments. The first step is to co-locate the meta and the master as many people agreed on HBASE-5487. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-10569) Co-locate meta and master
[ https://issues.apache.org/jira/browse/HBASE-10569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933679#comment-13933679 ] Jimmy Xiang commented on HBASE-10569: - Yes, we can put them on master too. Co-locate meta and master - Key: HBASE-10569 URL: https://issues.apache.org/jira/browse/HBASE-10569 Project: HBase Issue Type: Improvement Components: master, Region Assignment Reporter: Jimmy Xiang Assignee: Jimmy Xiang Attachments: hbase-10569_v1.patch I was thinking simplifying/improving the region assignments. The first step is to co-locate the meta and the master as many people agreed on HBASE-5487. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-10739) RS web UI NPE if master shuts down sooner
[ https://issues.apache.org/jira/browse/HBASE-10739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933870#comment-13933870 ] Hadoop QA commented on HBASE-10739: --- {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12634471/hbase-10739.patch against trunk revision . ATTACHMENT ID: 12634471 {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 hadoop1.0{color}. The patch compiles against the hadoop 1.0 profile. {color:green}+1 hadoop1.1{color}. The patch compiles against the hadoop 1.1 profile. {color:red}-1 javadoc{color}. The javadoc tool appears to have generated 2 warning messages. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 findbugs{color}. The patch does not introduce any new Findbugs (version 1.3.9) 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 site goal succeeds with this patch. {color:red}-1 core tests{color}. The patch failed these unit tests: org.apache.hadoop.hbase.replication.TestReplicationSmallTests Test results: https://builds.apache.org/job/PreCommit-HBASE-Build/8971//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8971//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop2-compat.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8971//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-prefix-tree.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8971//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-client.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8971//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-common.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8971//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-protocol.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8971//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-server.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8971//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-examples.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8971//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-thrift.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8971//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.html Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/8971//console This message is automatically generated. RS web UI NPE if master shuts down sooner - Key: HBASE-10739 URL: https://issues.apache.org/jira/browse/HBASE-10739 Project: HBase Issue Type: Bug Reporter: Jimmy Xiang Assignee: Jimmy Xiang Priority: Minor Attachments: hbase-10739.patch This is similar to HBASE-9294. However, the fix in HBASE-9294 can't fix the issue. hrs is unlikely null over there since we have an assert earlier. We also called hrs.isOnline eariler. It is very likely the master shuts down sooner so the master address is null instead. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-10569) Co-locate meta and master
[ https://issues.apache.org/jira/browse/HBASE-10569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933881#comment-13933881 ] Jimmy Xiang commented on HBASE-10569: - Patch v1 is on RB now: https://reviews.apache.org/r/19198/ Co-locate meta and master - Key: HBASE-10569 URL: https://issues.apache.org/jira/browse/HBASE-10569 Project: HBase Issue Type: Improvement Components: master, Region Assignment Reporter: Jimmy Xiang Assignee: Jimmy Xiang Attachments: hbase-10569_v1.patch I was thinking simplifying/improving the region assignments. The first step is to co-locate the meta and the master as many people agreed on HBASE-5487. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-10569) Co-locate meta and master
[ https://issues.apache.org/jira/browse/HBASE-10569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933897#comment-13933897 ] Hadoop QA commented on HBASE-10569: --- {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12634484/hbase-10569_v1.patch against trunk revision . ATTACHMENT ID: 12634484 {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:green}+1 tests included{color}. The patch appears to include 176 new or modified tests. {color:red}-1 hadoop1.0{color}. The patch failed to compile against the hadoop 1.0 profile. Here is snippet of errors: {code}[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile (default-testCompile) on project hbase-server: Compilation failure [ERROR] /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestMasterNoCluster.java:[87,24] cannot find symbol [ERROR] symbol : method setMiniClusterMode(boolean) [ERROR] location: class org.apache.hadoop.metrics2.lib.DefaultMetricsSystem [ERROR] - [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile (default-testCompile) on project hbase-server: Compilation failure /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestMasterNoCluster.java:[87,24] cannot find symbol symbol : method setMiniClusterMode(boolean) location: class org.apache.hadoop.metrics2.lib.DefaultMetricsSystem at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213) -- Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestMasterNoCluster.java:[87,24] cannot find symbol symbol : method setMiniClusterMode(boolean) location: class org.apache.hadoop.metrics2.lib.DefaultMetricsSystem at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:729){code} Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/8974//console This message is automatically generated. Co-locate meta and master - Key: HBASE-10569 URL: https://issues.apache.org/jira/browse/HBASE-10569 Project: HBase Issue Type: Improvement Components: master, Region Assignment Reporter: Jimmy Xiang Assignee: Jimmy Xiang Attachments: hbase-10569_v1.patch I was thinking simplifying/improving the region assignments. The first step is to co-locate the meta and the master as many people agreed on HBASE-5487. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-10569) Co-locate meta and master
[ https://issues.apache.org/jira/browse/HBASE-10569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933913#comment-13933913 ] Jimmy Xiang commented on HBASE-10569: - We are not going to support hadoop 1.0 any more, right? http://search-hadoop.com/m/DHED4OxD4C/Next+releases+of+HBase+will+drop+Hadoop-1.x+supportsubj=+ANNOUNCE+Next+releases+of+HBase+will+drop+Hadoop+1+x+support Can we fix the pre-commit test? Co-locate meta and master - Key: HBASE-10569 URL: https://issues.apache.org/jira/browse/HBASE-10569 Project: HBase Issue Type: Improvement Components: master, Region Assignment Reporter: Jimmy Xiang Assignee: Jimmy Xiang Attachments: hbase-10569_v1.patch I was thinking simplifying/improving the region assignments. The first step is to co-locate the meta and the master as many people agreed on HBASE-5487. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Created] (HBASE-10740) Upgrade zookeeper to 3.4.6 release
Ted Yu created HBASE-10740: -- Summary: Upgrade zookeeper to 3.4.6 release Key: HBASE-10740 URL: https://issues.apache.org/jira/browse/HBASE-10740 Project: HBase Issue Type: Task Reporter: Ted Yu Assignee: Ted Yu Priority: Minor Zookeeper 3.4.6 release has been released. This JIRA upgrades zookeeper dependency to 3.4.6 -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HBASE-10740) Upgrade zookeeper to 3.4.6 release
[ https://issues.apache.org/jira/browse/HBASE-10740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-10740: --- Attachment: 10740-v1.txt Upgrade zookeeper to 3.4.6 release -- Key: HBASE-10740 URL: https://issues.apache.org/jira/browse/HBASE-10740 Project: HBase Issue Type: Task Reporter: Ted Yu Assignee: Ted Yu Priority: Minor Attachments: 10740-v1.txt Zookeeper 3.4.6 release has been released. This JIRA upgrades zookeeper dependency to 3.4.6 -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HBASE-10740) Upgrade zookeeper to 3.4.6 release
[ https://issues.apache.org/jira/browse/HBASE-10740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-10740: --- Status: Patch Available (was: Open) Upgrade zookeeper to 3.4.6 release -- Key: HBASE-10740 URL: https://issues.apache.org/jira/browse/HBASE-10740 Project: HBase Issue Type: Task Reporter: Ted Yu Assignee: Ted Yu Priority: Minor Attachments: 10740-v1.txt Zookeeper 3.4.6 release has been released. This JIRA upgrades zookeeper dependency to 3.4.6 -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-10169) Batch coprocessor
[ https://issues.apache.org/jira/browse/HBASE-10169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933949#comment-13933949 ] Hudson commented on HBASE-10169: SUCCESS: Integrated in HBase-0.98 #225 (See [https://builds.apache.org/job/HBase-0.98/225/]) HBASE-10736 Fix Javadoc warnings introduced in HBASE-10169 (apurtell: rev 1577251) * /hbase/branches/0.98/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RegionCoprocessorServiceExec.java Batch coprocessor - Key: HBASE-10169 URL: https://issues.apache.org/jira/browse/HBASE-10169 Project: HBase Issue Type: Sub-task Components: Coprocessors Affects Versions: 0.99.0 Reporter: Jingcheng Du Assignee: Jingcheng Du Fix For: 0.98.1, 0.99.0 Attachments: 10169-alternate-5-0.98.patch, 10169-alternate-5-trunk.patch, Batch Coprocessor Design Document.docx, HBASE-10169-V2.patch, HBASE-10169-V3.patch, HBASE-10169-V3.patch, HBASE-10169-V4.patch, HBASE-10169-V5.patch, HBASE-10169-alternate-2.patch, HBASE-10169-alternate-3.patch, HBASE-10169-alternate-4.patch, HBASE-10169-alternate.patch, HBASE-10169.patch This is designed to improve the coprocessor invocation in the client side. Currently the coprocessor invocation is to send a call to each region. If there’s one region server, and 100 regions are located in this server, each coprocessor invocation will send 100 calls, each call uses a single thread in the client side. The threads will run out soon when the coprocessor invocations are heavy. In this design, all the calls to the same region server will be grouped into one in a single coprocessor invocation. This call will be spread into each region in the server side. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-10736) Fix Javadoc warnings introduced in HBASE-10169
[ https://issues.apache.org/jira/browse/HBASE-10736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933948#comment-13933948 ] Hudson commented on HBASE-10736: SUCCESS: Integrated in HBase-0.98 #225 (See [https://builds.apache.org/job/HBase-0.98/225/]) HBASE-10736 Fix Javadoc warnings introduced in HBASE-10169 (apurtell: rev 1577251) * /hbase/branches/0.98/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RegionCoprocessorServiceExec.java Fix Javadoc warnings introduced in HBASE-10169 -- Key: HBASE-10736 URL: https://issues.apache.org/jira/browse/HBASE-10736 Project: HBase Issue Type: Bug Reporter: rajeshbabu Assignee: Andrew Purtell Priority: Trivial Fix For: 0.98.1, 0.99.0 Attachments: 10736.patch Fix below two javadoc warnings introduced as part of HBASE-10169 {code} 2 warnings [WARNING] Javadoc Warnings [WARNING] D:\D\hbaseCommunity\hbaseTrunkTest\hbase-client\src\main\java\org\apache\hadoop\hbase\client\RegionCoprocessorServiceExec.java:43: warning - Tag @link: can't find batchCoprocessorService(MethodDescriptor, Message, byte[], byte[], [WARNING] Message, Batch.Callback) in org.apache.hadoop.hbase.client.HTable [WARNING] D:\D\hbaseCommunity\hbaseTrunkTest\hbase-client\src\main\java\org\apache\hadoop\hbase\client\RegionCoprocessorServiceExec.java:43: warning - Tag @link: can't find batchCoprocessorService(MethodDescriptor, Message, byte[], byte[], Message) in org.apache.hadoop.hbase.client.HTable {code} -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-10738) AssignmentManager should shut down executors on stop
[ https://issues.apache.org/jira/browse/HBASE-10738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933954#comment-13933954 ] Hadoop QA commented on HBASE-10738: --- {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12634458/hbase-10738.patch against trunk revision . ATTACHMENT ID: 12634458 {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 hadoop1.0{color}. The patch compiles against the hadoop 1.0 profile. {color:green}+1 hadoop1.1{color}. The patch compiles against the hadoop 1.1 profile. {color:green}+1 javadoc{color}. The javadoc tool did not generate any warning messages. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 findbugs{color}. The patch does not introduce any new Findbugs (version 1.3.9) 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 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/8972//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8972//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-protocol.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8972//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-thrift.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8972//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-client.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8972//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop2-compat.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8972//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-examples.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8972//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-prefix-tree.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8972//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-common.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8972//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-server.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8972//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.html Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/8972//console This message is automatically generated. AssignmentManager should shut down executors on stop Key: HBASE-10738 URL: https://issues.apache.org/jira/browse/HBASE-10738 Project: HBase Issue Type: Bug Reporter: Jimmy Xiang Assignee: Jimmy Xiang Priority: Minor Attachments: hbase-10738.patch This won't cause any issue in live cluster. However, in unit tests, it could leak threads and slow down tests. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-10736) Fix Javadoc warnings introduced in HBASE-10169
[ https://issues.apache.org/jira/browse/HBASE-10736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933966#comment-13933966 ] Hudson commented on HBASE-10736: SUCCESS: Integrated in HBase-0.98-on-Hadoop-1.1 #211 (See [https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/211/]) HBASE-10736 Fix Javadoc warnings introduced in HBASE-10169 (apurtell: rev 1577251) * /hbase/branches/0.98/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RegionCoprocessorServiceExec.java Fix Javadoc warnings introduced in HBASE-10169 -- Key: HBASE-10736 URL: https://issues.apache.org/jira/browse/HBASE-10736 Project: HBase Issue Type: Bug Reporter: rajeshbabu Assignee: Andrew Purtell Priority: Trivial Fix For: 0.98.1, 0.99.0 Attachments: 10736.patch Fix below two javadoc warnings introduced as part of HBASE-10169 {code} 2 warnings [WARNING] Javadoc Warnings [WARNING] D:\D\hbaseCommunity\hbaseTrunkTest\hbase-client\src\main\java\org\apache\hadoop\hbase\client\RegionCoprocessorServiceExec.java:43: warning - Tag @link: can't find batchCoprocessorService(MethodDescriptor, Message, byte[], byte[], [WARNING] Message, Batch.Callback) in org.apache.hadoop.hbase.client.HTable [WARNING] D:\D\hbaseCommunity\hbaseTrunkTest\hbase-client\src\main\java\org\apache\hadoop\hbase\client\RegionCoprocessorServiceExec.java:43: warning - Tag @link: can't find batchCoprocessorService(MethodDescriptor, Message, byte[], byte[], Message) in org.apache.hadoop.hbase.client.HTable {code} -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-10169) Batch coprocessor
[ https://issues.apache.org/jira/browse/HBASE-10169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933967#comment-13933967 ] Hudson commented on HBASE-10169: SUCCESS: Integrated in HBase-0.98-on-Hadoop-1.1 #211 (See [https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/211/]) HBASE-10736 Fix Javadoc warnings introduced in HBASE-10169 (apurtell: rev 1577251) * /hbase/branches/0.98/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RegionCoprocessorServiceExec.java Batch coprocessor - Key: HBASE-10169 URL: https://issues.apache.org/jira/browse/HBASE-10169 Project: HBase Issue Type: Sub-task Components: Coprocessors Affects Versions: 0.99.0 Reporter: Jingcheng Du Assignee: Jingcheng Du Fix For: 0.98.1, 0.99.0 Attachments: 10169-alternate-5-0.98.patch, 10169-alternate-5-trunk.patch, Batch Coprocessor Design Document.docx, HBASE-10169-V2.patch, HBASE-10169-V3.patch, HBASE-10169-V3.patch, HBASE-10169-V4.patch, HBASE-10169-V5.patch, HBASE-10169-alternate-2.patch, HBASE-10169-alternate-3.patch, HBASE-10169-alternate-4.patch, HBASE-10169-alternate.patch, HBASE-10169.patch This is designed to improve the coprocessor invocation in the client side. Currently the coprocessor invocation is to send a call to each region. If there’s one region server, and 100 regions are located in this server, each coprocessor invocation will send 100 calls, each call uses a single thread in the client side. The threads will run out soon when the coprocessor invocations are heavy. In this design, all the calls to the same region server will be grouped into one in a single coprocessor invocation. This call will be spread into each region in the server side. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HBASE-8963) Add configuration option to skip HFile archiving
[ https://issues.apache.org/jira/browse/HBASE-8963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] bharath v updated HBASE-8963: - Attachment: HBASE-8963.trunk.v2.patch Add configuration option to skip HFile archiving Key: HBASE-8963 URL: https://issues.apache.org/jira/browse/HBASE-8963 Project: HBase Issue Type: Improvement Reporter: Ted Yu Assignee: bharath v Attachments: HBASE-8963.trunk.v1.patch, HBASE-8963.trunk.v2.patch Currently HFileArchiver is always called when a table is dropped. A configuration option (either global or per table) should be provided so that archiving can be skipped when table is deleted. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-8963) Add configuration option to skip HFile archiving
[ https://issues.apache.org/jira/browse/HBASE-8963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933976#comment-13933976 ] bharath v commented on HBASE-8963: -- Attached v2 of the patch. This moves all the checks to the central code archiver. Had to make some changes in the archive() calls by adding the Configuration object and as a result, I changed the caller classes too, especially from compaction/ deletion. Add unitTests for table deletion with snapshots/file links. Tested compaction locally on my machine and confirmed that the code skips archives and deletes the storefiles directly (via debug logs). Add configuration option to skip HFile archiving Key: HBASE-8963 URL: https://issues.apache.org/jira/browse/HBASE-8963 Project: HBase Issue Type: Improvement Reporter: Ted Yu Assignee: bharath v Attachments: HBASE-8963.trunk.v1.patch, HBASE-8963.trunk.v2.patch Currently HFileArchiver is always called when a table is dropped. A configuration option (either global or per table) should be provided so that archiving can be skipped when table is deleted. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-8963) Add configuration option to skip HFile archiving
[ https://issues.apache.org/jira/browse/HBASE-8963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933983#comment-13933983 ] bharath v commented on HBASE-8963: -- Please ignore v2. It includes some unintended changes. Added v3 of patch without them. Add configuration option to skip HFile archiving Key: HBASE-8963 URL: https://issues.apache.org/jira/browse/HBASE-8963 Project: HBase Issue Type: Improvement Reporter: Ted Yu Assignee: bharath v Attachments: HBASE-8963.trunk.v1.patch, HBASE-8963.trunk.v2.patch, HBASE-8963.trunk.v3.patch Currently HFileArchiver is always called when a table is dropped. A configuration option (either global or per table) should be provided so that archiving can be skipped when table is deleted. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-10616) Integration test for multi-get calls
[ https://issues.apache.org/jira/browse/HBASE-10616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933982#comment-13933982 ] Enis Soztutar commented on HBASE-10616: --- Thanks Devaraj. Patch looks good. +1 if you have tested it out. Integration test for multi-get calls Key: HBASE-10616 URL: https://issues.apache.org/jira/browse/HBASE-10616 Project: HBase Issue Type: Sub-task Reporter: Devaraj Das Assignee: Devaraj Das Attachments: 10616-1.txt, 10616-2.2.txt, 10616-3.txt, 10616-4.txt HBASE-10572 adds a test that does 'get' from client. We should add a similar test for batch gets. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HBASE-8963) Add configuration option to skip HFile archiving
[ https://issues.apache.org/jira/browse/HBASE-8963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] bharath v updated HBASE-8963: - Attachment: HBASE-8963.trunk.v3.patch Add configuration option to skip HFile archiving Key: HBASE-8963 URL: https://issues.apache.org/jira/browse/HBASE-8963 Project: HBase Issue Type: Improvement Reporter: Ted Yu Assignee: bharath v Attachments: HBASE-8963.trunk.v1.patch, HBASE-8963.trunk.v2.patch, HBASE-8963.trunk.v3.patch Currently HFileArchiver is always called when a table is dropped. A configuration option (either global or per table) should be provided so that archiving can be skipped when table is deleted. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-8963) Add configuration option to skip HFile archiving
[ https://issues.apache.org/jira/browse/HBASE-8963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933987#comment-13933987 ] Ted Yu commented on HBASE-8963: --- I started reviewing patch v2 and saw patch v3 coming. Here're my comments based on v2 {code} + public static boolean archiveRegion(Configuration conf,FileSystem fs, Path rootdir, Path tableDir, Path regionDir) {code} nit: leave a space following the comma between conf and FileSystem. For resolveAndArchiveFile(), please add javadoc for parameter conf. {code} + FileStatus currentStatus = fs.getFileStatus(currentFile.getPath()); + + if(conf.getBoolean(HFILE_SKIP_ARCHIVE_CONF, false)){ {code} currentStatus is only used when the condition is true, move its assignment inside the if block. Add configuration option to skip HFile archiving Key: HBASE-8963 URL: https://issues.apache.org/jira/browse/HBASE-8963 Project: HBase Issue Type: Improvement Reporter: Ted Yu Assignee: bharath v Attachments: HBASE-8963.trunk.v1.patch, HBASE-8963.trunk.v2.patch, HBASE-8963.trunk.v3.patch Currently HFileArchiver is always called when a table is dropped. A configuration option (either global or per table) should be provided so that archiving can be skipped when table is deleted. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-10169) Batch coprocessor
[ https://issues.apache.org/jira/browse/HBASE-10169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933993#comment-13933993 ] Hudson commented on HBASE-10169: SUCCESS: Integrated in HBase-TRUNK #5005 (See [https://builds.apache.org/job/HBase-TRUNK/5005/]) HBASE-10736 Fix Javadoc warnings introduced in HBASE-10169 (apurtell: rev 1577250) * /hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RegionCoprocessorServiceExec.java Batch coprocessor - Key: HBASE-10169 URL: https://issues.apache.org/jira/browse/HBASE-10169 Project: HBase Issue Type: Sub-task Components: Coprocessors Affects Versions: 0.99.0 Reporter: Jingcheng Du Assignee: Jingcheng Du Fix For: 0.98.1, 0.99.0 Attachments: 10169-alternate-5-0.98.patch, 10169-alternate-5-trunk.patch, Batch Coprocessor Design Document.docx, HBASE-10169-V2.patch, HBASE-10169-V3.patch, HBASE-10169-V3.patch, HBASE-10169-V4.patch, HBASE-10169-V5.patch, HBASE-10169-alternate-2.patch, HBASE-10169-alternate-3.patch, HBASE-10169-alternate-4.patch, HBASE-10169-alternate.patch, HBASE-10169.patch This is designed to improve the coprocessor invocation in the client side. Currently the coprocessor invocation is to send a call to each region. If there’s one region server, and 100 regions are located in this server, each coprocessor invocation will send 100 calls, each call uses a single thread in the client side. The threads will run out soon when the coprocessor invocations are heavy. In this design, all the calls to the same region server will be grouped into one in a single coprocessor invocation. This call will be spread into each region in the server side. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-10736) Fix Javadoc warnings introduced in HBASE-10169
[ https://issues.apache.org/jira/browse/HBASE-10736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13933992#comment-13933992 ] Hudson commented on HBASE-10736: SUCCESS: Integrated in HBase-TRUNK #5005 (See [https://builds.apache.org/job/HBase-TRUNK/5005/]) HBASE-10736 Fix Javadoc warnings introduced in HBASE-10169 (apurtell: rev 1577250) * /hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RegionCoprocessorServiceExec.java Fix Javadoc warnings introduced in HBASE-10169 -- Key: HBASE-10736 URL: https://issues.apache.org/jira/browse/HBASE-10736 Project: HBase Issue Type: Bug Reporter: rajeshbabu Assignee: Andrew Purtell Priority: Trivial Fix For: 0.98.1, 0.99.0 Attachments: 10736.patch Fix below two javadoc warnings introduced as part of HBASE-10169 {code} 2 warnings [WARNING] Javadoc Warnings [WARNING] D:\D\hbaseCommunity\hbaseTrunkTest\hbase-client\src\main\java\org\apache\hadoop\hbase\client\RegionCoprocessorServiceExec.java:43: warning - Tag @link: can't find batchCoprocessorService(MethodDescriptor, Message, byte[], byte[], [WARNING] Message, Batch.Callback) in org.apache.hadoop.hbase.client.HTable [WARNING] D:\D\hbaseCommunity\hbaseTrunkTest\hbase-client\src\main\java\org\apache\hadoop\hbase\client\RegionCoprocessorServiceExec.java:43: warning - Tag @link: can't find batchCoprocessorService(MethodDescriptor, Message, byte[], byte[], Message) in org.apache.hadoop.hbase.client.HTable {code} -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HBASE-10737) HConnectionImplementation should stop RpcClient on close
[ https://issues.apache.org/jira/browse/HBASE-10737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jimmy Xiang updated HBASE-10737: Resolution: Fixed Fix Version/s: 0.99.0 0.98.1 0.96.2 Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) Integrated into 0.96, 0.98, and trunk. Thanks Nicolas for the review. HConnectionImplementation should stop RpcClient on close Key: HBASE-10737 URL: https://issues.apache.org/jira/browse/HBASE-10737 Project: HBase Issue Type: Bug Components: Client Reporter: Jimmy Xiang Assignee: Jimmy Xiang Fix For: 0.96.2, 0.98.1, 0.99.0 Attachments: hbase-10737.patch HConnectionImplementation doesn't stop RpcClient on close so that it could leak some RpcClient connections/worker threads. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-8963) Add configuration option to skip HFile archiving
[ https://issues.apache.org/jira/browse/HBASE-8963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13934004#comment-13934004 ] Ted Yu commented on HBASE-8963: --- {code} + private static final String HFILE_SKIP_ARCHIVE_CONF = hbase.hfile.skip.archive; {code} Should the constant be named HFILE_SKIP_ARCHIVE_CONF_KEY ? It is key to the new config, right ? For initCleaners(), null check on snapshotCleaner alone would be enough because both cleaners would be instantiated, right ? {code} + if(fs.delete(currentFile.getPath())){ + return true; + } + else{ + LOG.debug(Attempt to delete file +currentFile.getPath().getName()+ failed. Moving it to the archive.); {code} Suggest changing the log level to error. License header is needed for TestSkipArchiveTableDeleteHandler.java In that file, indentation is not right - 2 spaces should be used for each indent. {code} +rs.close(); +}finally { +rs.close(); {code} rs is closed twice, right ? Thanks for taking this JIRA. Add configuration option to skip HFile archiving Key: HBASE-8963 URL: https://issues.apache.org/jira/browse/HBASE-8963 Project: HBase Issue Type: Improvement Reporter: Ted Yu Assignee: bharath v Attachments: HBASE-8963.trunk.v1.patch, HBASE-8963.trunk.v2.patch, HBASE-8963.trunk.v3.patch Currently HFileArchiver is always called when a table is dropped. A configuration option (either global or per table) should be provided so that archiving can be skipped when table is deleted. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HBASE-8963) Add configuration option to skip HFile archiving
[ https://issues.apache.org/jira/browse/HBASE-8963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-8963: -- Fix Version/s: 0.99.0 Add configuration option to skip HFile archiving Key: HBASE-8963 URL: https://issues.apache.org/jira/browse/HBASE-8963 Project: HBase Issue Type: Improvement Reporter: Ted Yu Assignee: bharath v Fix For: 0.99.0 Attachments: HBASE-8963.trunk.v1.patch, HBASE-8963.trunk.v2.patch, HBASE-8963.trunk.v3.patch Currently HFileArchiver is always called when a table is dropped. A configuration option (either global or per table) should be provided so that archiving can be skipped when table is deleted. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Created] (HBASE-10741) Deprecate HTablePool and HTableFactory
Nick Dimiduk created HBASE-10741: Summary: Deprecate HTablePool and HTableFactory Key: HBASE-10741 URL: https://issues.apache.org/jira/browse/HBASE-10741 Project: HBase Issue Type: Sub-task Components: Client Affects Versions: 0.96.0, 0.98.0, 0.99.0 Reporter: Nick Dimiduk Per parent ticket, deprecate these ways to retrieve an HTable instance. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HBASE-10741) Deprecate HTablePool and HTableFactory
[ https://issues.apache.org/jira/browse/HBASE-10741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nick Dimiduk updated HBASE-10741: - Attachment: HBASE-10741.00.patch Deprecate HTablePool and HTableFactory -- Key: HBASE-10741 URL: https://issues.apache.org/jira/browse/HBASE-10741 Project: HBase Issue Type: Sub-task Components: Client Affects Versions: 0.98.0, 0.96.0, 0.99.0 Reporter: Nick Dimiduk Fix For: 0.96.2, 0.99.0, 0.98.2 Attachments: HBASE-10741.00.patch Per parent ticket, deprecate these ways to retrieve an HTable instance. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HBASE-10741) Deprecate HTablePool and HTableFactory
[ https://issues.apache.org/jira/browse/HBASE-10741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nick Dimiduk updated HBASE-10741: - Fix Version/s: 0.98.2 0.96.2 Deprecate HTablePool and HTableFactory -- Key: HBASE-10741 URL: https://issues.apache.org/jira/browse/HBASE-10741 Project: HBase Issue Type: Sub-task Components: Client Affects Versions: 0.98.0, 0.96.0, 0.99.0 Reporter: Nick Dimiduk Fix For: 0.96.2, 0.99.0, 0.98.2 Attachments: HBASE-10741.00.patch Per parent ticket, deprecate these ways to retrieve an HTable instance. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-10741) Deprecate HTablePool and HTableFactory
[ https://issues.apache.org/jira/browse/HBASE-10741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13934028#comment-13934028 ] Nick Dimiduk commented on HBASE-10741: -- [~apurtell] I wouldn't mind sneaking this into 0.98.1 if you haven't spun the RC yet. Deprecate HTablePool and HTableFactory -- Key: HBASE-10741 URL: https://issues.apache.org/jira/browse/HBASE-10741 Project: HBase Issue Type: Sub-task Components: Client Affects Versions: 0.98.0, 0.96.0, 0.99.0 Reporter: Nick Dimiduk Assignee: Nick Dimiduk Fix For: 0.96.2, 0.99.0, 0.98.2 Attachments: HBASE-10741.00.patch Per parent ticket, deprecate these ways to retrieve an HTable instance. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-10569) Co-locate meta and master
[ https://issues.apache.org/jira/browse/HBASE-10569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13934025#comment-13934025 ] Enis Soztutar commented on HBASE-10569: --- Ted has a fix for it in HBASE-10691, but I think it is good to keep the hadoop1 compile around for some more time, since we are still backporting bug fixes etc to 0.98 and 0.96. Maybe we can make it so that the pre-commit test will continue, and just report that the compilation failed as an FYI. Co-locate meta and master - Key: HBASE-10569 URL: https://issues.apache.org/jira/browse/HBASE-10569 Project: HBase Issue Type: Improvement Components: master, Region Assignment Reporter: Jimmy Xiang Assignee: Jimmy Xiang Attachments: hbase-10569_v1.patch I was thinking simplifying/improving the region assignments. The first step is to co-locate the meta and the master as many people agreed on HBASE-5487. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Assigned] (HBASE-10741) Deprecate HTablePool and HTableFactory
[ https://issues.apache.org/jira/browse/HBASE-10741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nick Dimiduk reassigned HBASE-10741: Assignee: Nick Dimiduk Deprecate HTablePool and HTableFactory -- Key: HBASE-10741 URL: https://issues.apache.org/jira/browse/HBASE-10741 Project: HBase Issue Type: Sub-task Components: Client Affects Versions: 0.98.0, 0.96.0, 0.99.0 Reporter: Nick Dimiduk Assignee: Nick Dimiduk Fix For: 0.96.2, 0.99.0, 0.98.2 Attachments: HBASE-10741.00.patch Per parent ticket, deprecate these ways to retrieve an HTable instance. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HBASE-10741) Deprecate HTablePool and HTableFactory
[ https://issues.apache.org/jira/browse/HBASE-10741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nick Dimiduk updated HBASE-10741: - Release Note: HTablePool and HTableFactory are relics and are going away. See HConnection#getTable instead. Status: Patch Available (was: Open) Deprecate HTablePool and HTableFactory -- Key: HBASE-10741 URL: https://issues.apache.org/jira/browse/HBASE-10741 Project: HBase Issue Type: Sub-task Components: Client Affects Versions: 0.96.0, 0.98.0, 0.99.0 Reporter: Nick Dimiduk Fix For: 0.96.2, 0.99.0, 0.98.2 Attachments: HBASE-10741.00.patch Per parent ticket, deprecate these ways to retrieve an HTable instance. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HBASE-10569) Co-locate meta and master
[ https://issues.apache.org/jira/browse/HBASE-10569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13934032#comment-13934032 ] Jimmy Xiang commented on HBASE-10569: - I see. That's a good idea. Thanks. Co-locate meta and master - Key: HBASE-10569 URL: https://issues.apache.org/jira/browse/HBASE-10569 Project: HBase Issue Type: Improvement Components: master, Region Assignment Reporter: Jimmy Xiang Assignee: Jimmy Xiang Attachments: hbase-10569_v1.patch I was thinking simplifying/improving the region assignments. The first step is to co-locate the meta and the master as many people agreed on HBASE-5487. -- This message was sent by Atlassian JIRA (v6.2#6252)