[jira] [Created] (HBASE-19626) Rename Cell.DataType to Cell.Type

2017-12-25 Thread Chia-Ping Tsai (JIRA)
Chia-Ping Tsai created HBASE-19626:
--

 Summary: Rename Cell.DataType to Cell.Type
 Key: HBASE-19626
 URL: https://issues.apache.org/jira/browse/HBASE-19626
 Project: HBase
  Issue Type: Bug
Reporter: Chia-Ping Tsai
Priority: Minor
 Fix For: 2.0.0


Align the name with KeyValue.Type. Also, it is the return type of 
Cell.getType() so the qualifier "Data" is inappropriate. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Resolved] (HBASE-17615) Use nonce and procedure v2 for add/remove replication peer

2017-12-25 Thread Guanghao Zhang (JIRA)

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

Guanghao Zhang resolved HBASE-17615.

Resolution: Duplicate

Duplicate with HBASE-19397

> Use nonce and procedure v2 for add/remove replication peer
> --
>
> Key: HBASE-17615
> URL: https://issues.apache.org/jira/browse/HBASE-17615
> Project: HBase
>  Issue Type: Sub-task
>  Components: Replication
>Affects Versions: 2.0.0
>Reporter: Guanghao Zhang
> Fix For: 2.0.0
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (HBASE-19625) Maven enforcer findings

2017-12-25 Thread Olaf Flebbe (JIRA)
Olaf Flebbe created HBASE-19625:
---

 Summary: Maven enforcer findings
 Key: HBASE-19625
 URL: https://issues.apache.org/jira/browse/HBASE-19625
 Project: HBase
  Issue Type: Bug
  Components: build
Affects Versions: 1.1.12
Reporter: Olaf Flebbe


While compiling for centos-7 maven enforcer is triggered by several licenses:

https://ci.bigtop.apache.org/job/Bigtop-trunk-packages/COMPONENTS=hbase,OS=centos-7/ws/build/hbase/rpm/BUILD/hbase-1.1.12/hbase-assembly/target/maven-shared-archive-resources/META-INF/LICENSE/*view*/

Here are the diagnostics:
{code}
This product includes OkHttp licensed under the Apache 2.0.

ERROR: Please check  this License for acceptability here:

https://www.apache.org/legal/resolved

If it is okay, then update the list named 'non_aggregate_fine' in the 
LICENSE.vm file.
If it isn't okay, then revert the change that added the dependency.

More info on the dependency:

com.squareup.okhttp
okhttp
2.4.0

maven central search
g:com.squareup.okhttp AND a:okhttp AND v:2.4.0

project website
https://github.com/square/okhttp/okhttp
project source
https://github.com/square/okhttp/okhttp/
--
This product includes Okio licensed under the Apache 2.0.

ERROR: Please check  this License for acceptability here:

https://www.apache.org/legal/resolved

If it is okay, then update the list named 'non_aggregate_fine' in the 
LICENSE.vm file.
If it isn't okay, then revert the change that added the dependency.

More info on the dependency:

com.squareup.okio
okio
1.4.0

maven central search
g:com.squareup.okio AND a:okio AND v:1.4.0

project website
https://github.com/square/okio/okio
project source
https://github.com/square/okio/okio/

ERROR: "Java Concurrency in Practice" book annotations dependency found without 
license information!

Please find the appropriate license and update supplemental-models.xml or
revert the change that added this dependency.

More info on the dependency:

net.jcip
jcip-annotations
1.0

maven central search
g:net.jcip AND a:jcip-annotations AND v:1.0

project website
http://jcip.net/
project source
${dep.scm.url}
{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


Re: Request to Join Slack Channel

2017-12-25 Thread Sean Busbey
both sent. sorry for the delay!

On Thu, Dec 21, 2017 at 7:28 AM, Jean-Marc Spaggiari
 wrote:
> Me too please ;)
>
> Thanks,
>
> JMS
>
> 2017-12-20 20:54 GMT-05:00 Philippe Laflamme :
>
>> Hi,
>>
>> I'd like to join the slack discussion and the guide mentions writing to
>> this address to obtain an invite. May I obtain an invite please?
>>
>> Thanks,
>> Philippe
>>


[jira] [Created] (HBASE-19624) TestIOFencing hangs

2017-12-25 Thread Chia-Ping Tsai (JIRA)
Chia-Ping Tsai created HBASE-19624:
--

 Summary: TestIOFencing hangs
 Key: HBASE-19624
 URL: https://issues.apache.org/jira/browse/HBASE-19624
 Project: HBase
  Issue Type: Bug
Reporter: Chia-Ping Tsai
Assignee: Chia-Ping Tsai
 Fix For: 2.0.0


RS calls CompactSplit#join to cease all compactSplit threads.
{code:title=CompactSplit.java}
  private void waitFor(ThreadPoolExecutor t, String name) {
boolean done = false;
while (!done) {
  try {
done = t.awaitTermination(60, TimeUnit.SECONDS);
LOG.info("Waiting for " + name + " to finish...");
if (!done) {
  t.shutdownNow();
}
  } catch (InterruptedException ie) {
LOG.warn("Interrupted waiting for " + name + " to finish...");
  }
}
  }
{code}
In the meantime, the async wal may wait for the sync signal. However, the 
single won't happen as the wal sync is failed.
{code}
  synchronized long get(long timeoutNs) throws InterruptedException,
  ExecutionException, TimeoutIOException {
final long done = System.nanoTime() + timeoutNs;
while (!isDone()) {
  wait(1000);
  if (System.nanoTime() >= done) {
throw new TimeoutIOException(
"Failed to get sync result after " + 
TimeUnit.NANOSECONDS.toMillis(timeoutNs)
+ " ms for txid=" + this.txid + ", WAL system stuck?");
  }
}
if (this.throwable != null) {
  throw new ExecutionException(this.throwable);
}
return this.doneTxid;
  }
{code}

When we shutdown the mini cluster, JVMClusterUtil#shutdown sends the interrupt 
single to all rs threads. And then catching the InterruptedException cause 
compactionsplit to skip the #shutdownNow, hence the compactionsplit threads 
were up until timeout (default is 5 min).   
{code}
  for (int i = 0; i < 100; ++i) {
boolean atLeastOneLiveServer = false;
for (RegionServerThread t : regionservers) {
  if (t.isAlive()) {
atLeastOneLiveServer = true;
try {
  LOG.warn("RegionServerThreads remaining, give one more chance 
before interrupting");
  t.join(1000);
} catch (InterruptedException e) {
  wasInterrupted = true;
}
  }
}
if (!atLeastOneLiveServer) break;
for (RegionServerThread t : regionservers) {
  if (t.isAlive()) {
LOG.warn("RegionServerThreads taking too long to stop, 
interrupting");
t.interrupt();
  }
}
  }
{code}




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (HBASE-19623) Create the connection to peer cluster async when region server add a replication source.

2017-12-25 Thread Zheng Hu (JIRA)
Zheng Hu created HBASE-19623:


 Summary: Create the connection to peer cluster async  when region 
server add a replication source.
 Key: HBASE-19623
 URL: https://issues.apache.org/jira/browse/HBASE-19623
 Project: HBase
  Issue Type: Sub-task
Reporter: Zheng Hu


As the discussion in  HBASE-19617,   After the replication procedure replace 
the zookeeper notification ,   the addPeer operation may be blocked  because 
the RegionServer will create a connection to peer cluster synchronously. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)