[jira] [Commented] (HBASE-12148) Remove TimeRangeTracker as point of contention when many threads writing a Store
[ https://issues.apache.org/jira/browse/HBASE-12148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14160034#comment-14160034 ] Lars Hofhansl commented on HBASE-12148: --- Is this correct: {code} + long minimumTimestamp = INITIAL_MINIMUM_TIMESTAMP; ... +if (timestamp this.minimumTimestamp) { + synchronized (this) { +if (!init(timestamp)) { ... +} else if (timestamp this.maximumTimestamp) { + synchronized (this) { +if (!init(timestamp)) { ... {code} ? {{this.minimumTimestamp}} might be in flight of being changed. Your reasoning is that minimumTimestamp will only get smaller and maximumTimestamp only bigger... Hence the check here will not actually miss a change? (i.e. if the new value is not smaller than the current minTS it is definitely not smaller than any new version of minTS...?) That might work, but it's risky. On 32bit systems an update to long is not atomic in Java, so a reader here might see a partially updated long. I think you cannot get around declaring minimumTimestamp and maximumTimestamp volatile, that will add some of the overhead back in. [~stack], [~apurtell]. Remove TimeRangeTracker as point of contention when many threads writing a Store Key: HBASE-12148 URL: https://issues.apache.org/jira/browse/HBASE-12148 Project: HBase Issue Type: Sub-task Components: Performance Affects Versions: 2.0.0, 0.99.1 Reporter: stack Assignee: stack Fix For: 2.0.0, 0.98.7, 0.99.1 Attachments: 12148.txt, 12148.txt, 12148v2.txt, 12148v2.txt, Screen Shot 2014-10-01 at 3.39.46 PM.png, Screen Shot 2014-10-01 at 3.41.07 PM.png -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-12075) Preemptive Fast Fail
[ https://issues.apache.org/jira/browse/HBASE-12075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14160038#comment-14160038 ] Lars Hofhansl commented on HBASE-12075: --- From the description this is an implementation of the circuit breaker pattern, right? Anecdotically we had that implemented here as well, but found it problematic for various reason and have since replaced with a resource counter/limiter. I.e. via a simple semaphore and an acquire/release protocol we simply limit the number of threads that use a resource (HTable, HConnection, PhoenixConnection) to a number that is acceptable to us. CircuitBreaker was problematic for various reasons: # needed to absolutely sure this is a non-recoverable problem # what if only a few region servers have issues (a) (now need to group exception by region server) in order to decide we need to fail other connection # what if only a few region servers have issues (b) - cluster is not down, yet, client threads will hang # apps created grouping constructs over HTable/HConnection (Phoenix in our case), now the circuit breaker got in the way at the wrong times, we need to pull it up higher # (there were more issues, these are off the top of my head) Preemptive Fast Fail Key: HBASE-12075 URL: https://issues.apache.org/jira/browse/HBASE-12075 Project: HBase Issue Type: Sub-task Components: Client Affects Versions: 0.99.0, 2.0.0, 0.98.6.1 Reporter: Manukranth Kolloju Assignee: Manukranth Kolloju Attachments: 0001-Add-a-test-case-for-Preemptive-Fast-Fail.patch, 0001-HBASE-12075-Implement-Preemptive-Fast-Fail.patch, 0001-HBASE-12075-Implement-Preemptive-Fast-Fail.patch, 0001-Implement-Preemptive-Fast-Fail.patch, 0001-Implement-Preemptive-Fast-Fail.patch, 0001-Implement-Preemptive-Fast-Fail.patch, 0001-Implement-Preemptive-Fast-Fail.patch, 0001-Implement-Preemptive-Fast-Fail.patch In multi threaded clients, we use a feature developed on 0.89-fb branch called Preemptive Fast Fail. This allows the client threads which would potentially fail, fail fast. The idea behind this feature is that we allow, among the hundreds of client threads, one thread to try and establish connection with the regionserver and if that succeeds, we mark it as a live node again. Meanwhile, other threads which are trying to establish connection to the same server would ideally go into the timeouts which is effectively unfruitful. We can in those cases return appropriate exceptions to those clients instead of letting them retry. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (HBASE-12176) WALCellCodec Encoders support for non-KeyValue Cells
Anoop Sam John created HBASE-12176: -- Summary: WALCellCodec Encoders support for non-KeyValue Cells Key: HBASE-12176 URL: https://issues.apache.org/jira/browse/HBASE-12176 Project: HBase Issue Type: Improvement Reporter: Anoop Sam John Assignee: Anoop Sam John Fix For: 2.0.0, 0.99.1 Now in all Encoder returned by WALCellCodec and SecureWALCellCodec it is assumed that it will get only KeyValues. If not it just throws IOE. Now we support Cells through out in write path as well and these Encoders should support non KV cells as well. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-12176) WALCellCodec Encoders support for non-KeyValue Cells
[ https://issues.apache.org/jira/browse/HBASE-12176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anoop Sam John updated HBASE-12176: --- Status: Patch Available (was: Open) WALCellCodec Encoders support for non-KeyValue Cells Key: HBASE-12176 URL: https://issues.apache.org/jira/browse/HBASE-12176 Project: HBase Issue Type: Improvement Reporter: Anoop Sam John Assignee: Anoop Sam John Fix For: 2.0.0, 0.99.1 Attachments: HBASE-12176.patch Now in all Encoder returned by WALCellCodec and SecureWALCellCodec it is assumed that it will get only KeyValues. If not it just throws IOE. Now we support Cells through out in write path as well and these Encoders should support non KV cells as well. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-12176) WALCellCodec Encoders support for non-KeyValue Cells
[ https://issues.apache.org/jira/browse/HBASE-12176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anoop Sam John updated HBASE-12176: --- Attachment: HBASE-12176.patch WALCellCodec Encoders support for non-KeyValue Cells Key: HBASE-12176 URL: https://issues.apache.org/jira/browse/HBASE-12176 Project: HBase Issue Type: Improvement Reporter: Anoop Sam John Assignee: Anoop Sam John Fix For: 2.0.0, 0.99.1 Attachments: HBASE-12176.patch Now in all Encoder returned by WALCellCodec and SecureWALCellCodec it is assumed that it will get only KeyValues. If not it just throws IOE. Now we support Cells through out in write path as well and these Encoders should support non KV cells as well. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-12176) WALCellCodec Encoders support for non-KeyValue Cells
[ https://issues.apache.org/jira/browse/HBASE-12176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14160099#comment-14160099 ] Hadoop QA commented on HBASE-12176: --- {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12673061/HBASE-12176.patch against trunk revision . ATTACHMENT ID: 12673061 {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 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 javadoc{color}. The javadoc tool did not generate any warning messages. {color:green}+1 findbugs{color}. The patch does not introduce any new Findbugs (version 2.0.3) warnings. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:green}+1 lineLengths{color}. The patch does not introduce lines longer than 100 {color:green}+1 site{color}. The mvn site goal succeeds with this patch. {color:red}-1 core tests{color}. The patch failed these unit tests: org.apache.hadoop.hbase.replication.regionserver.TestRegionReplicaReplicationEndpoint Test results: https://builds.apache.org/job/PreCommit-HBASE-Build/11221//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11221//artifact/patchprocess/newPatchFindbugsWarningshbase-client.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11221//artifact/patchprocess/newPatchFindbugsWarningshbase-examples.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11221//artifact/patchprocess/newPatchFindbugsWarningshbase-protocol.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11221//artifact/patchprocess/newPatchFindbugsWarningshbase-common.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11221//artifact/patchprocess/newPatchFindbugsWarningshbase-server.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11221//artifact/patchprocess/newPatchFindbugsWarningshbase-thrift.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11221//artifact/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11221//artifact/patchprocess/newPatchFindbugsWarningshbase-prefix-tree.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11221//artifact/patchprocess/newPatchFindbugsWarningshbase-hadoop2-compat.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11221//artifact/patchprocess/newPatchFindbugsWarningshbase-annotations.html Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/11221//console This message is automatically generated. WALCellCodec Encoders support for non-KeyValue Cells Key: HBASE-12176 URL: https://issues.apache.org/jira/browse/HBASE-12176 Project: HBase Issue Type: Improvement Reporter: Anoop Sam John Assignee: Anoop Sam John Fix For: 2.0.0, 0.99.1 Attachments: HBASE-12176.patch Now in all Encoder returned by WALCellCodec and SecureWALCellCodec it is assumed that it will get only KeyValues. If not it just throws IOE. Now we support Cells through out in write path as well and these Encoders should support non KV cells as well. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-12176) WALCellCodec Encoders support for non-KeyValue Cells
[ https://issues.apache.org/jira/browse/HBASE-12176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14160105#comment-14160105 ] Ted Yu commented on HBASE-12176: +1 WALCellCodec Encoders support for non-KeyValue Cells Key: HBASE-12176 URL: https://issues.apache.org/jira/browse/HBASE-12176 Project: HBase Issue Type: Improvement Reporter: Anoop Sam John Assignee: Anoop Sam John Fix For: 2.0.0, 0.99.1 Attachments: HBASE-12176.patch Now in all Encoder returned by WALCellCodec and SecureWALCellCodec it is assumed that it will get only KeyValues. If not it just throws IOE. Now we support Cells through out in write path as well and these Encoders should support non KV cells as well. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Work started] (HBASE-11639) [Visibility controller] Replicate the visibility of Cells as strings
[ https://issues.apache.org/jira/browse/HBASE-11639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on HBASE-11639 started by ramkrishna.s.vasudevan. -- [Visibility controller] Replicate the visibility of Cells as strings Key: HBASE-11639 URL: https://issues.apache.org/jira/browse/HBASE-11639 Project: HBase Issue Type: Improvement Components: Replication, security Affects Versions: 0.98.4 Reporter: ramkrishna.s.vasudevan Assignee: ramkrishna.s.vasudevan Labels: VisibilityLabels Fix For: 2.0.0, 0.98.7, 0.99.1 This issue is aimed at persisting the visibility labels as strings in the WAL rather than Label ordinals. This would help in replicating the label ordinals to the replication cluster as strings directly and also that after HBASE-11553 would help because the replication cluster could have an implementation as string based visibility labels. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-11835) Wrong managenement of non expected calls in the client
[ https://issues.apache.org/jira/browse/HBASE-11835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14160384#comment-14160384 ] Nicolas Liochon commented on HBASE-11835: - The failures are very likely unrelated. I plan to commit this this week if nobody disagrees. Wrong managenement of non expected calls in the client -- Key: HBASE-11835 URL: https://issues.apache.org/jira/browse/HBASE-11835 Project: HBase Issue Type: Bug Components: Client Affects Versions: 1.0.0, 2.0.0, 0.98.6 Reporter: Nicolas Liochon Assignee: Nicolas Liochon Fix For: 2.0.0, 0.99.1 Attachments: 11835.rebase.patch, rpcClient.patch If a call is purged or canceled we try to skip the reply from the server, but we read the wrong number of bytes so we corrupt the tcp channel. It's hidden as it triggers retry and so on, but it's bad for performances obviously. It happens with cell blocks. [~ram_krish_86], [~saint@gmail.com], you know this part better than me, do you agree with the analysis and the patch? The changes in rpcServer are not fully related: as the client close the connections in such situation, I observed both ClosedChannelException and CancelledKeyException. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (HBASE-12177) TestIPv6NIOServerSocketChannel hangs consistently on Java 8
Andrew Purtell created HBASE-12177: -- Summary: TestIPv6NIOServerSocketChannel hangs consistently on Java 8 Key: HBASE-12177 URL: https://issues.apache.org/jira/browse/HBASE-12177 Project: HBase Issue Type: Bug Reporter: Andrew Purtell Assignee: Andrew Purtell Fix For: 0.98.7 Attachments: jstack.txt TestIPv6NIOServerSocketChannel hangs consistently on Java 8. jstack dump attached. This is on a 64-bit Ubuntu 14.04 system kernel Linux version 3.13.0-29-generic (buildd@toyol) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #53-Ubuntu SMP Wed Jun 4 21:00:20 UTC 2014 {noformat} pool-1-thread-1 #9 prio=5 os_prio=0 tid=0x7ff330707000 nid=0x41a8 runnable [0x7ff309e8f000] java.lang.Thread.State: RUNNABLE at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:382) - locked 0xe1c004e0 (a java.net.SocksSocketImpl) at java.net.ServerSocket.bind(ServerSocket.java:375) at java.net.ServerSocket.bind(ServerSocket.java:329) at org.apache.hadoop.hbase.TestIPv6NIOServerSocketChannel.bindServerSocket(TestIPv6NIOServerSocketChannel.java:60) at org.apache.hadoop.hbase.TestIPv6NIOServerSocketChannel.testServerSocketFromLocalhostResolution(TestIPv6NIOServerSocketChannel.java:149){noformat} I am going to disable this test in 0.98 branch for now. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-12177) TestIPv6NIOServerSocketChannel hangs consistently on Java 8
[ https://issues.apache.org/jira/browse/HBASE-12177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Purtell updated HBASE-12177: --- Attachment: jstack.txt TestIPv6NIOServerSocketChannel hangs consistently on Java 8 --- Key: HBASE-12177 URL: https://issues.apache.org/jira/browse/HBASE-12177 Project: HBase Issue Type: Bug Reporter: Andrew Purtell Assignee: Andrew Purtell Fix For: 0.98.7 Attachments: jstack.txt TestIPv6NIOServerSocketChannel hangs consistently on Java 8. jstack dump attached. This is on a 64-bit Ubuntu 14.04 system kernel Linux version 3.13.0-29-generic (buildd@toyol) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #53-Ubuntu SMP Wed Jun 4 21:00:20 UTC 2014 {noformat} pool-1-thread-1 #9 prio=5 os_prio=0 tid=0x7ff330707000 nid=0x41a8 runnable [0x7ff309e8f000] java.lang.Thread.State: RUNNABLE at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:382) - locked 0xe1c004e0 (a java.net.SocksSocketImpl) at java.net.ServerSocket.bind(ServerSocket.java:375) at java.net.ServerSocket.bind(ServerSocket.java:329) at org.apache.hadoop.hbase.TestIPv6NIOServerSocketChannel.bindServerSocket(TestIPv6NIOServerSocketChannel.java:60) at org.apache.hadoop.hbase.TestIPv6NIOServerSocketChannel.testServerSocketFromLocalhostResolution(TestIPv6NIOServerSocketChannel.java:149){noformat} I am going to disable this test in 0.98 branch for now. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-12177) TestIPv6NIOServerSocketChannel hangs consistently on Java 8
[ https://issues.apache.org/jira/browse/HBASE-12177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14160395#comment-14160395 ] Andrew Purtell commented on HBASE-12177: The test doesn't just hang, it also spins on one core at 100% TestIPv6NIOServerSocketChannel hangs consistently on Java 8 --- Key: HBASE-12177 URL: https://issues.apache.org/jira/browse/HBASE-12177 Project: HBase Issue Type: Bug Reporter: Andrew Purtell Assignee: Andrew Purtell Fix For: 0.98.7 Attachments: jstack.txt TestIPv6NIOServerSocketChannel hangs consistently on Java 8. jstack dump attached. This is on a 64-bit Ubuntu 14.04 system kernel Linux version 3.13.0-29-generic (buildd@toyol) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #53-Ubuntu SMP Wed Jun 4 21:00:20 UTC 2014 {noformat} pool-1-thread-1 #9 prio=5 os_prio=0 tid=0x7ff330707000 nid=0x41a8 runnable [0x7ff309e8f000] java.lang.Thread.State: RUNNABLE at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:382) - locked 0xe1c004e0 (a java.net.SocksSocketImpl) at java.net.ServerSocket.bind(ServerSocket.java:375) at java.net.ServerSocket.bind(ServerSocket.java:329) at org.apache.hadoop.hbase.TestIPv6NIOServerSocketChannel.bindServerSocket(TestIPv6NIOServerSocketChannel.java:60) at org.apache.hadoop.hbase.TestIPv6NIOServerSocketChannel.testServerSocketFromLocalhostResolution(TestIPv6NIOServerSocketChannel.java:149){noformat} I am going to disable this test in 0.98 branch for now. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-12177) TestIPv6NIOServerSocketChannel hangs consistently on Java 8
[ https://issues.apache.org/jira/browse/HBASE-12177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Purtell updated HBASE-12177: --- Description: TestIPv6NIOServerSocketChannel hangs consistently on Java 8u20. jstack dump attached. This is on a 64-bit Ubuntu 14.04 system kernel Linux version 3.13.0-29-generic (buildd@toyol) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #53-Ubuntu SMP Wed Jun 4 21:00:20 UTC 2014 {noformat} pool-1-thread-1 #9 prio=5 os_prio=0 tid=0x7ff330707000 nid=0x41a8 runnable [0x7ff309e8f000] java.lang.Thread.State: RUNNABLE at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:382) - locked 0xe1c004e0 (a java.net.SocksSocketImpl) at java.net.ServerSocket.bind(ServerSocket.java:375) at java.net.ServerSocket.bind(ServerSocket.java:329) at org.apache.hadoop.hbase.TestIPv6NIOServerSocketChannel.bindServerSocket(TestIPv6NIOServerSocketChannel.java:60) at org.apache.hadoop.hbase.TestIPv6NIOServerSocketChannel.testServerSocketFromLocalhostResolution(TestIPv6NIOServerSocketChannel.java:149){noformat} I am going to disable this test in 0.98 branch for now. was: TestIPv6NIOServerSocketChannel hangs consistently on Java 8. jstack dump attached. This is on a 64-bit Ubuntu 14.04 system kernel Linux version 3.13.0-29-generic (buildd@toyol) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #53-Ubuntu SMP Wed Jun 4 21:00:20 UTC 2014 {noformat} pool-1-thread-1 #9 prio=5 os_prio=0 tid=0x7ff330707000 nid=0x41a8 runnable [0x7ff309e8f000] java.lang.Thread.State: RUNNABLE at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:382) - locked 0xe1c004e0 (a java.net.SocksSocketImpl) at java.net.ServerSocket.bind(ServerSocket.java:375) at java.net.ServerSocket.bind(ServerSocket.java:329) at org.apache.hadoop.hbase.TestIPv6NIOServerSocketChannel.bindServerSocket(TestIPv6NIOServerSocketChannel.java:60) at org.apache.hadoop.hbase.TestIPv6NIOServerSocketChannel.testServerSocketFromLocalhostResolution(TestIPv6NIOServerSocketChannel.java:149){noformat} I am going to disable this test in 0.98 branch for now. TestIPv6NIOServerSocketChannel hangs consistently on Java 8 --- Key: HBASE-12177 URL: https://issues.apache.org/jira/browse/HBASE-12177 Project: HBase Issue Type: Bug Reporter: Andrew Purtell Assignee: Andrew Purtell Fix For: 0.98.7 Attachments: jstack.txt TestIPv6NIOServerSocketChannel hangs consistently on Java 8u20. jstack dump attached. This is on a 64-bit Ubuntu 14.04 system kernel Linux version 3.13.0-29-generic (buildd@toyol) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #53-Ubuntu SMP Wed Jun 4 21:00:20 UTC 2014 {noformat} pool-1-thread-1 #9 prio=5 os_prio=0 tid=0x7ff330707000 nid=0x41a8 runnable [0x7ff309e8f000] java.lang.Thread.State: RUNNABLE at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:382) - locked 0xe1c004e0 (a java.net.SocksSocketImpl) at java.net.ServerSocket.bind(ServerSocket.java:375) at java.net.ServerSocket.bind(ServerSocket.java:329) at org.apache.hadoop.hbase.TestIPv6NIOServerSocketChannel.bindServerSocket(TestIPv6NIOServerSocketChannel.java:60) at org.apache.hadoop.hbase.TestIPv6NIOServerSocketChannel.testServerSocketFromLocalhostResolution(TestIPv6NIOServerSocketChannel.java:149){noformat} I am going to disable this test in 0.98 branch for now. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-12177) TestIPv6NIOServerSocketChannel hangs consistently on Java 8
[ https://issues.apache.org/jira/browse/HBASE-12177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Purtell updated HBASE-12177: --- Attachment: HBASE-12177-0.98.patch Attached what I pushed to 0.98 to disable the affected tests TestIPv6NIOServerSocketChannel hangs consistently on Java 8 --- Key: HBASE-12177 URL: https://issues.apache.org/jira/browse/HBASE-12177 Project: HBase Issue Type: Bug Reporter: Andrew Purtell Assignee: Andrew Purtell Fix For: 0.98.7 Attachments: HBASE-12177-0.98.patch, jstack.txt TestIPv6NIOServerSocketChannel hangs consistently on Java 8u20. jstack dump attached. This is on a 64-bit Ubuntu 14.04 system kernel Linux version 3.13.0-29-generic (buildd@toyol) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #53-Ubuntu SMP Wed Jun 4 21:00:20 UTC 2014 {noformat} pool-1-thread-1 #9 prio=5 os_prio=0 tid=0x7ff330707000 nid=0x41a8 runnable [0x7ff309e8f000] java.lang.Thread.State: RUNNABLE at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:382) - locked 0xe1c004e0 (a java.net.SocksSocketImpl) at java.net.ServerSocket.bind(ServerSocket.java:375) at java.net.ServerSocket.bind(ServerSocket.java:329) at org.apache.hadoop.hbase.TestIPv6NIOServerSocketChannel.bindServerSocket(TestIPv6NIOServerSocketChannel.java:60) at org.apache.hadoop.hbase.TestIPv6NIOServerSocketChannel.testServerSocketFromLocalhostResolution(TestIPv6NIOServerSocketChannel.java:149){noformat} I am going to disable this test in 0.98 branch for now. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-12148) Remove TimeRangeTracker as point of contention when many threads writing a Store
[ https://issues.apache.org/jira/browse/HBASE-12148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14160403#comment-14160403 ] Andrew Purtell commented on HBASE-12148: bq. On 32bit systems an update to long is not atomic in Java, so a reader here might see a partially updated long. I almost feel we should doc this and move on, if anyone is running the server side on a 32 bit JVM they shouldn't. But yeah the potential for torn reads isn't good. bq. I think you cannot get around declaring minimumTimestamp and maximumTimestamp volatile, that will add some of the overhead back in. We can make that change Remove TimeRangeTracker as point of contention when many threads writing a Store Key: HBASE-12148 URL: https://issues.apache.org/jira/browse/HBASE-12148 Project: HBase Issue Type: Sub-task Components: Performance Affects Versions: 2.0.0, 0.99.1 Reporter: stack Assignee: stack Fix For: 2.0.0, 0.98.7, 0.99.1 Attachments: 12148.txt, 12148.txt, 12148v2.txt, 12148v2.txt, Screen Shot 2014-10-01 at 3.39.46 PM.png, Screen Shot 2014-10-01 at 3.41.07 PM.png -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-12148) Remove TimeRangeTracker as point of contention when many threads writing a Store
[ https://issues.apache.org/jira/browse/HBASE-12148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14160412#comment-14160412 ] Nicolas Liochon commented on HBASE-12148: - bq. I almost feel we should doc this and move on, if anyone is running the server side on a 32 bit JVM they shouldn't. But yeah the potential for torn reads isn't good. +1. As well, IIRC, there are other parts of code where we rely on atomic op for 64 bits stuff (as we don't test on 32 bits, what I said is likely true with the usual pattern not tested means not working). Remove TimeRangeTracker as point of contention when many threads writing a Store Key: HBASE-12148 URL: https://issues.apache.org/jira/browse/HBASE-12148 Project: HBase Issue Type: Sub-task Components: Performance Affects Versions: 2.0.0, 0.99.1 Reporter: stack Assignee: stack Fix For: 2.0.0, 0.98.7, 0.99.1 Attachments: 12148.txt, 12148.txt, 12148v2.txt, 12148v2.txt, Screen Shot 2014-10-01 at 3.39.46 PM.png, Screen Shot 2014-10-01 at 3.41.07 PM.png -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (HBASE-12178) Failed splits are kept in transition
Elliott Clark created HBASE-12178: - Summary: Failed splits are kept in transition Key: HBASE-12178 URL: https://issues.apache.org/jira/browse/HBASE-12178 Project: HBase Issue Type: Bug Affects Versions: 0.98.6.1 Reporter: Elliott Clark Assignee: Elliott Clark When a region split fails ( took too long to write the reference files ) the region stays int SPLITTING_NEW state and in transition on the master forever. This will block balancer invocations. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-12173) Backport: [PE] Allow random value size
[ https://issues.apache.org/jira/browse/HBASE-12173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Purtell updated HBASE-12173: --- Fix Version/s: (was: 0.98.7) 0.98.8 Backport: [PE] Allow random value size -- Key: HBASE-12173 URL: https://issues.apache.org/jira/browse/HBASE-12173 Project: HBase Issue Type: Sub-task Components: Performance Reporter: Lars Hofhansl Fix For: 0.98.8, 0.94.25 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-12163) Move test annotation classes to the same package as in master
[ https://issues.apache.org/jira/browse/HBASE-12163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Purtell updated HBASE-12163: --- Fix Version/s: (was: 0.98.7) 0.98.8 Move test annotation classes to the same package as in master - Key: HBASE-12163 URL: https://issues.apache.org/jira/browse/HBASE-12163 Project: HBase Issue Type: Bug Reporter: Enis Soztutar Assignee: Enis Soztutar Priority: Trivial Fix For: 0.98.8, 0.99.1 Test classe annotations (SmallTests, etc) are in different packages in master vs 0.98 and branch-1 making backporting difficult. Lets move them to the same package. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (HBASE-12146) RegionServerTracker should escape data in log messages
[ https://issues.apache.org/jira/browse/HBASE-12146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Purtell resolved HBASE-12146. Resolution: Fixed This looks like it was committed RegionServerTracker should escape data in log messages -- Key: HBASE-12146 URL: https://issues.apache.org/jira/browse/HBASE-12146 Project: HBase Issue Type: Bug Reporter: Lars Hofhansl Assignee: stack Priority: Trivial Fix For: 2.0.0, 0.98.7, 0.99.1, 0.94.25 Attachments: 12146.094.txt, 12146.098.txt, 12146.txt Trivial thing I observed when testing 0.94.24RC2. I see a log message of the form: 2014-10-01 13:52:35,632 INFO org.apache.hadoop.hbase.zookeeper.RegionServerTracker: Rs node: /hbase/rs/newbunny,52514,1412196754788 data: PBUο^C Obviously the tracker does not escape the value (or maybe it shouldn't log it in the fist place) -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-12177) TestIPv6NIOServerSocketChannel hangs consistently on Java 8
[ https://issues.apache.org/jira/browse/HBASE-12177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14160450#comment-14160450 ] Hudson commented on HBASE-12177: FAILURE: Integrated in HBase-0.98-on-Hadoop-1.1 #545 (See [https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/545/]) HBASE-12177 TestIPv6NIOServerSocketChannel hangs consistently on Java 8 (apurtell: rev 7f8a86441ed9177498a7e73b2815055fd5271b54) * hbase-server/src/test/java/org/apache/hadoop/hbase/TestIPv6NIOServerSocketChannel.java TestIPv6NIOServerSocketChannel hangs consistently on Java 8 --- Key: HBASE-12177 URL: https://issues.apache.org/jira/browse/HBASE-12177 Project: HBase Issue Type: Bug Reporter: Andrew Purtell Assignee: Andrew Purtell Fix For: 0.98.7 Attachments: HBASE-12177-0.98.patch, jstack.txt TestIPv6NIOServerSocketChannel hangs consistently on Java 8u20. jstack dump attached. This is on a 64-bit Ubuntu 14.04 system kernel Linux version 3.13.0-29-generic (buildd@toyol) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #53-Ubuntu SMP Wed Jun 4 21:00:20 UTC 2014 {noformat} pool-1-thread-1 #9 prio=5 os_prio=0 tid=0x7ff330707000 nid=0x41a8 runnable [0x7ff309e8f000] java.lang.Thread.State: RUNNABLE at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:382) - locked 0xe1c004e0 (a java.net.SocksSocketImpl) at java.net.ServerSocket.bind(ServerSocket.java:375) at java.net.ServerSocket.bind(ServerSocket.java:329) at org.apache.hadoop.hbase.TestIPv6NIOServerSocketChannel.bindServerSocket(TestIPv6NIOServerSocketChannel.java:60) at org.apache.hadoop.hbase.TestIPv6NIOServerSocketChannel.testServerSocketFromLocalhostResolution(TestIPv6NIOServerSocketChannel.java:149){noformat} I am going to disable this test in 0.98 branch for now. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-12106) Move test annotations to test artifact
[ https://issues.apache.org/jira/browse/HBASE-12106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14160452#comment-14160452 ] Andrew Purtell commented on HBASE-12106: +1, will commit shortly. Move test annotations to test artifact -- Key: HBASE-12106 URL: https://issues.apache.org/jira/browse/HBASE-12106 Project: HBase Issue Type: Bug Reporter: Enis Soztutar Assignee: Enis Soztutar Fix For: 2.0.0, 0.98.7, 0.99.1 Attachments: hbase-12106_v1-0.98+0.99.patch, hbase-12106_v1.patch, hbase-12106_v1.patch, hbase-12106_v2.patch Test annotation interfaces used to be under hbase-common/src/test then moved to hbase-annotations/src/main. We should move them to hbase-annotations/src/test. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-11979) Compaction progress reporting is wrong
[ https://issues.apache.org/jira/browse/HBASE-11979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Purtell updated HBASE-11979: --- Fix Version/s: (was: 0.98.7) 0.98.8 Compaction progress reporting is wrong -- Key: HBASE-11979 URL: https://issues.apache.org/jira/browse/HBASE-11979 Project: HBase Issue Type: Bug Reporter: Andrew Purtell Assignee: Esteban Gutierrez Priority: Minor Fix For: 2.0.0, 0.98.8, 0.99.1 This is a long standing problem and previously could be observed in regionserver metrics, but, we recently added logging for long running compactions, and this has exposed the issue in a new way, e.g. {noformat} 2014-09-15 14:20:59,450 DEBUG [regionserver8120-largeCompactions-1410813534627] compactions.Compactor: Compaction progress: 22683625/6808179 (333.18%), rate=162.08 kB/sec {noformat} The 'rate' reported in such logging is consistent and what we were really after, but the progress indication is clearly broken and should be fixed. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-11979) Compaction progress reporting is wrong
[ https://issues.apache.org/jira/browse/HBASE-11979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14160453#comment-14160453 ] Andrew Purtell commented on HBASE-11979: Moved out of 0.98.7 Compaction progress reporting is wrong -- Key: HBASE-11979 URL: https://issues.apache.org/jira/browse/HBASE-11979 Project: HBase Issue Type: Bug Reporter: Andrew Purtell Assignee: Esteban Gutierrez Priority: Minor Fix For: 2.0.0, 0.98.8, 0.99.1 This is a long standing problem and previously could be observed in regionserver metrics, but, we recently added logging for long running compactions, and this has exposed the issue in a new way, e.g. {noformat} 2014-09-15 14:20:59,450 DEBUG [regionserver8120-largeCompactions-1410813534627] compactions.Compactor: Compaction progress: 22683625/6808179 (333.18%), rate=162.08 kB/sec {noformat} The 'rate' reported in such logging is consistent and what we were really after, but the progress indication is clearly broken and should be fixed. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-12176) WALCellCodec Encoders support for non-KeyValue Cells
[ https://issues.apache.org/jira/browse/HBASE-12176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14160473#comment-14160473 ] ramkrishna.s.vasudevan commented on HBASE-12176: +1 WALCellCodec Encoders support for non-KeyValue Cells Key: HBASE-12176 URL: https://issues.apache.org/jira/browse/HBASE-12176 Project: HBase Issue Type: Improvement Reporter: Anoop Sam John Assignee: Anoop Sam John Fix For: 2.0.0, 0.99.1 Attachments: HBASE-12176.patch Now in all Encoder returned by WALCellCodec and SecureWALCellCodec it is assumed that it will get only KeyValues. If not it just throws IOE. Now we support Cells through out in write path as well and these Encoders should support non KV cells as well. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-12011) Adding namespace column during display of user tables
[ https://issues.apache.org/jira/browse/HBASE-12011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-12011: --- Fix Version/s: 0.99.1 0.98.7 2.0.0 Adding namespace column during display of user tables - Key: HBASE-12011 URL: https://issues.apache.org/jira/browse/HBASE-12011 Project: HBase Issue Type: Improvement Reporter: Srikanth Srungarapu Assignee: Srikanth Srungarapu Priority: Minor Fix For: 2.0.0, 0.98.7, 0.99.1 Attachments: HBASE-12011.patch, Screen Shot 2014-09-17 at 3.29.01 PM.png Currently, the namespaces are not being explicitly stated while displaying the user tables. This will help in decoupling the table names and their corresponding namespaces. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-12011) Add namespace column during display of user tables
[ https://issues.apache.org/jira/browse/HBASE-12011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-12011: --- Summary: Add namespace column during display of user tables (was: Adding namespace column during display of user tables) Add namespace column during display of user tables -- Key: HBASE-12011 URL: https://issues.apache.org/jira/browse/HBASE-12011 Project: HBase Issue Type: Improvement Reporter: Srikanth Srungarapu Assignee: Srikanth Srungarapu Priority: Minor Fix For: 2.0.0, 0.98.7, 0.99.1 Attachments: HBASE-12011.patch, Screen Shot 2014-09-17 at 3.29.01 PM.png Currently, the namespaces are not being explicitly stated while displaying the user tables. This will help in decoupling the table names and their corresponding namespaces. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-11815) Flush and compaction could just close the tmp writer if there is an exception
[ https://issues.apache.org/jira/browse/HBASE-11815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ramkrishna.s.vasudevan updated HBASE-11815: --- Status: Open (was: Patch Available) Flush and compaction could just close the tmp writer if there is an exception - Key: HBASE-11815 URL: https://issues.apache.org/jira/browse/HBASE-11815 Project: HBase Issue Type: Bug Reporter: ramkrishna.s.vasudevan Assignee: ramkrishna.s.vasudevan Priority: Trivial Fix For: 2.0.0, 0.98.7, 0.99.1 Attachments: HBASE-11815.patch, HBASE-11815_1.patch A minor change. {code} try { flushed = performFlush(scanner, writer, smallestReadPoint); } finally { finalizeWriter(writer, cacheFlushId, status); } {code} Whenever there is a failure during flush we should close the writer but adding the meta data and setting the status would not be needed. {code} status.setStatus(Flushing + store + : appending metadata); writer.appendMetadata(cacheFlushSeqNum, false); status.setStatus(Flushing + store + : closing flushed file); writer.close(); {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-11507) Enhance test-patch.sh to check for direct calls to HBaseZeroCopyByteString.wrap()
[ https://issues.apache.org/jira/browse/HBASE-11507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-11507: --- Status: Open (was: Patch Available) Enhance test-patch.sh to check for direct calls to HBaseZeroCopyByteString.wrap() - Key: HBASE-11507 URL: https://issues.apache.org/jira/browse/HBASE-11507 Project: HBase Issue Type: Task Reporter: Ted Yu Assignee: Gustavo Anatoly Priority: Trivial Attachments: HBASE-11507-javadoc.patch, HBASE-11507.patch HBaseZeroCopyByteString.wrap() should not be called directly. ByteStringer.wrap() should be called instead. This task adds check for direct calls to HBaseZeroCopyByteString.wrap() to test-patch.sh. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-11815) Flush and compaction could just close the tmp writer if there is an exception
[ https://issues.apache.org/jira/browse/HBASE-11815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ramkrishna.s.vasudevan updated HBASE-11815: --- Attachment: HBASE-11815_0.98.patch HBASE-11815_2.patch Attaching rebased patches and for 0.98 Flush and compaction could just close the tmp writer if there is an exception - Key: HBASE-11815 URL: https://issues.apache.org/jira/browse/HBASE-11815 Project: HBase Issue Type: Bug Reporter: ramkrishna.s.vasudevan Assignee: ramkrishna.s.vasudevan Priority: Trivial Fix For: 2.0.0, 0.98.7, 0.99.1 Attachments: HBASE-11815.patch, HBASE-11815_0.98.patch, HBASE-11815_1.patch, HBASE-11815_2.patch A minor change. {code} try { flushed = performFlush(scanner, writer, smallestReadPoint); } finally { finalizeWriter(writer, cacheFlushId, status); } {code} Whenever there is a failure during flush we should close the writer but adding the meta data and setting the status would not be needed. {code} status.setStatus(Flushing + store + : appending metadata); writer.appendMetadata(cacheFlushSeqNum, false); status.setStatus(Flushing + store + : closing flushed file); writer.close(); {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-11815) Flush and compaction could just close the tmp writer if there is an exception
[ https://issues.apache.org/jira/browse/HBASE-11815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ramkrishna.s.vasudevan updated HBASE-11815: --- Status: Patch Available (was: Open) Flush and compaction could just close the tmp writer if there is an exception - Key: HBASE-11815 URL: https://issues.apache.org/jira/browse/HBASE-11815 Project: HBase Issue Type: Bug Reporter: ramkrishna.s.vasudevan Assignee: ramkrishna.s.vasudevan Priority: Trivial Fix For: 2.0.0, 0.98.7, 0.99.1 Attachments: HBASE-11815.patch, HBASE-11815_0.98.patch, HBASE-11815_1.patch, HBASE-11815_2.patch A minor change. {code} try { flushed = performFlush(scanner, writer, smallestReadPoint); } finally { finalizeWriter(writer, cacheFlushId, status); } {code} Whenever there is a failure during flush we should close the writer but adding the meta data and setting the status would not be needed. {code} status.setStatus(Flushing + store + : appending metadata); writer.appendMetadata(cacheFlushSeqNum, false); status.setStatus(Flushing + store + : closing flushed file); writer.close(); {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-11815) Flush and compaction could just close the tmp writer if there is an exception
[ https://issues.apache.org/jira/browse/HBASE-11815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14160530#comment-14160530 ] Hadoop QA commented on HBASE-11815: --- {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12673128/HBASE-11815_0.98.patch against trunk revision . ATTACHMENT ID: 12673128 {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:red}-1 patch{color}. The patch command could not apply the patch. Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/11222//console This message is automatically generated. Flush and compaction could just close the tmp writer if there is an exception - Key: HBASE-11815 URL: https://issues.apache.org/jira/browse/HBASE-11815 Project: HBase Issue Type: Bug Reporter: ramkrishna.s.vasudevan Assignee: ramkrishna.s.vasudevan Priority: Trivial Fix For: 2.0.0, 0.98.7, 0.99.1 Attachments: HBASE-11815.patch, HBASE-11815_0.98.patch, HBASE-11815_1.patch, HBASE-11815_2.patch A minor change. {code} try { flushed = performFlush(scanner, writer, smallestReadPoint); } finally { finalizeWriter(writer, cacheFlushId, status); } {code} Whenever there is a failure during flush we should close the writer but adding the meta data and setting the status would not be needed. {code} status.setStatus(Flushing + store + : appending metadata); writer.appendMetadata(cacheFlushSeqNum, false); status.setStatus(Flushing + store + : closing flushed file); writer.close(); {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-12011) Add namespace column during display of user tables
[ https://issues.apache.org/jira/browse/HBASE-12011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14160533#comment-14160533 ] Hudson commented on HBASE-12011: FAILURE: Integrated in HBase-0.98-on-Hadoop-1.1 #546 (See [https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/546/]) HBASE-12011 Add namespace column during display of user tables (Srikanth Srungarapu) (tedyu: rev 4a1de6548aabc386505bfe02369b0f9983adb8c7) * hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon Add namespace column during display of user tables -- Key: HBASE-12011 URL: https://issues.apache.org/jira/browse/HBASE-12011 Project: HBase Issue Type: Improvement Reporter: Srikanth Srungarapu Assignee: Srikanth Srungarapu Priority: Minor Fix For: 2.0.0, 0.98.7, 0.99.1 Attachments: HBASE-12011.patch, Screen Shot 2014-09-17 at 3.29.01 PM.png Currently, the namespaces are not being explicitly stated while displaying the user tables. This will help in decoupling the table names and their corresponding namespaces. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (HBASE-12180) Fix and reenable TestRegionReplicaReplicationEndpoint
stack created HBASE-12180: - Summary: Fix and reenable TestRegionReplicaReplicationEndpoint Key: HBASE-12180 URL: https://issues.apache.org/jira/browse/HBASE-12180 Project: HBase Issue Type: Task Components: test Affects Versions: 2.0.0 Reporter: stack HBASE-12172 disabled this test because it was flakey. This issue is about reenabling it. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-12172) Disable flakey TestRegionReplicaReplicationEndpoint and make fixing it a blocker on 1.0
[ https://issues.apache.org/jira/browse/HBASE-12172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack updated HBASE-12172: -- Resolution: Fixed Fix Version/s: (was: 0.99.1) Status: Resolved (was: Patch Available) HBASE-12180 is about reenabling the test once it has been made unflakey. I committed the disabling to the master branch. This test is not in branch-1. Disable flakey TestRegionReplicaReplicationEndpoint and make fixing it a blocker on 1.0 --- Key: HBASE-12172 URL: https://issues.apache.org/jira/browse/HBASE-12172 Project: HBase Issue Type: Bug Components: test Reporter: stack Assignee: stack Fix For: 2.0.0 Attachments: 12172.disable.txt This test is categorized FlakeyTest. It earned this sobriquet by continually failing from time to time.. Here is recent https://builds.apache.org/job/HBase-TRUNK/5619/testReport/ It is important test and someone needs to spend tie on it but its plain folks are a bit busy at mo. Meantime, lets not this test get in the way of our getting all-green test runs. Let me put up a patch to disable it. I'll then file blocker against 1.0 so it gets fixed before we release. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-12177) TestIPv6NIOServerSocketChannel hangs consistently on Java 8
[ https://issues.apache.org/jira/browse/HBASE-12177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14160542#comment-14160542 ] stack commented on HBASE-12177: --- Should we push to all branches Mr [~apurtell]? TestIPv6NIOServerSocketChannel hangs consistently on Java 8 --- Key: HBASE-12177 URL: https://issues.apache.org/jira/browse/HBASE-12177 Project: HBase Issue Type: Bug Reporter: Andrew Purtell Assignee: Andrew Purtell Fix For: 0.98.7 Attachments: HBASE-12177-0.98.patch, jstack.txt TestIPv6NIOServerSocketChannel hangs consistently on Java 8u20. jstack dump attached. This is on a 64-bit Ubuntu 14.04 system kernel Linux version 3.13.0-29-generic (buildd@toyol) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #53-Ubuntu SMP Wed Jun 4 21:00:20 UTC 2014 {noformat} pool-1-thread-1 #9 prio=5 os_prio=0 tid=0x7ff330707000 nid=0x41a8 runnable [0x7ff309e8f000] java.lang.Thread.State: RUNNABLE at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:382) - locked 0xe1c004e0 (a java.net.SocksSocketImpl) at java.net.ServerSocket.bind(ServerSocket.java:375) at java.net.ServerSocket.bind(ServerSocket.java:329) at org.apache.hadoop.hbase.TestIPv6NIOServerSocketChannel.bindServerSocket(TestIPv6NIOServerSocketChannel.java:60) at org.apache.hadoop.hbase.TestIPv6NIOServerSocketChannel.testServerSocketFromLocalhostResolution(TestIPv6NIOServerSocketChannel.java:149){noformat} I am going to disable this test in 0.98 branch for now. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
hbase Observer POST PUT coprocesor not working
I have written coprocessor code with below code. After compiling this code, I have created the jar file. And then added this jar as a coprocessor to the table. alter 'SOURCE_TBL' , METHOD = 'table_att' , 'COPROCESSOR'= 'hdfs:///apps/stsuid/HBASESamples-0.0.1-SNAPSHOT.jar|com.hbase.coprocessor.PutRegionObserverExample|1001' After this, when I am doing put operation on source table 'SOURCE_TBL' mentioned as below, I am expecting a record in index table 'INDEX_TBL' but there are no records in INDEX_TBL. put 'SOURCE_TBL' , '123' , 'data:CUST_ID' , 'RFRT' Please help me and let me know if my code of coprocessor is wrong or am I executing it in a wrong way. package com.hbase.coprocessor; import java.io.IOException; import java.util.Arrays; import java.util.List; import java.util.logging.Logger; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.Cell; import org.apache.hadoop.hbase.CoprocessorEnvironment; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.KeyValue; import org.apache.hadoop.hbase.client.Get; import org.apache.hadoop.hbase.client.HTable; import org.apache.hadoop.hbase.client.HTableInterface; import org.apache.hadoop.hbase.client.HTablePool; import org.apache.hadoop.hbase.client.Put; import org.apache.hadoop.hbase.coprocessor.BaseRegionObserver; import org.apache.hadoop.hbase.coprocessor.ObserverContext; import org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment; import org.apache.hadoop.hbase.regionserver.wal.WALEdit; import org.apache.hadoop.hbase.util.Bytes; public class PutRegionObserverExample extends BaseRegionObserver { public static final byte[] FIXED_ROW = Bytes.toBytes(@@@GETTIME@@@); private final static Logger LOG = Logger.getLogger(PutRegionObserverExample.class.getName()); private HTablePool pool = null; private final static String INDEX_TABLE = INDEX_TBL; private final static String SOURCE_TABLE = SOURCE_TBL; public void start(CoprocessorEnvironment env) throws IOException { LOG.info((start)); pool = new HTablePool(env.getConfiguration(), 10); } //@Override public void postPut( final ObserverContextRegionCoprocessorEnvironment observerContext, final Put put, final WALEdit edit, final boolean writeToWAL) throws IOException { byte[] table = observerContext.getEnvironment().getRegion().getRegionInfo().getTableName(); if (!Bytes.equals(table, Bytes.toBytes(SOURCE_TABLE))) { LOG.info(SOURCE_TABLE); return; } try { final ListCell filteredList = put.get(Bytes.toBytes (data),Bytes.toBytes(CUST_ID)); byte [] id = put.getRow(); //Get the Entry ID Cell kv=filteredList.get( 0 ); //get Entry PARENT_ID byte[] parentId = kv.getValue(); HTableInterface htbl = pool.getTable(Bytes.toBytes(INDEX_TABLE)); //create row key for the index table byte[] p1 = concatTwoByteArrays(parentId, :.getBytes()); //Insert a semicolon between two UUIDs byte[] rowkey = concatTwoByteArrays(p1, id); Put indexput = new Put(rowkey); indexput.add(Bytes.toBytes(data), Bytes.toBytes(CUST_ID), Bytes.toBytes(tgt9)); htbl.put(indexput); htbl.close(); } catch ( IllegalArgumentException ex) { // handle excepion. LOG.info(ex.getMessage()); } } @Override public void stop(CoprocessorEnvironment env) throws IOException { pool.close(); } public static final byte[] concatTwoByteArrays(byte[] first, byte[] second) { byte[] result = Arrays.copyOf(first, first.length + second.length); System.arraycopy(second, 0, result, first.length, second.length); return result; } }
[jira] [Commented] (HBASE-12148) Remove TimeRangeTracker as point of contention when many threads writing a Store
[ https://issues.apache.org/jira/browse/HBASE-12148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14160601#comment-14160601 ] stack commented on HBASE-12148: --- bq. Your reasoning is that minimumTimestamp will only get smaller and maximumTimestamp only bigger... Yes. bq. I think you cannot get around declaring minimumTimestamp and maximumTimestamp volatile, that will add some of the overhead back in. Let me just add it back if any question at all around correctness (reading, JVM does not have to atomic access on 64bit though in practice seems to work). I did not test in context but using atomic long its about 10-15% slower to complete. Hopefully this not enough to make it a hotspot. Can't check just now. Remove TimeRangeTracker as point of contention when many threads writing a Store Key: HBASE-12148 URL: https://issues.apache.org/jira/browse/HBASE-12148 Project: HBase Issue Type: Sub-task Components: Performance Affects Versions: 2.0.0, 0.99.1 Reporter: stack Assignee: stack Fix For: 2.0.0, 0.98.7, 0.99.1 Attachments: 12148.txt, 12148.txt, 12148v2.txt, 12148v2.txt, Screen Shot 2014-10-01 at 3.39.46 PM.png, Screen Shot 2014-10-01 at 3.41.07 PM.png -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-12148) Remove TimeRangeTracker as point of contention when many threads writing a Store
[ https://issues.apache.org/jira/browse/HBASE-12148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack updated HBASE-12148: -- Attachment: 12148.addendum.txt Addendum that makes min and max atomic longs Remove TimeRangeTracker as point of contention when many threads writing a Store Key: HBASE-12148 URL: https://issues.apache.org/jira/browse/HBASE-12148 Project: HBase Issue Type: Sub-task Components: Performance Affects Versions: 2.0.0, 0.99.1 Reporter: stack Assignee: stack Fix For: 2.0.0, 0.98.7, 0.99.1 Attachments: 12148.addendum.txt, 12148.txt, 12148.txt, 12148v2.txt, 12148v2.txt, Screen Shot 2014-10-01 at 3.39.46 PM.png, Screen Shot 2014-10-01 at 3.41.07 PM.png -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-12177) TestIPv6NIOServerSocketChannel hangs consistently on Java 8
[ https://issues.apache.org/jira/browse/HBASE-12177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14160605#comment-14160605 ] Hudson commented on HBASE-12177: SUCCESS: Integrated in HBase-0.98 #574 (See [https://builds.apache.org/job/HBase-0.98/574/]) HBASE-12177 TestIPv6NIOServerSocketChannel hangs consistently on Java 8 (apurtell: rev 7f8a86441ed9177498a7e73b2815055fd5271b54) * hbase-server/src/test/java/org/apache/hadoop/hbase/TestIPv6NIOServerSocketChannel.java TestIPv6NIOServerSocketChannel hangs consistently on Java 8 --- Key: HBASE-12177 URL: https://issues.apache.org/jira/browse/HBASE-12177 Project: HBase Issue Type: Bug Reporter: Andrew Purtell Assignee: Andrew Purtell Fix For: 0.98.7 Attachments: HBASE-12177-0.98.patch, jstack.txt TestIPv6NIOServerSocketChannel hangs consistently on Java 8u20. jstack dump attached. This is on a 64-bit Ubuntu 14.04 system kernel Linux version 3.13.0-29-generic (buildd@toyol) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #53-Ubuntu SMP Wed Jun 4 21:00:20 UTC 2014 {noformat} pool-1-thread-1 #9 prio=5 os_prio=0 tid=0x7ff330707000 nid=0x41a8 runnable [0x7ff309e8f000] java.lang.Thread.State: RUNNABLE at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:382) - locked 0xe1c004e0 (a java.net.SocksSocketImpl) at java.net.ServerSocket.bind(ServerSocket.java:375) at java.net.ServerSocket.bind(ServerSocket.java:329) at org.apache.hadoop.hbase.TestIPv6NIOServerSocketChannel.bindServerSocket(TestIPv6NIOServerSocketChannel.java:60) at org.apache.hadoop.hbase.TestIPv6NIOServerSocketChannel.testServerSocketFromLocalhostResolution(TestIPv6NIOServerSocketChannel.java:149){noformat} I am going to disable this test in 0.98 branch for now. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-12011) Add namespace column during display of user tables
[ https://issues.apache.org/jira/browse/HBASE-12011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14160604#comment-14160604 ] Hudson commented on HBASE-12011: FAILURE: Integrated in HBase-TRUNK #5622 (See [https://builds.apache.org/job/HBase-TRUNK/5622/]) HBASE-12011 Add namespace column during display of user tables (Srikanth Srungarapu) (tedyu: rev 8a50a0cce70ce4f3a1d5e98e808c632721b75038) * hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon Add namespace column during display of user tables -- Key: HBASE-12011 URL: https://issues.apache.org/jira/browse/HBASE-12011 Project: HBase Issue Type: Improvement Reporter: Srikanth Srungarapu Assignee: Srikanth Srungarapu Priority: Minor Fix For: 2.0.0, 0.98.7, 0.99.1 Attachments: HBASE-12011.patch, Screen Shot 2014-09-17 at 3.29.01 PM.png Currently, the namespaces are not being explicitly stated while displaying the user tables. This will help in decoupling the table names and their corresponding namespaces. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (HBASE-12181) Some tests create a table and try to use it before regions get assigned
Dima Spivak created HBASE-12181: --- Summary: Some tests create a table and try to use it before regions get assigned Key: HBASE-12181 URL: https://issues.apache.org/jira/browse/HBASE-12181 Project: HBase Issue Type: Bug Affects Versions: 0.98.6.1, 1.0.0, 2.0.0 Reporter: Dima Spivak Assignee: Dima Spivak I inadvertently did some unit test stress testing this weekend by running {{mvn test -P runAllTests}} on a machine that also had other processes going on. The overall sluggishness led to a number of failed tests that were caused by a table being created using HBaseAdmin#createTable, which only blocks for meta to get updated and not for the region to actually get assigned a RegionServer. Quick fix is to use HBaseTestingUtility#createTable whenever possible. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-11093) FilterList#filterRow() iterates through its filters even though FilterList#hasFilterRow() returns false
[ https://issues.apache.org/jira/browse/HBASE-11093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-11093: --- Status: Open (was: Patch Available) FilterList#filterRow() iterates through its filters even though FilterList#hasFilterRow() returns false --- Key: HBASE-11093 URL: https://issues.apache.org/jira/browse/HBASE-11093 Project: HBase Issue Type: Bug Reporter: Ted Yu Assignee: Ted Yu Priority: Minor Attachments: 11093-v1.txt, 11093-v2.txt, 11093-v3.txt FilterList#hasFilterRow() returns false when hasFilterRow() of all of constituent filters return false. However, FilterList#filterRow() still iterates through its filters in this scenario. The iteration should be skipped when FilterList#hasFilterRow() returns false. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-12172) Disable flakey TestRegionReplicaReplicationEndpoint and make fixing it a blocker on 1.0
[ https://issues.apache.org/jira/browse/HBASE-12172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14160625#comment-14160625 ] Enis Soztutar commented on HBASE-12172: --- The test does setup async wal replication, and waits for the replication to send the data over to the secondary replicas. Thanks for doing this. I'll try to stabilize the test in HBASE-12180. Disable flakey TestRegionReplicaReplicationEndpoint and make fixing it a blocker on 1.0 --- Key: HBASE-12172 URL: https://issues.apache.org/jira/browse/HBASE-12172 Project: HBase Issue Type: Bug Components: test Reporter: stack Assignee: stack Fix For: 2.0.0 Attachments: 12172.disable.txt This test is categorized FlakeyTest. It earned this sobriquet by continually failing from time to time.. Here is recent https://builds.apache.org/job/HBase-TRUNK/5619/testReport/ It is important test and someone needs to spend tie on it but its plain folks are a bit busy at mo. Meantime, lets not this test get in the way of our getting all-green test runs. Let me put up a patch to disable it. I'll then file blocker against 1.0 so it gets fixed before we release. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-12179) TestConstraints intermittently hangs on Java 8
[ https://issues.apache.org/jira/browse/HBASE-12179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14160629#comment-14160629 ] Andrew Purtell commented on HBASE-12179: This is a potentially serious issue related to the embedded ZooKeeper client. Hung processes exhibit this stacktrace in the main thread: {noformat} main #1 prio=5 os_prio=0 tid=0x7ffc64008000 nid=0x3302 in Object.wait() [0x7ffc6b87d000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on 0xdda32630 (a org.apache.zookeeper.ClientCnxn$Packet) at java.lang.Object.wait(Object.java:502) at org.apache.zookeeper.ClientCnxn.submitRequest(ClientCnxn.java:1342) - locked 0xdda32630 (a org.apache.zookeeper.ClientCnxn$Packet) at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:781) at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.createNonSequential(RecoverableZooKeeper.java:510) at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.create(RecoverableZooKeeper.java:489) at org.apache.hadoop.hbase.zookeeper.ZKUtil.createWithParents(ZKUtil.java:1241) at org.apache.hadoop.hbase.zookeeper.ZKUtil.createWithParents(ZKUtil.java:1219) at org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.createBaseZNodes(ZooKeeperWatcher.java:174) at org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.init(ZooKeeperWatcher.java:167) at org.apache.hadoop.hbase.master.HMaster.init(HMaster.java:474) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:408) at org.apache.hadoop.hbase.util.JVMClusterUtil.createMasterThread(JVMClusterUtil.java:137) at org.apache.hadoop.hbase.LocalHBaseCluster.addMaster(LocalHBaseCluster.java:202) at org.apache.hadoop.hbase.LocalHBaseCluster.init(LocalHBaseCluster.java:152) at org.apache.hadoop.hbase.MiniHBaseCluster.init(MiniHBaseCluster.java:213) at org.apache.hadoop.hbase.MiniHBaseCluster.init(MiniHBaseCluster.java:93) at org.apache.hadoop.hbase.HBaseTestingUtility.startMiniHBaseCluster(HBaseTestingUtility.java:912) at org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:876) at org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:793) at org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:764) at org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:733) at org.apache.hadoop.hbase.constraint.TestConstraint.setUpBeforeClass(TestConstraint.java:68) {noformat} The ZooKeeper thread name is very concerning: {noformat} main-SendThread(252.127.0.0:63034) #105 daemon prio=5 os_prio=0 tid=0x7ffc654d6800 nid=0x338f runnable [0x7ffbec3f9000] java.lang.Thread.State: RUNNABLE at sun.nio.ch.EPollArrayWrapper.epollWait(Native Method) at sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269) at sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:79) at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86) - locked 0xdd8b5068 (a sun.nio.ch.Util$2) - locked 0xdd8b5058 (a java.util.Collections$UnmodifiableSet) - locked 0xdd8b4f40 (a sun.nio.ch.EPollSelectorImpl) at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97) at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:349) at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081) {noformat} What the hell is '252.127.0.0' ? Looks like a localhost IPv4 address shifted right 8 bits with junk in the most significant byte. Other ZooKeeper minicluster threads are waiting for work: {noformat} SyncThread:0 #84 prio=5 os_prio=0 tid=0x7ffc65023800 nid=0x336f waiting on condition [0x7ffbed6db000] java.lang.Thread.State: WAITING (parking) at sun.misc.Unsafe.park(Native Method) - parking to wait for 0xd9febc98 (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039) at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442) at org.apache.zookeeper.server.SyncRequestProcessor.run(SyncRequestProcessor.java:127)
[jira] [Commented] (HBASE-12181) Some tests create a table and try to use it before regions get assigned
[ https://issues.apache.org/jira/browse/HBASE-12181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14160644#comment-14160644 ] Andrew Purtell commented on HBASE-12181: You can also add {code} TEST_UTIL.waitUntilAllRegionsAssigned(TEST_TABLE.getTableName()); {code} Some tests create a table and try to use it before regions get assigned --- Key: HBASE-12181 URL: https://issues.apache.org/jira/browse/HBASE-12181 Project: HBase Issue Type: Bug Affects Versions: 1.0.0, 2.0.0, 0.98.6.1 Reporter: Dima Spivak Assignee: Dima Spivak I inadvertently did some unit test stress testing this weekend by running {{mvn test -P runAllTests}} on a machine that also had other processes going on. The overall sluggishness led to a number of failed tests that were caused by a table being created using HBaseAdmin#createTable, which only blocks for meta to get updated and not for the region to actually get assigned a RegionServer. Quick fix is to use HBaseTestingUtility#createTable whenever possible. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-12177) TestIPv6NIOServerSocketChannel hangs consistently on Java 8
[ https://issues.apache.org/jira/browse/HBASE-12177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14160645#comment-14160645 ] Enis Soztutar commented on HBASE-12177: --- What is localhost resolution on the host? The test resolves all the ips for localhost and creates a ServerSocket and NIO server socket and tries to bind to a random free port for each of the resolved ips. TestIPv6NIOServerSocketChannel hangs consistently on Java 8 --- Key: HBASE-12177 URL: https://issues.apache.org/jira/browse/HBASE-12177 Project: HBase Issue Type: Bug Reporter: Andrew Purtell Assignee: Andrew Purtell Fix For: 0.98.7 Attachments: HBASE-12177-0.98.patch, jstack.txt TestIPv6NIOServerSocketChannel hangs consistently on Java 8u20. jstack dump attached. This is on a 64-bit Ubuntu 14.04 system kernel Linux version 3.13.0-29-generic (buildd@toyol) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #53-Ubuntu SMP Wed Jun 4 21:00:20 UTC 2014 {noformat} pool-1-thread-1 #9 prio=5 os_prio=0 tid=0x7ff330707000 nid=0x41a8 runnable [0x7ff309e8f000] java.lang.Thread.State: RUNNABLE at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:382) - locked 0xe1c004e0 (a java.net.SocksSocketImpl) at java.net.ServerSocket.bind(ServerSocket.java:375) at java.net.ServerSocket.bind(ServerSocket.java:329) at org.apache.hadoop.hbase.TestIPv6NIOServerSocketChannel.bindServerSocket(TestIPv6NIOServerSocketChannel.java:60) at org.apache.hadoop.hbase.TestIPv6NIOServerSocketChannel.testServerSocketFromLocalhostResolution(TestIPv6NIOServerSocketChannel.java:149){noformat} I am going to disable this test in 0.98 branch for now. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-12177) TestIPv6NIOServerSocketChannel hangs consistently on Java 8
[ https://issues.apache.org/jira/browse/HBASE-12177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14160668#comment-14160668 ] Andrew Purtell commented on HBASE-12177: bq. What is localhost resolution on the host? {noformat} apurtell@acer$ host -4 localhost localhost has address 127.0.0.1 apurtell@acer$ host -6 localhost ;; connection timed out; no servers could be reached {noformat} /etc/hosts: {noformat} 127.0.0.1 localhost acer ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters {noformat} Ping: {noformat} apurtell@acer$ ping -c 1 localhost PING localhost (127.0.0.1) 56(84) bytes of data. 64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.025 ms apurtell@acer$ ping6 -c 1 localhost PING localhost(localhost) 56 data bytes 64 bytes from localhost: icmp_seq=1 ttl=64 time=0.026 ms apurtell@acer$ ping6 -c 1 ::1 PING ::1(::1) 56 data bytes 64 bytes from ::1: icmp_seq=1 ttl=64 time=0.026 ms {noformat} TestIPv6NIOServerSocketChannel hangs consistently on Java 8 --- Key: HBASE-12177 URL: https://issues.apache.org/jira/browse/HBASE-12177 Project: HBase Issue Type: Bug Reporter: Andrew Purtell Assignee: Andrew Purtell Fix For: 0.98.7 Attachments: HBASE-12177-0.98.patch, jstack.txt TestIPv6NIOServerSocketChannel hangs consistently on Java 8u20. jstack dump attached. This is on a 64-bit Ubuntu 14.04 system kernel Linux version 3.13.0-29-generic (buildd@toyol) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #53-Ubuntu SMP Wed Jun 4 21:00:20 UTC 2014 {noformat} pool-1-thread-1 #9 prio=5 os_prio=0 tid=0x7ff330707000 nid=0x41a8 runnable [0x7ff309e8f000] java.lang.Thread.State: RUNNABLE at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:382) - locked 0xe1c004e0 (a java.net.SocksSocketImpl) at java.net.ServerSocket.bind(ServerSocket.java:375) at java.net.ServerSocket.bind(ServerSocket.java:329) at org.apache.hadoop.hbase.TestIPv6NIOServerSocketChannel.bindServerSocket(TestIPv6NIOServerSocketChannel.java:60) at org.apache.hadoop.hbase.TestIPv6NIOServerSocketChannel.testServerSocketFromLocalhostResolution(TestIPv6NIOServerSocketChannel.java:149){noformat} I am going to disable this test in 0.98 branch for now. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-12179) TestConstraints intermittently hangs on Java 8
[ https://issues.apache.org/jira/browse/HBASE-12179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Purtell updated HBASE-12179: --- Priority: Blocker (was: Major) Raising to blocker until I understand what is going on here TestConstraints intermittently hangs on Java 8 -- Key: HBASE-12179 URL: https://issues.apache.org/jira/browse/HBASE-12179 Project: HBase Issue Type: Bug Reporter: Andrew Purtell Assignee: Andrew Purtell Priority: Blocker Fix For: 0.98.7 TestConstraints intermittently hangs on Java 8. There are a few things this test could be doing better. Looking at it. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-9417) Bulk loading should not require client to be same as hbase user
[ https://issues.apache.org/jira/browse/HBASE-9417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14160688#comment-14160688 ] Enis Soztutar commented on HBASE-9417: -- [~jeffreyz] can we consider this issue done. What do you think? Bulk loading should not require client to be same as hbase user --- Key: HBASE-9417 URL: https://issues.apache.org/jira/browse/HBASE-9417 Project: HBase Issue Type: Bug Components: regionserver, security Reporter: Enis Soztutar In unsecure bulk loading, the client creates the files to be bulk loaded, and asks the regionservers to do the operation. Bulk loading is performed by a move, which would mean that the hbase user has to have WRITE permissions for the bulk loaded files. If the client who has generated the files is different than the hbase user, this creates an access denied exception if complete bulk load is not run as the hbase user. I think even for unsecure mode, we should mimic what SecureBulkLoadEndpoint does, where hbase creates a staging directory and the client hands off the files to that directory with global perms. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-12176) WALCellCodec Encoders support for non-KeyValue Cells
[ https://issues.apache.org/jira/browse/HBASE-12176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14160692#comment-14160692 ] stack commented on HBASE-12176: --- What is the value of this patch [~anoop.hbase]? Just the removal of check for KeyValue? We serialize as we did KeyValues still, right? To serialize otherwise, we'd create a different WALCellCodec type? Do we write into WAL the codecs used? (I've not looked). WALCellCodec Encoders support for non-KeyValue Cells Key: HBASE-12176 URL: https://issues.apache.org/jira/browse/HBASE-12176 Project: HBase Issue Type: Improvement Reporter: Anoop Sam John Assignee: Anoop Sam John Fix For: 2.0.0, 0.99.1 Attachments: HBASE-12176.patch Now in all Encoder returned by WALCellCodec and SecureWALCellCodec it is assumed that it will get only KeyValues. If not it just throws IOE. Now we support Cells through out in write path as well and these Encoders should support non KV cells as well. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-11815) Flush and compaction could just close the tmp writer if there is an exception
[ https://issues.apache.org/jira/browse/HBASE-11815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ramkrishna.s.vasudevan updated HBASE-11815: --- Status: Open (was: Patch Available) Flush and compaction could just close the tmp writer if there is an exception - Key: HBASE-11815 URL: https://issues.apache.org/jira/browse/HBASE-11815 Project: HBase Issue Type: Bug Reporter: ramkrishna.s.vasudevan Assignee: ramkrishna.s.vasudevan Priority: Trivial Fix For: 2.0.0, 0.98.7, 0.99.1 Attachments: HBASE-11815.patch, HBASE-11815_0.98.patch, HBASE-11815_1.patch, HBASE-11815_2.patch A minor change. {code} try { flushed = performFlush(scanner, writer, smallestReadPoint); } finally { finalizeWriter(writer, cacheFlushId, status); } {code} Whenever there is a failure during flush we should close the writer but adding the meta data and setting the status would not be needed. {code} status.setStatus(Flushing + store + : appending metadata); writer.appendMetadata(cacheFlushSeqNum, false); status.setStatus(Flushing + store + : closing flushed file); writer.close(); {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-11815) Flush and compaction could just close the tmp writer if there is an exception
[ https://issues.apache.org/jira/browse/HBASE-11815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ramkrishna.s.vasudevan updated HBASE-11815: --- Attachment: HBASE-11815_2.patch Flush and compaction could just close the tmp writer if there is an exception - Key: HBASE-11815 URL: https://issues.apache.org/jira/browse/HBASE-11815 Project: HBase Issue Type: Bug Reporter: ramkrishna.s.vasudevan Assignee: ramkrishna.s.vasudevan Priority: Trivial Fix For: 2.0.0, 0.98.7, 0.99.1 Attachments: HBASE-11815.patch, HBASE-11815_0.98.patch, HBASE-11815_1.patch, HBASE-11815_2.patch, HBASE-11815_2.patch A minor change. {code} try { flushed = performFlush(scanner, writer, smallestReadPoint); } finally { finalizeWriter(writer, cacheFlushId, status); } {code} Whenever there is a failure during flush we should close the writer but adding the meta data and setting the status would not be needed. {code} status.setStatus(Flushing + store + : appending metadata); writer.appendMetadata(cacheFlushSeqNum, false); status.setStatus(Flushing + store + : closing flushed file); writer.close(); {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-11815) Flush and compaction could just close the tmp writer if there is an exception
[ https://issues.apache.org/jira/browse/HBASE-11815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ramkrishna.s.vasudevan updated HBASE-11815: --- Status: Patch Available (was: Open) Flush and compaction could just close the tmp writer if there is an exception - Key: HBASE-11815 URL: https://issues.apache.org/jira/browse/HBASE-11815 Project: HBase Issue Type: Bug Reporter: ramkrishna.s.vasudevan Assignee: ramkrishna.s.vasudevan Priority: Trivial Fix For: 2.0.0, 0.98.7, 0.99.1 Attachments: HBASE-11815.patch, HBASE-11815_0.98.patch, HBASE-11815_1.patch, HBASE-11815_2.patch, HBASE-11815_2.patch A minor change. {code} try { flushed = performFlush(scanner, writer, smallestReadPoint); } finally { finalizeWriter(writer, cacheFlushId, status); } {code} Whenever there is a failure during flush we should close the writer but adding the meta data and setting the status would not be needed. {code} status.setStatus(Flushing + store + : appending metadata); writer.appendMetadata(cacheFlushSeqNum, false); status.setStatus(Flushing + store + : closing flushed file); writer.close(); {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-12177) TestIPv6NIOServerSocketChannel hangs consistently on Java 8
[ https://issues.apache.org/jira/browse/HBASE-12177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14160705#comment-14160705 ] Andrew Purtell commented on HBASE-12177: I'm chasing down another weird test issue on HBASE-12179 and it looks like every so often 'localhost' might be resolved to junk or we're stomping on the result (I see ZK client send threads calling themselves main-SendThread(252.127.0.0:63034)) Let me reboot, switch to another host, etc. TestIPv6NIOServerSocketChannel hangs consistently on Java 8 --- Key: HBASE-12177 URL: https://issues.apache.org/jira/browse/HBASE-12177 Project: HBase Issue Type: Bug Reporter: Andrew Purtell Assignee: Andrew Purtell Fix For: 0.98.7 Attachments: HBASE-12177-0.98.patch, jstack.txt TestIPv6NIOServerSocketChannel hangs consistently on Java 8u20. jstack dump attached. This is on a 64-bit Ubuntu 14.04 system kernel Linux version 3.13.0-29-generic (buildd@toyol) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #53-Ubuntu SMP Wed Jun 4 21:00:20 UTC 2014 {noformat} pool-1-thread-1 #9 prio=5 os_prio=0 tid=0x7ff330707000 nid=0x41a8 runnable [0x7ff309e8f000] java.lang.Thread.State: RUNNABLE at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:382) - locked 0xe1c004e0 (a java.net.SocksSocketImpl) at java.net.ServerSocket.bind(ServerSocket.java:375) at java.net.ServerSocket.bind(ServerSocket.java:329) at org.apache.hadoop.hbase.TestIPv6NIOServerSocketChannel.bindServerSocket(TestIPv6NIOServerSocketChannel.java:60) at org.apache.hadoop.hbase.TestIPv6NIOServerSocketChannel.testServerSocketFromLocalhostResolution(TestIPv6NIOServerSocketChannel.java:149){noformat} I am going to disable this test in 0.98 branch for now. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-12176) WALCellCodec Encoders support for non-KeyValue Cells
[ https://issues.apache.org/jira/browse/HBASE-12176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14160737#comment-14160737 ] Anoop Sam John commented on HBASE-12176: bq.We serialize as we did KeyValues still, right? Not really. We were serializing considering the Cell nature I would say. The individual components like rk, cf, q, tags etc were taken and serialized (either direct or compressed way). The KV convert was needed to get buffer and write the ts, type and value parts together as one unit of byte[]. This part also we change to cell way now. So it was not fully in KV way serialize and now also. Hope I make it clear with explanation. Because of this new Codec may be not needed. This is Cell codecs only. The Encryptor names are confusing but as these were public, could not change them. What do you say Stack? bq.Do we write into WAL the codecs used? Yes. After some recent patch commit. WALCellCodec Encoders support for non-KeyValue Cells Key: HBASE-12176 URL: https://issues.apache.org/jira/browse/HBASE-12176 Project: HBase Issue Type: Improvement Reporter: Anoop Sam John Assignee: Anoop Sam John Fix For: 2.0.0, 0.99.1 Attachments: HBASE-12176.patch Now in all Encoder returned by WALCellCodec and SecureWALCellCodec it is assumed that it will get only KeyValues. If not it just throws IOE. Now we support Cells through out in write path as well and these Encoders should support non KV cells as well. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (HBASE-11160) Undo append waiting on region edit/sequence id update
[ https://issues.apache.org/jira/browse/HBASE-11160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack resolved HBASE-11160. --- Resolution: Later Resolving as 'later'. We lose some writethrough speed because we wait on sequencedid. Would be good to fix but does not look easy. We can come back to this later post WAL Interfaces redo for multi-WAL. Undo append waiting on region edit/sequence id update - Key: HBASE-11160 URL: https://issues.apache.org/jira/browse/HBASE-11160 Project: HBase Issue Type: Sub-task Components: wal Affects Versions: 0.99.0 Reporter: stack Assignee: stack Priority: Critical Fix For: 2.0.0, 0.99.1 HBASE--11135 changed append to wait on the update of the edit/sequence id. This slows writes by a significant amount (50% slower?). [~jeffreyz] is going to look at updating MVCC inside in the ring buffer consumer thread just after the region edit/sequence id update. If that works, then we can undo having append wait on the sequence id update and get some of our speedup back. Marking this 0.99 and blocker so we don't forget about it (Undoing the wait is just a case of removing the few lines of latch code in FSWALEdit). -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-11980) Change sync to hsync, remove unused InfoServer, and reference our httpserver instead of hadoops
[ https://issues.apache.org/jira/browse/HBASE-11980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack updated HBASE-11980: -- Resolution: Fixed Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) This was commited a while back to 0.99+ Change sync to hsync, remove unused InfoServer, and reference our httpserver instead of hadoops --- Key: HBASE-11980 URL: https://issues.apache.org/jira/browse/HBASE-11980 Project: HBase Issue Type: Sub-task Reporter: stack Assignee: stack Fix For: 2.0.0, 0.99.1 Attachments: 0001-HBASE-11980-Change-sync-to-hsync-remove-unused-InfoS.patch, 11980v2.txt Subtask that fixes a few issues with our building against hadoop3. Get it in. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (HBASE-11978) Backport 'HBASE-7767 Get rid of ZKTable, and table enable/disable state in ZK' to 1.0
[ https://issues.apache.org/jira/browse/HBASE-11978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack resolved HBASE-11978. --- Resolution: Won't Fix Resolving as won't fix. If someone interested, they can revive. Backport 'HBASE-7767 Get rid of ZKTable, and table enable/disable state in ZK' to 1.0 - Key: HBASE-11978 URL: https://issues.apache.org/jira/browse/HBASE-11978 Project: HBase Issue Type: Task Components: Zookeeper Reporter: stack Assignee: stack Fix For: 0.99.1 Lets try and backport this nice cleanup. It removes enabled/disabled state form zk. It automigrates so SHOULD not be an issue. Let me test though first. Marking against 0.99.1. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-12172) Disable flakey TestRegionReplicaReplicationEndpoint and make fixing it a blocker on 1.0
[ https://issues.apache.org/jira/browse/HBASE-12172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14160769#comment-14160769 ] Hudson commented on HBASE-12172: SUCCESS: Integrated in HBase-TRUNK #5623 (See [https://builds.apache.org/job/HBase-TRUNK/5623/]) HBASE-12172 Disable flakey TestRegionReplicaReplicationEndpoint and make fixing it a blocker on 1.0 (stack: rev 5f6a055bb697ad137e8d372a4c377f969699b009) * hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestRegionReplicaReplicationEndpoint.java Disable flakey TestRegionReplicaReplicationEndpoint and make fixing it a blocker on 1.0 --- Key: HBASE-12172 URL: https://issues.apache.org/jira/browse/HBASE-12172 Project: HBase Issue Type: Bug Components: test Reporter: stack Assignee: stack Fix For: 2.0.0 Attachments: 12172.disable.txt This test is categorized FlakeyTest. It earned this sobriquet by continually failing from time to time.. Here is recent https://builds.apache.org/job/HBase-TRUNK/5619/testReport/ It is important test and someone needs to spend tie on it but its plain folks are a bit busy at mo. Meantime, lets not this test get in the way of our getting all-green test runs. Let me put up a patch to disable it. I'll then file blocker against 1.0 so it gets fixed before we release. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-11890) HBase REST Client is hard coded to http protocol
[ https://issues.apache.org/jira/browse/HBASE-11890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack updated HBASE-11890: -- Resolution: Fixed Fix Version/s: 2.0.0 Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) Committed to 0.99.1+ Thanks for the patch [~tianq] HBase REST Client is hard coded to http protocol Key: HBASE-11890 URL: https://issues.apache.org/jira/browse/HBASE-11890 Project: HBase Issue Type: Bug Components: Client Affects Versions: 0.96.2 Reporter: Eric Yang Assignee: Qiang Tian Fix For: 2.0.0, 0.99.1 Attachments: HBase-11890-doc.patch, HBase-11890-master-v1.patch, HBase-11890-master.patch HBase REST Client executePathOnly only supports http. It would be nice if there is a option to enable REST API client to connect through SSL. org.apache.hadoop.hbase.rest.client.Cluster class does not indicate which protocol can be used, we can either set flag in Cluster class or introduce a parameter in Client class to toggle SSL. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-11835) Wrong managenement of non expected calls in the client
[ https://issues.apache.org/jira/browse/HBASE-11835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack updated HBASE-11835: -- Attachment: 11835.rebase.patch Retry Patch is good by me. Wrong managenement of non expected calls in the client -- Key: HBASE-11835 URL: https://issues.apache.org/jira/browse/HBASE-11835 Project: HBase Issue Type: Bug Components: Client Affects Versions: 1.0.0, 2.0.0, 0.98.6 Reporter: Nicolas Liochon Assignee: Nicolas Liochon Fix For: 2.0.0, 0.99.1 Attachments: 11835.rebase.patch, 11835.rebase.patch, rpcClient.patch If a call is purged or canceled we try to skip the reply from the server, but we read the wrong number of bytes so we corrupt the tcp channel. It's hidden as it triggers retry and so on, but it's bad for performances obviously. It happens with cell blocks. [~ram_krish_86], [~saint@gmail.com], you know this part better than me, do you agree with the analysis and the patch? The changes in rpcServer are not fully related: as the client close the connections in such situation, I observed both ClosedChannelException and CancelledKeyException. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-10974) Improve DBEs read performance by avoiding byte array deep copies for key[] and value[]
[ https://issues.apache.org/jira/browse/HBASE-10974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14160792#comment-14160792 ] stack commented on HBASE-10974: --- Where are we w/ this issue? Improve DBEs read performance by avoiding byte array deep copies for key[] and value[] -- Key: HBASE-10974 URL: https://issues.apache.org/jira/browse/HBASE-10974 Project: HBase Issue Type: Improvement Components: Scanners Affects Versions: 0.99.0 Reporter: ramkrishna.s.vasudevan Assignee: ramkrishna.s.vasudevan Fix For: 0.99.1 Attachments: HBASE-10974_1.patch As part of HBASE-10801, we tried to reduce the copy of the value [] in forming the KV from the DBEs. The keys required copying and this was restricting us in using Cells and always wanted to copy to be done. The idea here is to replace the key byte[] as ByteBuffer and create a consecutive stream of the keys (currently the same byte[] is used and hence the copy). Use offset and length to track this key bytebuffer. The copy of the encoded format to normal Key format is definitely needed and can't be avoided but we could always avoid the deep copy of the bytes to form a KV and thus use cells effectively. Working on a patch, will post it soon. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-12011) Add namespace column during display of user tables
[ https://issues.apache.org/jira/browse/HBASE-12011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14160812#comment-14160812 ] Hudson commented on HBASE-12011: SUCCESS: Integrated in HBase-1.0 #276 (See [https://builds.apache.org/job/HBase-1.0/276/]) HBASE-12011 Add namespace column during display of user tables (Srikanth Srungarapu) (tedyu: rev 07f0c030c3af682eb8a14476c85a186cefc36c7e) * hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon Add namespace column during display of user tables -- Key: HBASE-12011 URL: https://issues.apache.org/jira/browse/HBASE-12011 Project: HBase Issue Type: Improvement Reporter: Srikanth Srungarapu Assignee: Srikanth Srungarapu Priority: Minor Fix For: 2.0.0, 0.98.7, 0.99.1 Attachments: HBASE-12011.patch, Screen Shot 2014-09-17 at 3.29.01 PM.png Currently, the namespaces are not being explicitly stated while displaying the user tables. This will help in decoupling the table names and their corresponding namespaces. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-12011) Add namespace column during display of user tables
[ https://issues.apache.org/jira/browse/HBASE-12011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14160826#comment-14160826 ] Hudson commented on HBASE-12011: SUCCESS: Integrated in HBase-0.98 #575 (See [https://builds.apache.org/job/HBase-0.98/575/]) HBASE-12011 Add namespace column during display of user tables (Srikanth Srungarapu) (tedyu: rev 4a1de6548aabc386505bfe02369b0f9983adb8c7) * hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon Add namespace column during display of user tables -- Key: HBASE-12011 URL: https://issues.apache.org/jira/browse/HBASE-12011 Project: HBase Issue Type: Improvement Reporter: Srikanth Srungarapu Assignee: Srikanth Srungarapu Priority: Minor Fix For: 2.0.0, 0.98.7, 0.99.1 Attachments: HBASE-12011.patch, Screen Shot 2014-09-17 at 3.29.01 PM.png Currently, the namespaces are not being explicitly stated while displaying the user tables. This will help in decoupling the table names and their corresponding namespaces. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-12176) WALCellCodec Encoders support for non-KeyValue Cells
[ https://issues.apache.org/jira/browse/HBASE-12176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14160853#comment-14160853 ] stack commented on HBASE-12176: --- I see how this is 'cell-centric' now. Does it serialize the same way? Should we call this WAL codec something else if there is any danger it does not serialize in the old KV way? Will this codec have problems reading old files? WALCellCodec Encoders support for non-KeyValue Cells Key: HBASE-12176 URL: https://issues.apache.org/jira/browse/HBASE-12176 Project: HBase Issue Type: Improvement Reporter: Anoop Sam John Assignee: Anoop Sam John Fix For: 2.0.0, 0.99.1 Attachments: HBASE-12176.patch Now in all Encoder returned by WALCellCodec and SecureWALCellCodec it is assumed that it will get only KeyValues. If not it just throws IOE. Now we support Cells through out in write path as well and these Encoders should support non KV cells as well. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (HBASE-12179) TestConstraints intermittently hangs on Java 8
[ https://issues.apache.org/jira/browse/HBASE-12179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Purtell resolved HBASE-12179. Resolution: Invalid Fix Version/s: (was: 0.98.7) Assignee: (was: Andrew Purtell) I have an Ubuntu 14 dev/test box that causes Oracle JDK 8u11 and 8u20 to play russian roulette with hostname lookups. Oracle JDK 7u67 works fine. If I compile 8u myself (currently 8u40) I see the same problem. Not observed on Amazon Linux or MacOSX with any of these versions. Resolving as invalid as it's likely an Ubuntu problem. TestConstraints intermittently hangs on Java 8 -- Key: HBASE-12179 URL: https://issues.apache.org/jira/browse/HBASE-12179 Project: HBase Issue Type: Bug Reporter: Andrew Purtell Priority: Blocker TestConstraints intermittently hangs on Java 8. There are a few things this test could be doing better. Looking at it. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (HBASE-12177) TestIPv6NIOServerSocketChannel hangs consistently on Java 8
[ https://issues.apache.org/jira/browse/HBASE-12177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Purtell resolved HBASE-12177. Resolution: Invalid Fix Version/s: (was: 0.98.7) Assignee: (was: Andrew Purtell) I have an Ubuntu 14 dev/test box that causes Oracle JDK 8u11 and 8u20 to play russian roulette with hostname lookups. Oracle JDK 7u67 works fine. If I compile 8u myself (currently 8u40) I see the same problem. Not observed on Amazon Linux or MacOSX with any of these versions. Resolving as invalid as it's likely an Ubuntu problem. Reverted the 0.98 commit. TestIPv6NIOServerSocketChannel hangs consistently on Java 8 --- Key: HBASE-12177 URL: https://issues.apache.org/jira/browse/HBASE-12177 Project: HBase Issue Type: Bug Reporter: Andrew Purtell Attachments: HBASE-12177-0.98.patch, jstack.txt TestIPv6NIOServerSocketChannel hangs consistently on Java 8u20. jstack dump attached. This is on a 64-bit Ubuntu 14.04 system kernel Linux version 3.13.0-29-generic (buildd@toyol) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #53-Ubuntu SMP Wed Jun 4 21:00:20 UTC 2014 {noformat} pool-1-thread-1 #9 prio=5 os_prio=0 tid=0x7ff330707000 nid=0x41a8 runnable [0x7ff309e8f000] java.lang.Thread.State: RUNNABLE at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:382) - locked 0xe1c004e0 (a java.net.SocksSocketImpl) at java.net.ServerSocket.bind(ServerSocket.java:375) at java.net.ServerSocket.bind(ServerSocket.java:329) at org.apache.hadoop.hbase.TestIPv6NIOServerSocketChannel.bindServerSocket(TestIPv6NIOServerSocketChannel.java:60) at org.apache.hadoop.hbase.TestIPv6NIOServerSocketChannel.testServerSocketFromLocalhostResolution(TestIPv6NIOServerSocketChannel.java:149){noformat} I am going to disable this test in 0.98 branch for now. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-12177) TestIPv6NIOServerSocketChannel hangs consistently on Java 8
[ https://issues.apache.org/jira/browse/HBASE-12177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Purtell updated HBASE-12177: --- Priority: Minor (was: Major) TestIPv6NIOServerSocketChannel hangs consistently on Java 8 --- Key: HBASE-12177 URL: https://issues.apache.org/jira/browse/HBASE-12177 Project: HBase Issue Type: Bug Reporter: Andrew Purtell Priority: Minor Attachments: HBASE-12177-0.98.patch, jstack.txt TestIPv6NIOServerSocketChannel hangs consistently on Java 8u20. jstack dump attached. This is on a 64-bit Ubuntu 14.04 system kernel Linux version 3.13.0-29-generic (buildd@toyol) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #53-Ubuntu SMP Wed Jun 4 21:00:20 UTC 2014 {noformat} pool-1-thread-1 #9 prio=5 os_prio=0 tid=0x7ff330707000 nid=0x41a8 runnable [0x7ff309e8f000] java.lang.Thread.State: RUNNABLE at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:382) - locked 0xe1c004e0 (a java.net.SocksSocketImpl) at java.net.ServerSocket.bind(ServerSocket.java:375) at java.net.ServerSocket.bind(ServerSocket.java:329) at org.apache.hadoop.hbase.TestIPv6NIOServerSocketChannel.bindServerSocket(TestIPv6NIOServerSocketChannel.java:60) at org.apache.hadoop.hbase.TestIPv6NIOServerSocketChannel.testServerSocketFromLocalhostResolution(TestIPv6NIOServerSocketChannel.java:149){noformat} I am going to disable this test in 0.98 branch for now. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-12179) TestConstraints intermittently hangs on Java 8
[ https://issues.apache.org/jira/browse/HBASE-12179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Purtell updated HBASE-12179: --- Priority: Minor (was: Blocker) TestConstraints intermittently hangs on Java 8 -- Key: HBASE-12179 URL: https://issues.apache.org/jira/browse/HBASE-12179 Project: HBase Issue Type: Bug Reporter: Andrew Purtell Priority: Minor TestConstraints intermittently hangs on Java 8. There are a few things this test could be doing better. Looking at it. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-11890) HBase REST Client is hard coded to http protocol
[ https://issues.apache.org/jira/browse/HBASE-11890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14160911#comment-14160911 ] Andrew Purtell commented on HBASE-11890: Fixing... HBase REST Client is hard coded to http protocol Key: HBASE-11890 URL: https://issues.apache.org/jira/browse/HBASE-11890 Project: HBase Issue Type: Bug Components: Client Affects Versions: 0.96.2 Reporter: Eric Yang Assignee: Qiang Tian Fix For: 2.0.0, 0.99.1 Attachments: HBase-11890-doc.patch, HBase-11890-master-v1.patch, HBase-11890-master.patch HBase REST Client executePathOnly only supports http. It would be nice if there is a option to enable REST API client to connect through SSL. org.apache.hadoop.hbase.rest.client.Cluster class does not indicate which protocol can be used, we can either set flag in Cluster class or introduce a parameter in Client class to toggle SSL. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Reopened] (HBASE-11890) HBase REST Client is hard coded to http protocol
[ https://issues.apache.org/jira/browse/HBASE-11890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Purtell reopened HBASE-11890: This commit got pushed to a new branch named m HBase REST Client is hard coded to http protocol Key: HBASE-11890 URL: https://issues.apache.org/jira/browse/HBASE-11890 Project: HBase Issue Type: Bug Components: Client Affects Versions: 0.96.2 Reporter: Eric Yang Assignee: Qiang Tian Fix For: 2.0.0, 0.99.1 Attachments: HBase-11890-doc.patch, HBase-11890-master-v1.patch, HBase-11890-master.patch HBase REST Client executePathOnly only supports http. It would be nice if there is a option to enable REST API client to connect through SSL. org.apache.hadoop.hbase.rest.client.Cluster class does not indicate which protocol can be used, we can either set flag in Cluster class or introduce a parameter in Client class to toggle SSL. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (HBASE-12182) Master coprocessor endpoints should now use SingletonCoprocessorService instead of CoprocessorService
Virag Kothari created HBASE-12182: - Summary: Master coprocessor endpoints should now use SingletonCoprocessorService instead of CoprocessorService Key: HBASE-12182 URL: https://issues.apache.org/jira/browse/HBASE-12182 Project: HBase Issue Type: Bug Components: Coprocessors Reporter: Virag Kothari HBASE-12126 adds SingletonCoprocessorService for endpoint invocations against region server. It would be good to make MasterEndpoints also derive from SingletonCoprocessorService to make them consistent with region server endpoints. We also need to handle the deprecation part as this is an incompatible change. Relevant comment at https://issues.apache.org/jira/browse/HBASE-12126?focusedCommentId=14158825page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14158825 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-11890) HBase REST Client is hard coded to http protocol
[ https://issues.apache.org/jira/browse/HBASE-11890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14160917#comment-14160917 ] stack commented on HBASE-11890: --- [~apurtell] Thanks for the fixup Andrew. HBase REST Client is hard coded to http protocol Key: HBASE-11890 URL: https://issues.apache.org/jira/browse/HBASE-11890 Project: HBase Issue Type: Bug Components: Client Affects Versions: 0.96.2 Reporter: Eric Yang Assignee: Qiang Tian Fix For: 2.0.0, 0.98.7, 0.99.1 Attachments: HBase-11890-doc.patch, HBase-11890-master-v1.patch, HBase-11890-master.patch HBase REST Client executePathOnly only supports http. It would be nice if there is a option to enable REST API client to connect through SSL. org.apache.hadoop.hbase.rest.client.Cluster class does not indicate which protocol can be used, we can either set flag in Cluster class or introduce a parameter in Client class to toggle SSL. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-12126) Region server coprocessor endpoint
[ https://issues.apache.org/jira/browse/HBASE-12126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Virag Kothari updated HBASE-12126: -- Attachment: HBASE-12126.patch HBASE-12126-branch-1.patch HBASE-12126-0.98_2.patch Attached are patches for all 3 versions. (98_2 adds a license file missing in 98_1) Region server coprocessor endpoint -- Key: HBASE-12126 URL: https://issues.apache.org/jira/browse/HBASE-12126 Project: HBase Issue Type: Bug Components: Coprocessors Affects Versions: 0.98.6 Reporter: Virag Kothari Assignee: Virag Kothari Attachments: HBASE-12126-0.98.patch, HBASE-12126-0.98_1.patch, HBASE-12126-0.98_2.patch, HBASE-12126-branch-1.patch, HBASE-12126.patch Utility to make endpoint calls against region server -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (HBASE-11890) HBase REST Client is hard coded to http protocol
[ https://issues.apache.org/jira/browse/HBASE-11890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Purtell resolved HBASE-11890. Resolution: Fixed Fix Version/s: 0.98.7 Pushed to master and 0.98. Also dropped ref 'm' from ASF git. HBase REST Client is hard coded to http protocol Key: HBASE-11890 URL: https://issues.apache.org/jira/browse/HBASE-11890 Project: HBase Issue Type: Bug Components: Client Affects Versions: 0.96.2 Reporter: Eric Yang Assignee: Qiang Tian Fix For: 2.0.0, 0.98.7, 0.99.1 Attachments: HBase-11890-doc.patch, HBase-11890-master-v1.patch, HBase-11890-master.patch HBase REST Client executePathOnly only supports http. It would be nice if there is a option to enable REST API client to connect through SSL. org.apache.hadoop.hbase.rest.client.Cluster class does not indicate which protocol can be used, we can either set flag in Cluster class or introduce a parameter in Client class to toggle SSL. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-12126) Region server coprocessor endpoint
[ https://issues.apache.org/jira/browse/HBASE-12126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14160915#comment-14160915 ] Virag Kothari commented on HBASE-12126: --- Thanks [~ghelmling] for the review. Created HBASE-12182 to bring master endpoints into consistency Region server coprocessor endpoint -- Key: HBASE-12126 URL: https://issues.apache.org/jira/browse/HBASE-12126 Project: HBase Issue Type: Bug Components: Coprocessors Affects Versions: 0.98.6 Reporter: Virag Kothari Assignee: Virag Kothari Attachments: HBASE-12126-0.98.patch, HBASE-12126-0.98_1.patch Utility to make endpoint calls against region server -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-12126) Region server coprocessor endpoint
[ https://issues.apache.org/jira/browse/HBASE-12126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Virag Kothari updated HBASE-12126: -- Status: Patch Available (was: Open) Region server coprocessor endpoint -- Key: HBASE-12126 URL: https://issues.apache.org/jira/browse/HBASE-12126 Project: HBase Issue Type: Bug Components: Coprocessors Affects Versions: 0.98.6 Reporter: Virag Kothari Assignee: Virag Kothari Attachments: HBASE-12126-0.98.patch, HBASE-12126-0.98_1.patch, HBASE-12126-0.98_2.patch, HBASE-12126-branch-1.patch, HBASE-12126.patch Utility to make endpoint calls against region server -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-12148) Remove TimeRangeTracker as point of contention when many threads writing a Store
[ https://issues.apache.org/jira/browse/HBASE-12148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14160940#comment-14160940 ] Andrew Purtell commented on HBASE-12148: Addendum lgtm Remove TimeRangeTracker as point of contention when many threads writing a Store Key: HBASE-12148 URL: https://issues.apache.org/jira/browse/HBASE-12148 Project: HBase Issue Type: Sub-task Components: Performance Affects Versions: 2.0.0, 0.99.1 Reporter: stack Assignee: stack Fix For: 2.0.0, 0.98.7, 0.99.1 Attachments: 12148.addendum.txt, 12148.txt, 12148.txt, 12148v2.txt, 12148v2.txt, Screen Shot 2014-10-01 at 3.39.46 PM.png, Screen Shot 2014-10-01 at 3.41.07 PM.png -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-10075) add a locality-aware balancer
[ https://issues.apache.org/jira/browse/HBASE-10075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14160992#comment-14160992 ] Rajat commented on HBASE-10075: --- Can you provide clarification on tableRegionNumberOnServer and regionBlockSizeOnServer Every table's region size is configurable and block size of a column family is configurable(so each each region server will have regions of different sizes), so does the number in the above parameters represent the number of regions on server, or something else? add a locality-aware balancer - Key: HBASE-10075 URL: https://issues.apache.org/jira/browse/HBASE-10075 Project: HBase Issue Type: New Feature Components: Balancer Affects Versions: 0.94.12 Reporter: Chengxiang Li basic idea: during rebalance. For each region server, iterate regions, give each region a balance score, remove the lowest one until the region number of region server reach avg floor. during assignment. match to-be-assigned regions with each active region server as pairs, give each pair a balance score, the highest win this region. here is the mark formula: (1 – tableRegionNumberOnServer/allTableRegionNumber) * tableBalancerWeight + (1 – regionNumberOnServer/allRegionNumber) * serverBalancerWeight + regionBlockSizeOnServer/regionBlockSize * localityWeight + (previousServer?1:0) * stickinessWeight there are 4 factors which would influence the final balance score: 1. region balance 2. table region balance 3. region locality 4. region stickiness through adjust the weight of these 4 factors, we can balance the cluster in different strategy. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-12177) TestIPv6NIOServerSocketChannel hangs consistently on Java 8
[ https://issues.apache.org/jira/browse/HBASE-12177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14160996#comment-14160996 ] Hudson commented on HBASE-12177: FAILURE: Integrated in HBase-0.98 #576 (See [https://builds.apache.org/job/HBase-0.98/576/]) Revert HBASE-12177 TestIPv6NIOServerSocketChannel hangs consistently on Java 8 (apurtell: rev d2b3ecf6964aace0bbcddda7d3bec8dce971b638) * hbase-server/src/test/java/org/apache/hadoop/hbase/TestIPv6NIOServerSocketChannel.java TestIPv6NIOServerSocketChannel hangs consistently on Java 8 --- Key: HBASE-12177 URL: https://issues.apache.org/jira/browse/HBASE-12177 Project: HBase Issue Type: Bug Reporter: Andrew Purtell Priority: Minor Attachments: HBASE-12177-0.98.patch, jstack.txt TestIPv6NIOServerSocketChannel hangs consistently on Java 8u20. jstack dump attached. This is on a 64-bit Ubuntu 14.04 system kernel Linux version 3.13.0-29-generic (buildd@toyol) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #53-Ubuntu SMP Wed Jun 4 21:00:20 UTC 2014 {noformat} pool-1-thread-1 #9 prio=5 os_prio=0 tid=0x7ff330707000 nid=0x41a8 runnable [0x7ff309e8f000] java.lang.Thread.State: RUNNABLE at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:382) - locked 0xe1c004e0 (a java.net.SocksSocketImpl) at java.net.ServerSocket.bind(ServerSocket.java:375) at java.net.ServerSocket.bind(ServerSocket.java:329) at org.apache.hadoop.hbase.TestIPv6NIOServerSocketChannel.bindServerSocket(TestIPv6NIOServerSocketChannel.java:60) at org.apache.hadoop.hbase.TestIPv6NIOServerSocketChannel.testServerSocketFromLocalhostResolution(TestIPv6NIOServerSocketChannel.java:149){noformat} I am going to disable this test in 0.98 branch for now. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-11890) HBase REST Client is hard coded to http protocol
[ https://issues.apache.org/jira/browse/HBASE-11890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14160997#comment-14160997 ] Hudson commented on HBASE-11890: FAILURE: Integrated in HBase-0.98 #576 (See [https://builds.apache.org/job/HBase-0.98/576/]) HBASE-11890 HBase REST Client is hard coded to http protocol (apurtell: rev 9e486bfd47429224d2aa7c7b65d77641006f404e) * hbase-server/src/main/java/org/apache/hadoop/hbase/rest/client/Client.java HBase REST Client is hard coded to http protocol Key: HBASE-11890 URL: https://issues.apache.org/jira/browse/HBASE-11890 Project: HBase Issue Type: Bug Components: Client Affects Versions: 0.96.2 Reporter: Eric Yang Assignee: Qiang Tian Fix For: 2.0.0, 0.98.7, 0.99.1 Attachments: HBase-11890-doc.patch, HBase-11890-master-v1.patch, HBase-11890-master.patch HBase REST Client executePathOnly only supports http. It would be nice if there is a option to enable REST API client to connect through SSL. org.apache.hadoop.hbase.rest.client.Cluster class does not indicate which protocol can be used, we can either set flag in Cluster class or introduce a parameter in Client class to toggle SSL. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (HBASE-12183) FuzzyRowFilter doesn't support reverse scans
Nick Dimiduk created HBASE-12183: Summary: FuzzyRowFilter doesn't support reverse scans Key: HBASE-12183 URL: https://issues.apache.org/jira/browse/HBASE-12183 Project: HBase Issue Type: Bug Components: Filters Reporter: Nick Dimiduk Assignee: Nick Dimiduk Try using the FuzzyRowFilter with a reversed scanner and you'll get an RPC timeout. Looking at the code, this filter ignores the reversed flag and always move forward when calculating the value of getNextCellHint. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-12183) FuzzyRowFilter doesn't support reverse scans
[ https://issues.apache.org/jira/browse/HBASE-12183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nick Dimiduk updated HBASE-12183: - Attachment: 12183.patch This a patch trying to do the right thing. Working on better tests now. FuzzyRowFilter doesn't support reverse scans Key: HBASE-12183 URL: https://issues.apache.org/jira/browse/HBASE-12183 Project: HBase Issue Type: Bug Components: Filters Reporter: Nick Dimiduk Assignee: Nick Dimiduk Attachments: 12183.patch Try using the FuzzyRowFilter with a reversed scanner and you'll get an RPC timeout. Looking at the code, this filter ignores the reversed flag and always move forward when calculating the value of getNextCellHint. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-12029) Use Table and RegionLocator in HTable.getRegionLocations()
[ https://issues.apache.org/jira/browse/HBASE-12029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14161087#comment-14161087 ] stack commented on HBASE-12029: --- TestRegionReplicaReplicationEndpoint has been disabled for now as flakey. bq. Were Connections automatically closed in Map/Reduces using the pooled approach? If so, how should the Connections be closed in the new approach of user managed Connections? They were. We were refcounting and when all closes were done, we'd shutdown the Connection. On ... 105 // TODO: Close the Connection somewhere. doesn't InputFormat have a close on it in the Interface? Could we close created connections and admins in there? Apart from this, patch looks good. Use Table and RegionLocator in HTable.getRegionLocations() --- Key: HBASE-12029 URL: https://issues.apache.org/jira/browse/HBASE-12029 Project: HBase Issue Type: Bug Affects Versions: 2.0.0, 0.99.1 Reporter: Solomon Duskis Assignee: Solomon Duskis Attachments: HBASE-12029.patch, HBASE-12029_v1.patch, HBASE-12029_v2.patch, HBASE-12029_v3.patch, HBASE-12029_v4.patch, HBASE-12029_v4.patch, HBASE-12029_v5.patch, HBASE-12029_v6.patch, HBASE-12029_v7.patch HTable.getRegionLocations() is an internal deprecated API. There are plenty of internal uses of the method, and it would be ideal to use the Table and RegionLocator interfaces instead of the HTable method. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-12104) Some optimization and bugfix for HTableMultiplexer
[ https://issues.apache.org/jira/browse/HBASE-12104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yi Deng updated HBASE-12104: Attachment: 0001-HBASE-12104-Some-optimization-and-bugfix-for-HTableM-for-0.98.patch Some optimization and bugfix for HTableMultiplexer -- Key: HBASE-12104 URL: https://issues.apache.org/jira/browse/HBASE-12104 Project: HBase Issue Type: Sub-task Components: Client Affects Versions: 2.0.0 Reporter: Yi Deng Assignee: Yi Deng Labels: multiplexer Fix For: 2.0.0 Attachments: 0001-HBASE-12104-Some-optimization-and-bugfix-for-HTableM-for-0.98.patch, 0001-Make-HTableMultiplexerStatus-public-Delay-before-res.patch, 0001-Make-HTableMultiplexerStatus-public-Delay-before-res.patch, 0001-Make-HTableMultiplexerStatus-public-Delay-before-res.patch, 0001-Make-HTableMultiplexerStatus-public.patch Make HTableMultiplexerStatus public Delay before resubmit. Fix some missing counting on total failure. Use ScheduledExecutorService to simplify the code. Other refactoring. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-11815) Flush and compaction could just close the tmp writer if there is an exception
[ https://issues.apache.org/jira/browse/HBASE-11815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14161107#comment-14161107 ] Hadoop QA commented on HBASE-11815: --- {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12673157/HBASE-11815_2.patch against trunk revision . ATTACHMENT ID: 12673157 {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 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 javadoc{color}. The javadoc tool did not generate any warning messages. {color:green}+1 findbugs{color}. The patch does not introduce any new Findbugs (version 2.0.3) warnings. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:green}+1 lineLengths{color}. The patch does not introduce lines longer than 100 {color:green}+1 site{color}. The mvn 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/11226//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11226//artifact/patchprocess/newPatchFindbugsWarningshbase-common.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11226//artifact/patchprocess/newPatchFindbugsWarningshbase-client.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11226//artifact/patchprocess/newPatchFindbugsWarningshbase-annotations.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11226//artifact/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11226//artifact/patchprocess/newPatchFindbugsWarningshbase-server.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11226//artifact/patchprocess/newPatchFindbugsWarningshbase-prefix-tree.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11226//artifact/patchprocess/newPatchFindbugsWarningshbase-protocol.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11226//artifact/patchprocess/newPatchFindbugsWarningshbase-thrift.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11226//artifact/patchprocess/newPatchFindbugsWarningshbase-examples.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11226//artifact/patchprocess/newPatchFindbugsWarningshbase-hadoop2-compat.html Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/11226//console This message is automatically generated. Flush and compaction could just close the tmp writer if there is an exception - Key: HBASE-11815 URL: https://issues.apache.org/jira/browse/HBASE-11815 Project: HBase Issue Type: Bug Reporter: ramkrishna.s.vasudevan Assignee: ramkrishna.s.vasudevan Priority: Trivial Fix For: 2.0.0, 0.98.7, 0.99.1 Attachments: HBASE-11815.patch, HBASE-11815_0.98.patch, HBASE-11815_1.patch, HBASE-11815_2.patch, HBASE-11815_2.patch A minor change. {code} try { flushed = performFlush(scanner, writer, smallestReadPoint); } finally { finalizeWriter(writer, cacheFlushId, status); } {code} Whenever there is a failure during flush we should close the writer but adding the meta data and setting the status would not be needed. {code} status.setStatus(Flushing + store + : appending metadata); writer.appendMetadata(cacheFlushSeqNum, false); status.setStatus(Flushing + store + : closing flushed file); writer.close(); {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-11890) HBase REST Client is hard coded to http protocol
[ https://issues.apache.org/jira/browse/HBASE-11890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=1416#comment-1416 ] Hudson commented on HBASE-11890: SUCCESS: Integrated in HBase-TRUNK #5624 (See [https://builds.apache.org/job/HBase-TRUNK/5624/]) HBASE-11890 HBase REST Client is hard coded to http protocol (apurtell: rev 062adcc1885ff58b8e9c55a870a34be8de7a685d) * hbase-server/src/main/java/org/apache/hadoop/hbase/rest/client/Client.java HBase REST Client is hard coded to http protocol Key: HBASE-11890 URL: https://issues.apache.org/jira/browse/HBASE-11890 Project: HBase Issue Type: Bug Components: Client Affects Versions: 0.96.2 Reporter: Eric Yang Assignee: Qiang Tian Fix For: 2.0.0, 0.98.7, 0.99.1 Attachments: HBase-11890-doc.patch, HBase-11890-master-v1.patch, HBase-11890-master.patch HBase REST Client executePathOnly only supports http. It would be nice if there is a option to enable REST API client to connect through SSL. org.apache.hadoop.hbase.rest.client.Cluster class does not indicate which protocol can be used, we can either set flag in Cluster class or introduce a parameter in Client class to toggle SSL. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-11835) Wrong managenement of non expected calls in the client
[ https://issues.apache.org/jira/browse/HBASE-11835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14161115#comment-14161115 ] Hadoop QA commented on HBASE-11835: --- {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12673171/11835.rebase.patch against trunk revision . ATTACHMENT ID: 12673171 {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 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 javadoc{color}. The javadoc tool did not generate any warning messages. {color:green}+1 findbugs{color}. The patch does not introduce any new Findbugs (version 2.0.3) warnings. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:green}+1 lineLengths{color}. The patch does not introduce lines longer than 100 {color:green}+1 site{color}. The mvn 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/11225//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11225//artifact/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11225//artifact/patchprocess/newPatchFindbugsWarningshbase-prefix-tree.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11225//artifact/patchprocess/newPatchFindbugsWarningshbase-examples.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11225//artifact/patchprocess/newPatchFindbugsWarningshbase-server.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11225//artifact/patchprocess/newPatchFindbugsWarningshbase-common.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11225//artifact/patchprocess/newPatchFindbugsWarningshbase-protocol.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11225//artifact/patchprocess/newPatchFindbugsWarningshbase-client.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11225//artifact/patchprocess/newPatchFindbugsWarningshbase-thrift.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11225//artifact/patchprocess/newPatchFindbugsWarningshbase-hadoop2-compat.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11225//artifact/patchprocess/newPatchFindbugsWarningshbase-annotations.html Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/11225//console This message is automatically generated. Wrong managenement of non expected calls in the client -- Key: HBASE-11835 URL: https://issues.apache.org/jira/browse/HBASE-11835 Project: HBase Issue Type: Bug Components: Client Affects Versions: 1.0.0, 2.0.0, 0.98.6 Reporter: Nicolas Liochon Assignee: Nicolas Liochon Fix For: 2.0.0, 0.99.1 Attachments: 11835.rebase.patch, 11835.rebase.patch, rpcClient.patch If a call is purged or canceled we try to skip the reply from the server, but we read the wrong number of bytes so we corrupt the tcp channel. It's hidden as it triggers retry and so on, but it's bad for performances obviously. It happens with cell blocks. [~ram_krish_86], [~saint@gmail.com], you know this part better than me, do you agree with the analysis and the patch? The changes in rpcServer are not fully related: as the client close the connections in such situation, I observed both ClosedChannelException and CancelledKeyException. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-12148) Remove TimeRangeTracker as point of contention when many threads writing a Store
[ https://issues.apache.org/jira/browse/HBASE-12148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14161119#comment-14161119 ] Matteo Bertozzi commented on HBASE-12148: - isn't the addendum slower? you still have the synchronized and also have the atomic... can you describe a bit more why you decided to go with it? why not remove the synchronized if you want to use the atomic? Remove TimeRangeTracker as point of contention when many threads writing a Store Key: HBASE-12148 URL: https://issues.apache.org/jira/browse/HBASE-12148 Project: HBase Issue Type: Sub-task Components: Performance Affects Versions: 2.0.0, 0.99.1 Reporter: stack Assignee: stack Fix For: 2.0.0, 0.98.7, 0.99.1 Attachments: 12148.addendum.txt, 12148.txt, 12148.txt, 12148v2.txt, 12148v2.txt, Screen Shot 2014-10-01 at 3.39.46 PM.png, Screen Shot 2014-10-01 at 3.41.07 PM.png -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-11997) CopyTable with bulkload
[ https://issues.apache.org/jira/browse/HBASE-11997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14161130#comment-14161130 ] Yi Deng commented on HBASE-11997: - A diff is place here: https://reviews.facebook.net/D24567 CopyTable with bulkload --- Key: HBASE-11997 URL: https://issues.apache.org/jira/browse/HBASE-11997 Project: HBase Issue Type: Sub-task Components: Client Affects Versions: 0.89-fb Reporter: @deprecated Yi Deng Assignee: Yi Deng Priority: Minor Labels: bulkloader, copy, mapreduce Fix For: 0.89-fb Attachments: 0001-HBASE-11997-Add-bulkload-for-CopyTable.patch CopyTable using bulkload for writing. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-11997) CopyTable with bulkload
[ https://issues.apache.org/jira/browse/HBASE-11997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yi Deng updated HBASE-11997: Attachment: 0001-HBASE-11997-Add-bulkload-for-CopyTable.patch CopyTable with bulkload --- Key: HBASE-11997 URL: https://issues.apache.org/jira/browse/HBASE-11997 Project: HBase Issue Type: Sub-task Components: Client Affects Versions: 0.89-fb Reporter: @deprecated Yi Deng Assignee: Yi Deng Priority: Minor Labels: bulkloader, copy, mapreduce Fix For: 0.89-fb Attachments: 0001-HBASE-11997-Add-bulkload-for-CopyTable.patch CopyTable using bulkload for writing. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-11997) CopyTable with bulkload
[ https://issues.apache.org/jira/browse/HBASE-11997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yi Deng updated HBASE-11997: Status: Patch Available (was: Open) CopyTable with bulkload --- Key: HBASE-11997 URL: https://issues.apache.org/jira/browse/HBASE-11997 Project: HBase Issue Type: Sub-task Components: Client Affects Versions: 0.89-fb Reporter: @deprecated Yi Deng Assignee: Yi Deng Priority: Minor Labels: bulkloader, copy, mapreduce Fix For: 0.89-fb Attachments: 0001-HBASE-11997-Add-bulkload-for-CopyTable.patch CopyTable using bulkload for writing. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-11997) CopyTable with bulkload
[ https://issues.apache.org/jira/browse/HBASE-11997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yi Deng updated HBASE-11997: Affects Version/s: (was: 0.89-fb) 1.0.0 Fix Version/s: (was: 0.89-fb) 1.0.0 CopyTable with bulkload --- Key: HBASE-11997 URL: https://issues.apache.org/jira/browse/HBASE-11997 Project: HBase Issue Type: Sub-task Components: Client Affects Versions: 1.0.0 Reporter: @deprecated Yi Deng Assignee: Yi Deng Priority: Minor Labels: bulkloader, copy, mapreduce Fix For: 1.0.0 Attachments: 0001-HBASE-11997-Add-bulkload-for-CopyTable.patch CopyTable using bulkload for writing. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-12148) Remove TimeRangeTracker as point of contention when many threads writing a Store
[ https://issues.apache.org/jira/browse/HBASE-12148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14161135#comment-14161135 ] Andrew Purtell commented on HBASE-12148: Fair enough. Let's leave as is or revert. Remove TimeRangeTracker as point of contention when many threads writing a Store Key: HBASE-12148 URL: https://issues.apache.org/jira/browse/HBASE-12148 Project: HBase Issue Type: Sub-task Components: Performance Affects Versions: 2.0.0, 0.99.1 Reporter: stack Assignee: stack Fix For: 2.0.0, 0.98.7, 0.99.1 Attachments: 12148.addendum.txt, 12148.txt, 12148.txt, 12148v2.txt, 12148v2.txt, Screen Shot 2014-10-01 at 3.39.46 PM.png, Screen Shot 2014-10-01 at 3.41.07 PM.png -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-12104) Some optimization and bugfix for HTableMultiplexer
[ https://issues.apache.org/jira/browse/HBASE-12104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-12104: --- Fix Version/s: 0.99.1 0.98.7 Some optimization and bugfix for HTableMultiplexer -- Key: HBASE-12104 URL: https://issues.apache.org/jira/browse/HBASE-12104 Project: HBase Issue Type: Sub-task Components: Client Affects Versions: 2.0.0 Reporter: Yi Deng Assignee: Yi Deng Labels: multiplexer Fix For: 2.0.0, 0.98.7, 0.99.1 Attachments: 0001-HBASE-12104-Some-optimization-and-bugfix-for-HTableM-for-0.98.patch, 0001-Make-HTableMultiplexerStatus-public-Delay-before-res.patch, 0001-Make-HTableMultiplexerStatus-public-Delay-before-res.patch, 0001-Make-HTableMultiplexerStatus-public-Delay-before-res.patch, 0001-Make-HTableMultiplexerStatus-public.patch Make HTableMultiplexerStatus public Delay before resubmit. Fix some missing counting on total failure. Use ScheduledExecutorService to simplify the code. Other refactoring. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-12126) Region server coprocessor endpoint
[ https://issues.apache.org/jira/browse/HBASE-12126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14161143#comment-14161143 ] Hadoop QA commented on HBASE-12126: --- {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12673193/HBASE-12126.patch against trunk revision . ATTACHMENT ID: 12673193 {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:green}+1 tests included{color}. The patch appears to include 15 new or modified tests. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:red}-1 javadoc{color}. The javadoc tool appears to have generated 4 warning messages. {color:green}+1 findbugs{color}. The patch does not introduce any new Findbugs (version 2.0.3) warnings. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:red}-1 lineLengths{color}. The patch introduces the following lines longer than 100: + * be obtained by calling {@link org.apache.hadoop.hbase.client.HBaseAdmin#coprocessorService(ServerName)}, + * coderpc ExecRegionServerService(.CoprocessorServiceRequest) returns (.CoprocessorServiceResponse);/code + * coderpc ExecRegionServerService(.CoprocessorServiceRequest) returns (.CoprocessorServiceResponse);/code + LOG.debug(Registered regionserver coprocessor service: service= + serviceDesc.getFullName()); + this.regionServerServices.registerService(((SingletonCoprocessorService) impl).getService()); + static class DummyRegionServerEndpoint extends DummyService implements Coprocessor, SingletonCoprocessorService { + return org.apache.hadoop.hbase.coprocessor.protobuf.generated.DummyRegionServerEndpointProtos.internal_static_DummyRequest_descriptor; + return org.apache.hadoop.hbase.coprocessor.protobuf.generated.DummyRegionServerEndpointProtos.internal_static_DummyRequest_fieldAccessorTable + org.apache.hadoop.hbase.coprocessor.protobuf.generated.DummyRegionServerEndpointProtos.DummyRequest.class, org.apache.hadoop.hbase.coprocessor.protobuf.generated.DummyRegionServerEndpointProtos.DummyRequest.Builder.class); + if (!(obj instanceof org.apache.hadoop.hbase.coprocessor.protobuf.generated.DummyRegionServerEndpointProtos.DummyRequest)) { {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/11227//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11227//artifact/patchprocess/newPatchFindbugsWarningshbase-prefix-tree.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11227//artifact/patchprocess/newPatchFindbugsWarningshbase-examples.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11227//artifact/patchprocess/newPatchFindbugsWarningshbase-common.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11227//artifact/patchprocess/newPatchFindbugsWarningshbase-annotations.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11227//artifact/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11227//artifact/patchprocess/newPatchFindbugsWarningshbase-client.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11227//artifact/patchprocess/newPatchFindbugsWarningshbase-thrift.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11227//artifact/patchprocess/newPatchFindbugsWarningshbase-protocol.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11227//artifact/patchprocess/newPatchFindbugsWarningshbase-server.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11227//artifact/patchprocess/newPatchFindbugsWarningshbase-hadoop2-compat.html Javadoc warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/11227//artifact/trunk/patchprocess/patchJavadocWarnings.txt Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/11227//console This message is automatically generated. Region server coprocessor endpoint -- Key: HBASE-12126 URL: https://issues.apache.org/jira/browse/HBASE-12126 Project: HBase Issue Type: Bug Components: Coprocessors Affects Versions: 0.98.6 Reporter: Virag Kothari Assignee: Virag Kothari
[jira] [Commented] (HBASE-12148) Remove TimeRangeTracker as point of contention when many threads writing a Store
[ https://issues.apache.org/jira/browse/HBASE-12148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14161147#comment-14161147 ] stack commented on HBASE-12148: --- Did atomic/volatile because of above pushback that no guarantee that long update is atomic -- which would mess up any compare. You thinking I've almost put back the synchronized block since the reads are of volatiles/AtomicLong [~mbertozzi]? The sync scope is narrowed some at least. I didn't measure in context. If any question at all, I'll just put back old behavior until I get chance to test in context again. Remove TimeRangeTracker as point of contention when many threads writing a Store Key: HBASE-12148 URL: https://issues.apache.org/jira/browse/HBASE-12148 Project: HBase Issue Type: Sub-task Components: Performance Affects Versions: 2.0.0, 0.99.1 Reporter: stack Assignee: stack Fix For: 2.0.0, 0.98.7, 0.99.1 Attachments: 12148.addendum.txt, 12148.txt, 12148.txt, 12148v2.txt, 12148v2.txt, Screen Shot 2014-10-01 at 3.39.46 PM.png, Screen Shot 2014-10-01 at 3.41.07 PM.png -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-11890) HBase REST Client is hard coded to http protocol
[ https://issues.apache.org/jira/browse/HBASE-11890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14161159#comment-14161159 ] Hudson commented on HBASE-11890: SUCCESS: Integrated in HBase-1.0 #277 (See [https://builds.apache.org/job/HBase-1.0/277/]) HBASE-11890 HBase REST Client is hard coded to http protocol (stack: rev ed17aacbbaecce887d07124c7ff0c3c3fd197b88) * hbase-server/src/main/java/org/apache/hadoop/hbase/rest/client/Client.java HBase REST Client is hard coded to http protocol Key: HBASE-11890 URL: https://issues.apache.org/jira/browse/HBASE-11890 Project: HBase Issue Type: Bug Components: Client Affects Versions: 0.96.2 Reporter: Eric Yang Assignee: Qiang Tian Fix For: 2.0.0, 0.98.7, 0.99.1 Attachments: HBase-11890-doc.patch, HBase-11890-master-v1.patch, HBase-11890-master.patch HBase REST Client executePathOnly only supports http. It would be nice if there is a option to enable REST API client to connect through SSL. org.apache.hadoop.hbase.rest.client.Cluster class does not indicate which protocol can be used, we can either set flag in Cluster class or introduce a parameter in Client class to toggle SSL. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HBASE-12183) FuzzyRowFilter doesn't support reverse scans
[ https://issues.apache.org/jira/browse/HBASE-12183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14161168#comment-14161168 ] Nick Dimiduk commented on HBASE-12183: -- This is wrong. {noformat} - private static boolean isMax(byte fuzzyKeyByte) { -return (fuzzyKeyByte 0xFF) == 255; + private static boolean isMax(boolean reverse, byte fuzzyKeyByte) { +return fuzzyKeyByte == (reverse ? Byte.MIN_VALUE : Byte.MAX_VALUE); {noformat} Should be {{(byte) (reverse ? 0 : 0xff)}} Simply zero-ing out existing bytes isn't correct for this either. Will need to increment and truncate. Seems like this zero-ing strategy isn't working for some edge cases as well. FuzzyRowFilter doesn't support reverse scans Key: HBASE-12183 URL: https://issues.apache.org/jira/browse/HBASE-12183 Project: HBase Issue Type: Bug Components: Filters Reporter: Nick Dimiduk Assignee: Nick Dimiduk Attachments: 12183.patch Try using the FuzzyRowFilter with a reversed scanner and you'll get an RPC timeout. Looking at the code, this filter ignores the reversed flag and always move forward when calculating the value of getNextCellHint. -- This message was sent by Atlassian JIRA (v6.3.4#6332)