svn commit: r1827380 [12/12] - in /phoenix/site: publish/hbasecon-phoenixcon-2018/ publish/hbasecon-phoenixcon-2018/css/ publish/hbasecon-phoenixcon-2018/css/font-awesome/ publish/hbasecon-phoenixcon-

2018-03-20 Thread elserj
Added: 
phoenix/site/source/src/site/resources/hbasecon-phoenixcon-2018/js/jquery-1.11.0.js
URL: 
http://svn.apache.org/viewvc/phoenix/site/source/src/site/resources/hbasecon-phoenixcon-2018/js/jquery-1.11.0.js?rev=1827380=auto
==
--- 
phoenix/site/source/src/site/resources/hbasecon-phoenixcon-2018/js/jquery-1.11.0.js
 (added)
+++ 
phoenix/site/source/src/site/resources/hbasecon-phoenixcon-2018/js/jquery-1.11.0.js
 Wed Mar 21 02:24:57 2018
@@ -0,0 +1,4 @@
+/*! jQuery v1.11.0 | (c) 2005, 2014 jQuery Foundation, Inc. | 
jquery.org/license */
+!function(a,b){"object"==typeof module&&"object"==typeof 
module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw
 new Error("jQuery requires a window with a document");return 
b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var 
c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k="".trim,l={},m="1.11.0",n=function(a,b){return
 new 
n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,b){return
 
b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",length:0,toArray:function(){return
 d.call(this)},get:function(a){return 
null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var 
b=n.merge(this.constructor(),a);return 
b.prevObject=this,b.context=this.context,b},each:function(a,b){return 
n.each(this,a,b)},map:function(a){return 
this.pushStack(n.map(this,function(b,c){return 
a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(th
 is,arguments))},first:function(){return this.eq(0)},last:function(){return 
this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return 
this.pushStack(c>=0&>c?[this[c]]:[])},end:function(){return 
this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},n.extend=n.fn.extend=function(){var
 
a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof
 g&&(j=g,g=arguments[h]||{},h++),"object"==typeof 
g||n.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(e=arguments[h]))for(d
 in 
e)a=g[d],c=e[d],g!==c&&(j&&&(n.isPlainObject(c)||(b=n.isArray(c)))?(b?(b=!1,f=a&(a)?a:[]):f=a&(a)?a:{},g[d]=n.extend(j,f,c)):void
 0!==c&&(g[d]=c));return 
g},n.extend({expando:"jQuery"+(m+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw
 new 
Error(a)},noop:function(){},isFunction:function(a){return"function"===n.type(a)},isArray:Array.isArray||function(a){return"array"===n.type(a)},isWindow:function(a){return
 n
 ull!=a&==a.window},isNumeric:function(a){return 
a-parseFloat(a)>=0},isEmptyObject:function(a){var b;for(b in 
a)return!1;return!0},isPlainObject:function(a){var 
b;if(!a||"object"!==n.type(a)||a.nodeType||n.isWindow(a))return!1;try{if(a.constructor&&!j.call(a,"constructor")&&!j.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}if(l.ownLast)for(b
 in a)return j.call(a,b);for(b in a);return void 
0===b||j.call(a,b)},type:function(a){return null==a?a+"":"object"==typeof 
a||"function"==typeof a?h[i.call(a)]||"object":typeof 
a},globalEval:function(b){b&(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return
 a.replace(p,"ms-").replace(q,r)},nodeName:function(a,b){return 
a.nodeName&()===b.toLowerCase()},each:function(a,b,c){var
 
d,e=0,f=a.length,g=s(a);if(c){if(g){for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)break}else
 for(e in a)if(d=b.apply(a[e],c),d===!1)break}else 
if(g){for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!
 1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return 
a},trim:k&&!k.call("\ufeff\xa0")?function(a){return 
null==a?"":k.call(a)}:function(a){return 
null==a?"":(a+"").replace(o,"")},makeArray:function(a,b){var c=b||[];return 
null!=a&&(s(Object(a))?n.merge(c,"string"==typeof 
a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){var d;if(b){if(g)return 
g.call(b,a,c);for(d=b.length,c=c?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in 
b&[c]===a)return c}return-1},merge:function(a,b){var 
c=+b.length,d=0,e=a.length;while(c>d)a[e++]=b[d++];if(c!==c)while(void 
0!==b[d])a[e++]=b[d++];return a.length=e,a},grep:function(a,b,c){for(var 
d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&(a[f]);return 
e},map:function(a,b,c){var 
d,f=0,g=a.length,h=s(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&(d);else
 for(f in a)d=b(a[f],f,c),null!=d&(d);return 
e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return"string"==typeof 
b&&(f=a[b],b=a,a=f),n.isFunction(a)?(c=d.call(argum
 ents,2),e=function(){return 
a.apply(b||this,c.concat(d.call(arguments)))},e.guid=a.guid=a.guid||n.guid++,e):void
 0},now:function(){return+new Date},support:l}),n.each("Boolean Number String 
Function Array Date RegExp Object Error".split(" "),function(a,b){h["[object 
"+b+"]"]=b.toLowerCase()});function s(a){var 

svn commit: r1827380 [10/12] - in /phoenix/site: publish/hbasecon-phoenixcon-2018/ publish/hbasecon-phoenixcon-2018/css/ publish/hbasecon-phoenixcon-2018/css/font-awesome/ publish/hbasecon-phoenixcon-

2018-03-20 Thread elserj
Added: 
phoenix/site/source/src/site/resources/hbasecon-phoenixcon-2018/js/bootstrap.js
URL: 
http://svn.apache.org/viewvc/phoenix/site/source/src/site/resources/hbasecon-phoenixcon-2018/js/bootstrap.js?rev=1827380=auto
==
--- 
phoenix/site/source/src/site/resources/hbasecon-phoenixcon-2018/js/bootstrap.js 
(added)
+++ 
phoenix/site/source/src/site/resources/hbasecon-phoenixcon-2018/js/bootstrap.js 
Wed Mar 21 02:24:57 2018
@@ -0,0 +1,2114 @@
+/*!
+ * Bootstrap v3.2.0 (http://getbootstrap.com)
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ */
+
+if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript 
requires jQuery') }
+
+/* 
+ * Bootstrap: transition.js v3.2.0
+ * http://getbootstrap.com/javascript/#transitions
+ * 
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ *  */
+
+
++function ($) {
+  'use strict';
+
+  // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
+  // 
+
+  function transitionEnd() {
+var el = document.createElement('bootstrap')
+
+var transEndEventNames = {
+  WebkitTransition : 'webkitTransitionEnd',
+  MozTransition: 'transitionend',
+  OTransition  : 'oTransitionEnd otransitionend',
+  transition   : 'transitionend'
+}
+
+for (var name in transEndEventNames) {
+  if (el.style[name] !== undefined) {
+return { end: transEndEventNames[name] }
+  }
+}
+
+return false // explicit for ie8 (  ._.)
+  }
+
+  // http://blog.alexmaccaw.com/css-transitions
+  $.fn.emulateTransitionEnd = function (duration) {
+var called = false
+var $el = this
+$(this).one('bsTransitionEnd', function () { called = true })
+var callback = function () { if (!called) 
$($el).trigger($.support.transition.end) }
+setTimeout(callback, duration)
+return this
+  }
+
+  $(function () {
+$.support.transition = transitionEnd()
+
+if (!$.support.transition) return
+
+$.event.special.bsTransitionEnd = {
+  bindType: $.support.transition.end,
+  delegateType: $.support.transition.end,
+  handle: function (e) {
+if ($(e.target).is(this)) return e.handleObj.handler.apply(this, 
arguments)
+  }
+}
+  })
+
+}(jQuery);
+
+/* 
+ * Bootstrap: alert.js v3.2.0
+ * http://getbootstrap.com/javascript/#alerts
+ * 
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ *  */
+
+
++function ($) {
+  'use strict';
+
+  // ALERT CLASS DEFINITION
+  // ==
+
+  var dismiss = '[data-dismiss="alert"]'
+  var Alert   = function (el) {
+$(el).on('click', dismiss, this.close)
+  }
+
+  Alert.VERSION = '3.2.0'
+
+  Alert.prototype.close = function (e) {
+var $this= $(this)
+var selector = $this.attr('data-target')
+
+if (!selector) {
+  selector = $this.attr('href')
+  selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip 
for ie7
+}
+
+var $parent = $(selector)
+
+if (e) e.preventDefault()
+
+if (!$parent.length) {
+  $parent = $this.hasClass('alert') ? $this : $this.parent()
+}
+
+$parent.trigger(e = $.Event('close.bs.alert'))
+
+if (e.isDefaultPrevented()) return
+
+$parent.removeClass('in')
+
+function removeElement() {
+  // detach from parent, fire event then clean up data
+  $parent.detach().trigger('closed.bs.alert').remove()
+}
+
+$.support.transition && $parent.hasClass('fade') ?
+  $parent
+.one('bsTransitionEnd', removeElement)
+.emulateTransitionEnd(150) :
+  removeElement()
+  }
+
+
+  // ALERT PLUGIN DEFINITION
+  // ===
+
+  function Plugin(option) {
+return this.each(function () {
+  var $this = $(this)
+  var data  = $this.data('bs.alert')
+
+  if (!data) $this.data('bs.alert', (data = new Alert(this)))
+  if (typeof option == 'string') data[option].call($this)
+})
+  }
+
+  var old = $.fn.alert
+
+  $.fn.alert = Plugin
+  $.fn.alert.Constructor = Alert
+
+
+  // ALERT NO CONFLICT
+  // =
+
+  $.fn.alert.noConflict = function () {
+$.fn.alert = old
+return this
+  }
+
+
+  // ALERT DATA-API
+  // ==
+
+  $(document).on('click.bs.alert.data-api', dismiss, 

svn commit: r1827380 [11/12] - in /phoenix/site: publish/hbasecon-phoenixcon-2018/ publish/hbasecon-phoenixcon-2018/css/ publish/hbasecon-phoenixcon-2018/css/font-awesome/ publish/hbasecon-phoenixcon-

2018-03-20 Thread elserj
Added: 
phoenix/site/source/src/site/resources/hbasecon-phoenixcon-2018/js/bootstrap.min.js
URL: 
http://svn.apache.org/viewvc/phoenix/site/source/src/site/resources/hbasecon-phoenixcon-2018/js/bootstrap.min.js?rev=1827380=auto
==
--- 
phoenix/site/source/src/site/resources/hbasecon-phoenixcon-2018/js/bootstrap.min.js
 (added)
+++ 
phoenix/site/source/src/site/resources/hbasecon-phoenixcon-2018/js/bootstrap.min.js
 Wed Mar 21 02:24:57 2018
@@ -0,0 +1,6 @@
+/*!
+ * Bootstrap v3.2.0 (http://getbootstrap.com)
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ */
+if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires 
jQuery");+function(a){"use strict";function b(){var 
a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd
 otransitionend",transition:"transitionend"};for(var c in b)if(void 
0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var
 c=!1,d=this;a(this).one("bsTransitionEnd",function(){c=!0});var 
e=function(){c||a(d).trigger(a.support.transition.end)};return 
setTimeout(e,b),this},a(function(){a.support.transition=b(),a.support.transition&&(a.event.special.bsTransitionEnd={bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b){return
 a(b.target).is(this)?b.handleObj.handler.apply(this,arguments):void 
0}})})}(jQuery),+function(a){"use strict";function b(b){return 
this.each(function(){var 
c=a(this),e=c.data("bs.alert");e||c.data("bs.alert",e=new 
d(this)),"string"==type
 of b&[b].call(c)})}var 
c='[data-dismiss="alert"]',d=function(b){a(b).on("click",c,this.close)};d.VERSION="3.2.0",d.prototype.close=function(b){function
 c(){f.detach().trigger("closed.bs.alert").remove()}var 
d=a(this),e=d.attr("data-target");e||(e=d.attr("href"),e=e&(/.*(?=#[^\s]*$)/,""));var
 
f=a(e);b&(),f.length||(f=d.hasClass("alert")?d:d.parent()),f.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(f.removeClass("in"),a.support.transition&("fade")?f.one("bsTransitionEnd",c).emulateTransitionEnd(150):c())};var
 
e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function(){return
 
a.fn.alert=e,this},a(document).on("click.bs.alert.data-api",c,d.prototype.close)}(jQuery),+function(a){"use
 strict";function b(b){return this.each(function(){var 
d=a(this),e=d.data("bs.button"),f="object"==typeof 
b&e||d.data("bs.button",e=new 
c(this,f)),"toggle"==b?e.toggle():b&(b)})}var 
c=function(b,d){this.$element=a(b)
 
,this.options=a.extend({},c.DEFAULTS,d),this.isLoading=!1};c.VERSION="3.2.0",c.DEFAULTS={loadingText:"loading..."},c.prototype.setState=function(b){var
 
c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",null==f.resetText&("resetText",d[e]()),d[e](null==f[b]?this.options[b]:f[b]),setTimeout(a.proxy(function(){"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c))},this),0)},c.prototype.toggle=function(){var
 a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var 
c=this.$element.find("input");"radio"==c.prop("type")&&(c.prop("checked")&$element.hasClass("active")?a=!1:b.find(".active").removeClass("active")),a&("checked",!this.$element.hasClass("active")).trigger("change")}a&$element.toggleClass("active")};var
 
d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function(){return
 a.fn.button=d,this},a(document).on("clic
 k.bs.button.data-api",'[data-toggle^="button"]',function(c){var 
d=a(c.target);d.hasClass("btn")||(d=d.closest(".btn")),b.call(d,"toggle"),c.preventDefault()})}(jQuery),+function(a){"use
 strict";function b(b){return this.each(function(){var 
d=a(this),e=d.data("bs.carousel"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof
 b&),g="string"==typeof b?b:f.slide;e||d.data("bs.carousel",e=new 
c(this,f)),"number"==typeof 
b?e.to(b):g?e[g]():f.interval&().cycle()})}var 
c=function(b,c){this.$element=a(b).on("keydown.bs.carousel",a.proxy(this.keydown,this)),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))};c.VERSION="3.2.0",c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},c.prototype.keydown=function(a){switch(a.which){case
 37:this.prev();brea
 k;case 
39:this.next();break;default:return}a.preventDefault()},c.prototype.cycle=function(b){return
 
b||(this.paused=!1),this.interval&(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(a){return
 

svn commit: r1827380 [3/12] - in /phoenix/site: publish/hbasecon-phoenixcon-2018/ publish/hbasecon-phoenixcon-2018/css/ publish/hbasecon-phoenixcon-2018/css/font-awesome/ publish/hbasecon-phoenixcon-2

2018-03-20 Thread elserj
Added: 
phoenix/site/publish/hbasecon-phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.ttf
URL: 
http://svn.apache.org/viewvc/phoenix/site/publish/hbasecon-phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.ttf?rev=1827380=auto
==
Binary file - no diff available.

Propchange: 
phoenix/site/publish/hbasecon-phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.ttf
--
svn:mime-type = application/octet-stream

Added: 
phoenix/site/publish/hbasecon-phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.woff
URL: 
http://svn.apache.org/viewvc/phoenix/site/publish/hbasecon-phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.woff?rev=1827380=auto
==
Binary file - no diff available.

Propchange: 
phoenix/site/publish/hbasecon-phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.woff
--
svn:mime-type = application/octet-stream

Added: phoenix/site/publish/hbasecon-phoenixcon-2018/feed.xml
URL: 
http://svn.apache.org/viewvc/phoenix/site/publish/hbasecon-phoenixcon-2018/feed.xml?rev=1827380=auto
==
--- phoenix/site/publish/hbasecon-phoenixcon-2018/feed.xml (added)
+++ phoenix/site/publish/hbasecon-phoenixcon-2018/feed.xml Wed Mar 21 02:24:57 
2018
@@ -0,0 +1,22 @@
+
+
+http://www.w3.org/2005/Atom; >
+  https://jekyllrb.com/; version="3.7.3">Jekyll
+  https://hbase.apache.org/hbasecon-phoenixcon//hbasecon-phoenixcon-2018/feed.xml;
 rel="self" type="application/atom+xml" />
+  https://hbase.apache.org/hbasecon-phoenixcon//hbasecon-phoenixcon-2018/; 
rel="alternate" type="text/html" />
+  2018-03-20T22:18:10-04:00
+  
https://hbase.apache.org/hbasecon-phoenixcon//hbasecon-phoenixcon-2018/
+
+  
+HBaseCon+PhoenixCon 2018
+  
+
+  
+HBaseCon+PhoenixCon 2018
+  
+
+  
+
+  
+  
+

Added: phoenix/site/publish/hbasecon-phoenixcon-2018/img/profile.png
URL: 
http://svn.apache.org/viewvc/phoenix/site/publish/hbasecon-phoenixcon-2018/img/profile.png?rev=1827380=auto
==
Binary file - no diff available.

Propchange: phoenix/site/publish/hbasecon-phoenixcon-2018/img/profile.png
--
svn:mime-type = application/octet-stream

Added: phoenix/site/publish/hbasecon-phoenixcon-2018/img/profile2.png
URL: 
http://svn.apache.org/viewvc/phoenix/site/publish/hbasecon-phoenixcon-2018/img/profile2.png?rev=1827380=auto
==
Binary file - no diff available.

Propchange: phoenix/site/publish/hbasecon-phoenixcon-2018/img/profile2.png
--
svn:mime-type = application/octet-stream

Added: phoenix/site/publish/hbasecon-phoenixcon-2018/img/sponsors/asf.png
URL: 
http://svn.apache.org/viewvc/phoenix/site/publish/hbasecon-phoenixcon-2018/img/sponsors/asf.png?rev=1827380=auto
==
Binary file - no diff available.

Propchange: phoenix/site/publish/hbasecon-phoenixcon-2018/img/sponsors/asf.png
--
svn:mime-type = application/octet-stream

Added: 
phoenix/site/publish/hbasecon-phoenixcon-2018/img/sponsors/hortonworks.svg
URL: 
http://svn.apache.org/viewvc/phoenix/site/publish/hbasecon-phoenixcon-2018/img/sponsors/hortonworks.svg?rev=1827380=auto
==
--- phoenix/site/publish/hbasecon-phoenixcon-2018/img/sponsors/hortonworks.svg 
(added)
+++ phoenix/site/publish/hbasecon-phoenixcon-2018/img/sponsors/hortonworks.svg 
Wed Mar 21 02:24:57 2018
@@ -0,0 +1 @@
+http://www.w3.org/2000/svg; 
xmlns:xlink="http://www.w3.org/1999/xlink; viewBox="0 0 429.67 
149.28">ui_logo
\ No newline at end of file

Added: phoenix/site/publish/hbasecon-phoenixcon-2018/index.html
URL: 
http://svn.apache.org/viewvc/phoenix/site/publish/hbasecon-phoenixcon-2018/index.html?rev=1827380=auto
==
--- phoenix/site/publish/hbasecon-phoenixcon-2018/index.html (added)
+++ phoenix/site/publish/hbasecon-phoenixcon-2018/index.html Wed Mar 21 
02:24:57 2018
@@ -0,0 +1,296 @@
+
+
+
+
+
+HBaseCon+PhoenixCon 2018
+
+
+
+
+https://hbase.apache.org/hbasecon-phoenixcon//;>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+   
+
+
+
+
+
+Toggle 

svn commit: r1827380 [8/12] - in /phoenix/site: publish/hbasecon-phoenixcon-2018/ publish/hbasecon-phoenixcon-2018/css/ publish/hbasecon-phoenixcon-2018/css/font-awesome/ publish/hbasecon-phoenixcon-2

2018-03-20 Thread elserj
Added: 
phoenix/site/source/src/site/resources/hbasecon-phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.svg
URL: 
http://svn.apache.org/viewvc/phoenix/site/source/src/site/resources/hbasecon-phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.svg?rev=1827380=auto
==
--- 
phoenix/site/source/src/site/resources/hbasecon-phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.svg
 (added)
+++ 
phoenix/site/source/src/site/resources/hbasecon-phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.svg
 Wed Mar 21 02:24:57 2018
@@ -0,0 +1,504 @@
+
+http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd; >
+http://www.w3.org/2000/svg;>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

[... 308 lines stripped ...]



svn commit: r1827380 [9/12] - in /phoenix/site: publish/hbasecon-phoenixcon-2018/ publish/hbasecon-phoenixcon-2018/css/ publish/hbasecon-phoenixcon-2018/css/font-awesome/ publish/hbasecon-phoenixcon-2

2018-03-20 Thread elserj
Propchange: 
phoenix/site/source/src/site/resources/hbasecon-phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.svg
--
svn:executable = *

Added: 
phoenix/site/source/src/site/resources/hbasecon-phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.ttf
URL: 
http://svn.apache.org/viewvc/phoenix/site/source/src/site/resources/hbasecon-phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.ttf?rev=1827380=auto
==
Binary file - no diff available.

Propchange: 
phoenix/site/source/src/site/resources/hbasecon-phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.ttf
--
svn:executable = *

Propchange: 
phoenix/site/source/src/site/resources/hbasecon-phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.ttf
--
svn:mime-type = application/octet-stream

Added: 
phoenix/site/source/src/site/resources/hbasecon-phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.woff
URL: 
http://svn.apache.org/viewvc/phoenix/site/source/src/site/resources/hbasecon-phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.woff?rev=1827380=auto
==
Binary file - no diff available.

Propchange: 
phoenix/site/source/src/site/resources/hbasecon-phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.woff
--
svn:executable = *

Propchange: 
phoenix/site/source/src/site/resources/hbasecon-phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.woff
--
svn:mime-type = application/octet-stream

Added: phoenix/site/source/src/site/resources/hbasecon-phoenixcon-2018/feed.xml
URL: 
http://svn.apache.org/viewvc/phoenix/site/source/src/site/resources/hbasecon-phoenixcon-2018/feed.xml?rev=1827380=auto
==
--- phoenix/site/source/src/site/resources/hbasecon-phoenixcon-2018/feed.xml 
(added)
+++ phoenix/site/source/src/site/resources/hbasecon-phoenixcon-2018/feed.xml 
Wed Mar 21 02:24:57 2018
@@ -0,0 +1,22 @@
+
+
+http://www.w3.org/2005/Atom; >
+  https://jekyllrb.com/; version="3.7.3">Jekyll
+  https://hbase.apache.org/hbasecon-phoenixcon//hbasecon-phoenixcon-2018/feed.xml;
 rel="self" type="application/atom+xml" />
+  https://hbase.apache.org/hbasecon-phoenixcon//hbasecon-phoenixcon-2018/; 
rel="alternate" type="text/html" />
+  2018-03-20T22:18:10-04:00
+  
https://hbase.apache.org/hbasecon-phoenixcon//hbasecon-phoenixcon-2018/
+
+  
+HBaseCon+PhoenixCon 2018
+  
+
+  
+HBaseCon+PhoenixCon 2018
+  
+
+  
+
+  
+  
+

Added: 
phoenix/site/source/src/site/resources/hbasecon-phoenixcon-2018/img/profile.png
URL: 
http://svn.apache.org/viewvc/phoenix/site/source/src/site/resources/hbasecon-phoenixcon-2018/img/profile.png?rev=1827380=auto
==
Binary file - no diff available.

Propchange: 
phoenix/site/source/src/site/resources/hbasecon-phoenixcon-2018/img/profile.png
--
svn:executable = *

Propchange: 
phoenix/site/source/src/site/resources/hbasecon-phoenixcon-2018/img/profile.png
--
svn:mime-type = application/octet-stream

Added: 
phoenix/site/source/src/site/resources/hbasecon-phoenixcon-2018/img/profile2.png
URL: 
http://svn.apache.org/viewvc/phoenix/site/source/src/site/resources/hbasecon-phoenixcon-2018/img/profile2.png?rev=1827380=auto
==
Binary file - no diff available.

Propchange: 
phoenix/site/source/src/site/resources/hbasecon-phoenixcon-2018/img/profile2.png
--
svn:mime-type = application/octet-stream

Added: 
phoenix/site/source/src/site/resources/hbasecon-phoenixcon-2018/img/sponsors/asf.png
URL: 
http://svn.apache.org/viewvc/phoenix/site/source/src/site/resources/hbasecon-phoenixcon-2018/img/sponsors/asf.png?rev=1827380=auto
==
Binary file - no diff available.

Propchange: 
phoenix/site/source/src/site/resources/hbasecon-phoenixcon-2018/img/sponsors/asf.png
--
svn:mime-type = application/octet-stream

Added: 
phoenix/site/source/src/site/resources/hbasecon-phoenixcon-2018/img/sponsors/hortonworks.svg
URL: 

svn commit: r1827380 [4/12] - in /phoenix/site: publish/hbasecon-phoenixcon-2018/ publish/hbasecon-phoenixcon-2018/css/ publish/hbasecon-phoenixcon-2018/css/font-awesome/ publish/hbasecon-phoenixcon-2

2018-03-20 Thread elserj
Added: phoenix/site/publish/hbasecon-phoenixcon-2018/js/bootstrap.js
URL: 
http://svn.apache.org/viewvc/phoenix/site/publish/hbasecon-phoenixcon-2018/js/bootstrap.js?rev=1827380=auto
==
--- phoenix/site/publish/hbasecon-phoenixcon-2018/js/bootstrap.js (added)
+++ phoenix/site/publish/hbasecon-phoenixcon-2018/js/bootstrap.js Wed Mar 21 
02:24:57 2018
@@ -0,0 +1,2114 @@
+/*!
+ * Bootstrap v3.2.0 (http://getbootstrap.com)
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ */
+
+if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript 
requires jQuery') }
+
+/* 
+ * Bootstrap: transition.js v3.2.0
+ * http://getbootstrap.com/javascript/#transitions
+ * 
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ *  */
+
+
++function ($) {
+  'use strict';
+
+  // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
+  // 
+
+  function transitionEnd() {
+var el = document.createElement('bootstrap')
+
+var transEndEventNames = {
+  WebkitTransition : 'webkitTransitionEnd',
+  MozTransition: 'transitionend',
+  OTransition  : 'oTransitionEnd otransitionend',
+  transition   : 'transitionend'
+}
+
+for (var name in transEndEventNames) {
+  if (el.style[name] !== undefined) {
+return { end: transEndEventNames[name] }
+  }
+}
+
+return false // explicit for ie8 (  ._.)
+  }
+
+  // http://blog.alexmaccaw.com/css-transitions
+  $.fn.emulateTransitionEnd = function (duration) {
+var called = false
+var $el = this
+$(this).one('bsTransitionEnd', function () { called = true })
+var callback = function () { if (!called) 
$($el).trigger($.support.transition.end) }
+setTimeout(callback, duration)
+return this
+  }
+
+  $(function () {
+$.support.transition = transitionEnd()
+
+if (!$.support.transition) return
+
+$.event.special.bsTransitionEnd = {
+  bindType: $.support.transition.end,
+  delegateType: $.support.transition.end,
+  handle: function (e) {
+if ($(e.target).is(this)) return e.handleObj.handler.apply(this, 
arguments)
+  }
+}
+  })
+
+}(jQuery);
+
+/* 
+ * Bootstrap: alert.js v3.2.0
+ * http://getbootstrap.com/javascript/#alerts
+ * 
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ *  */
+
+
++function ($) {
+  'use strict';
+
+  // ALERT CLASS DEFINITION
+  // ==
+
+  var dismiss = '[data-dismiss="alert"]'
+  var Alert   = function (el) {
+$(el).on('click', dismiss, this.close)
+  }
+
+  Alert.VERSION = '3.2.0'
+
+  Alert.prototype.close = function (e) {
+var $this= $(this)
+var selector = $this.attr('data-target')
+
+if (!selector) {
+  selector = $this.attr('href')
+  selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip 
for ie7
+}
+
+var $parent = $(selector)
+
+if (e) e.preventDefault()
+
+if (!$parent.length) {
+  $parent = $this.hasClass('alert') ? $this : $this.parent()
+}
+
+$parent.trigger(e = $.Event('close.bs.alert'))
+
+if (e.isDefaultPrevented()) return
+
+$parent.removeClass('in')
+
+function removeElement() {
+  // detach from parent, fire event then clean up data
+  $parent.detach().trigger('closed.bs.alert').remove()
+}
+
+$.support.transition && $parent.hasClass('fade') ?
+  $parent
+.one('bsTransitionEnd', removeElement)
+.emulateTransitionEnd(150) :
+  removeElement()
+  }
+
+
+  // ALERT PLUGIN DEFINITION
+  // ===
+
+  function Plugin(option) {
+return this.each(function () {
+  var $this = $(this)
+  var data  = $this.data('bs.alert')
+
+  if (!data) $this.data('bs.alert', (data = new Alert(this)))
+  if (typeof option == 'string') data[option].call($this)
+})
+  }
+
+  var old = $.fn.alert
+
+  $.fn.alert = Plugin
+  $.fn.alert.Constructor = Alert
+
+
+  // ALERT NO CONFLICT
+  // =
+
+  $.fn.alert.noConflict = function () {
+$.fn.alert = old
+return this
+  }
+
+
+  // ALERT DATA-API
+  // ==
+
+  $(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close)
+
+}(jQuery);
+
+/* 

svn commit: r1827380 [2/12] - in /phoenix/site: publish/hbasecon-phoenixcon-2018/ publish/hbasecon-phoenixcon-2018/css/ publish/hbasecon-phoenixcon-2018/css/font-awesome/ publish/hbasecon-phoenixcon-2

2018-03-20 Thread elserj
Added: 
phoenix/site/publish/hbasecon-phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.svg
URL: 
http://svn.apache.org/viewvc/phoenix/site/publish/hbasecon-phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.svg?rev=1827380=auto
==
--- 
phoenix/site/publish/hbasecon-phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.svg
 (added)
+++ 
phoenix/site/publish/hbasecon-phoenixcon-2018/css/font-awesome/fonts/fontawesome-webfont.svg
 Wed Mar 21 02:24:57 2018
@@ -0,0 +1,504 @@
+
+http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd; >
+http://www.w3.org/2000/svg;>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

[... 308 lines stripped ...]



svn commit: r1827380 [6/12] - in /phoenix/site: publish/hbasecon-phoenixcon-2018/ publish/hbasecon-phoenixcon-2018/css/ publish/hbasecon-phoenixcon-2018/css/font-awesome/ publish/hbasecon-phoenixcon-2

2018-03-20 Thread elserj
Added: phoenix/site/publish/hbasecon-phoenixcon-2018/js/jquery-1.11.0.js
URL: 
http://svn.apache.org/viewvc/phoenix/site/publish/hbasecon-phoenixcon-2018/js/jquery-1.11.0.js?rev=1827380=auto
==
--- phoenix/site/publish/hbasecon-phoenixcon-2018/js/jquery-1.11.0.js (added)
+++ phoenix/site/publish/hbasecon-phoenixcon-2018/js/jquery-1.11.0.js Wed Mar 
21 02:24:57 2018
@@ -0,0 +1,4 @@
+/*! jQuery v1.11.0 | (c) 2005, 2014 jQuery Foundation, Inc. | 
jquery.org/license */
+!function(a,b){"object"==typeof module&&"object"==typeof 
module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw
 new Error("jQuery requires a window with a document");return 
b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var 
c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k="".trim,l={},m="1.11.0",n=function(a,b){return
 new 
n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,b){return
 
b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",length:0,toArray:function(){return
 d.call(this)},get:function(a){return 
null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var 
b=n.merge(this.constructor(),a);return 
b.prevObject=this,b.context=this.context,b},each:function(a,b){return 
n.each(this,a,b)},map:function(a){return 
this.pushStack(n.map(this,function(b,c){return 
a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(th
 is,arguments))},first:function(){return this.eq(0)},last:function(){return 
this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return 
this.pushStack(c>=0&>c?[this[c]]:[])},end:function(){return 
this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},n.extend=n.fn.extend=function(){var
 
a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof
 g&&(j=g,g=arguments[h]||{},h++),"object"==typeof 
g||n.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(e=arguments[h]))for(d
 in 
e)a=g[d],c=e[d],g!==c&&(j&&&(n.isPlainObject(c)||(b=n.isArray(c)))?(b?(b=!1,f=a&(a)?a:[]):f=a&(a)?a:{},g[d]=n.extend(j,f,c)):void
 0!==c&&(g[d]=c));return 
g},n.extend({expando:"jQuery"+(m+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw
 new 
Error(a)},noop:function(){},isFunction:function(a){return"function"===n.type(a)},isArray:Array.isArray||function(a){return"array"===n.type(a)},isWindow:function(a){return
 n
 ull!=a&==a.window},isNumeric:function(a){return 
a-parseFloat(a)>=0},isEmptyObject:function(a){var b;for(b in 
a)return!1;return!0},isPlainObject:function(a){var 
b;if(!a||"object"!==n.type(a)||a.nodeType||n.isWindow(a))return!1;try{if(a.constructor&&!j.call(a,"constructor")&&!j.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}if(l.ownLast)for(b
 in a)return j.call(a,b);for(b in a);return void 
0===b||j.call(a,b)},type:function(a){return null==a?a+"":"object"==typeof 
a||"function"==typeof a?h[i.call(a)]||"object":typeof 
a},globalEval:function(b){b&(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return
 a.replace(p,"ms-").replace(q,r)},nodeName:function(a,b){return 
a.nodeName&()===b.toLowerCase()},each:function(a,b,c){var
 
d,e=0,f=a.length,g=s(a);if(c){if(g){for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)break}else
 for(e in a)if(d=b.apply(a[e],c),d===!1)break}else 
if(g){for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!
 1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return 
a},trim:k&&!k.call("\ufeff\xa0")?function(a){return 
null==a?"":k.call(a)}:function(a){return 
null==a?"":(a+"").replace(o,"")},makeArray:function(a,b){var c=b||[];return 
null!=a&&(s(Object(a))?n.merge(c,"string"==typeof 
a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){var d;if(b){if(g)return 
g.call(b,a,c);for(d=b.length,c=c?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in 
b&[c]===a)return c}return-1},merge:function(a,b){var 
c=+b.length,d=0,e=a.length;while(c>d)a[e++]=b[d++];if(c!==c)while(void 
0!==b[d])a[e++]=b[d++];return a.length=e,a},grep:function(a,b,c){for(var 
d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&(a[f]);return 
e},map:function(a,b,c){var 
d,f=0,g=a.length,h=s(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&(d);else
 for(f in a)d=b(a[f],f,c),null!=d&(d);return 
e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return"string"==typeof 
b&&(f=a[b],b=a,a=f),n.isFunction(a)?(c=d.call(argum
 ents,2),e=function(){return 
a.apply(b||this,c.concat(d.call(arguments)))},e.guid=a.guid=a.guid||n.guid++,e):void
 0},now:function(){return+new Date},support:l}),n.each("Boolean Number String 
Function Array Date RegExp Object Error".split(" "),function(a,b){h["[object 
"+b+"]"]=b.toLowerCase()});function s(a){var 
b=a.length,c=n.type(a);return"function"===c||n.isWindow(a)?!1:1===a.nodeType&?!0:"array"===c||0===b||"number"==typeof
 b&>0& in a}var t=function(a){var 

Build failed in Jenkins: Phoenix-4.x-HBase-1.3 #67

2018-03-20 Thread Apache Jenkins Server
See 


Changes:

[elserj] PHOENIX-4661 Handled deleted PTables in the MetadataCache

--
[...truncated 153.77 KB...]
at 
org.apache.hadoop.hbase.regionserver.RSRpcServices.execServiceOnRegion(RSRpcServices.java:2068)
at 
org.apache.hadoop.hbase.regionserver.RSRpcServices.execService(RSRpcServices.java:2050)
at 
org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:34954)
at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2339)
at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:123)
at 
org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:188)
at 
org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:168)

Caused by: org.apache.hadoop.hbase.ipc.RemoteWithExtrasException: 
org.apache.hadoop.hbase.security.AccessDeniedException: Insufficient 
permissions  (user=regularUser2, scope=CHANGEPERMSSCHEMA:CHANGEPERMISSIONSIT, 
actions=[EXEC, READ])
at 
org.apache.phoenix.coprocessor.PhoenixAccessController.requireAccess(PhoenixAccessController.java:494)
at 
org.apache.phoenix.coprocessor.PhoenixAccessController.preGetTable(PhoenixAccessController.java:104)
at 
org.apache.phoenix.coprocessor.PhoenixMetaDataCoprocessorHost$1.call(PhoenixMetaDataCoprocessorHost.java:155)
at 
org.apache.phoenix.coprocessor.PhoenixMetaDataCoprocessorHost.execOperation(PhoenixMetaDataCoprocessorHost.java:80)
at 
org.apache.phoenix.coprocessor.PhoenixMetaDataCoprocessorHost.preGetTable(PhoenixMetaDataCoprocessorHost.java:151)
at 
org.apache.phoenix.coprocessor.MetaDataEndpointImpl.getTable(MetaDataEndpointImpl.java:551)
at 
org.apache.phoenix.coprocessor.generated.MetaDataProtos$MetaDataService.callMethod(MetaDataProtos.java:16267)
at 
org.apache.hadoop.hbase.regionserver.HRegion.execService(HRegion.java:8086)
at 
org.apache.hadoop.hbase.regionserver.RSRpcServices.execServiceOnRegion(RSRpcServices.java:2068)
at 
org.apache.hadoop.hbase.regionserver.RSRpcServices.execService(RSRpcServices.java:2050)
at 
org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:34954)
at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2339)
at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:123)
at 
org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:188)
at 
org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:168)


[INFO] Running org.apache.phoenix.end2end.SpillableGroupByIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 28.509 s 
- in org.apache.phoenix.end2end.RenewLeaseIT
[INFO] Running 
org.apache.phoenix.end2end.SysTableNamespaceMappedStatsCollectorIT
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.957 s 
- in org.apache.phoenix.end2end.SpillableGroupByIT
[INFO] Running org.apache.phoenix.end2end.TableSnapshotReadsMapReduceIT
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 98.257 
s - in org.apache.phoenix.end2end.RegexBulkLoadToolIT
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 29.443 s 
- in org.apache.phoenix.end2end.TableSnapshotReadsMapReduceIT
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 126.655 
s <<< FAILURE! - in org.apache.phoenix.end2end.SystemTablePermissionsIT
[ERROR] 
testSystemTablePermissions[isNamespaceMapped=false](org.apache.phoenix.end2end.SystemTablePermissionsIT)
  Time elapsed: 65.783 s  <<< ERROR!
java.lang.reflect.UndeclaredThrowableException
at 
org.apache.phoenix.end2end.SystemTablePermissionsIT.testSystemTablePermissions(SystemTablePermissionsIT.java:86)
Caused by: org.apache.phoenix.exception.PhoenixIOException: 
org.apache.hadoop.hbase.security.AccessDeniedException: Insufficient 
permissions  (user=regularUser1, scope=default:SYSTEMTABLEPERMISSIONSIT, 
actions=[READ, EXEC])
at 
org.apache.phoenix.coprocessor.PhoenixAccessController.requireAccess(PhoenixAccessController.java:494)
at 
org.apache.phoenix.coprocessor.PhoenixAccessController.preGetTable(PhoenixAccessController.java:104)
at 
org.apache.phoenix.coprocessor.PhoenixMetaDataCoprocessorHost$1.call(PhoenixMetaDataCoprocessorHost.java:155)
at 
org.apache.phoenix.coprocessor.PhoenixMetaDataCoprocessorHost.execOperation(PhoenixMetaDataCoprocessorHost.java:80)
at 
org.apache.phoenix.coprocessor.PhoenixMetaDataCoprocessorHost.preGetTable(PhoenixMetaDataCoprocessorHost.java:151)
at 
org.apache.phoenix.coprocessor.MetaDataEndpointImpl.getTable(MetaDataEndpointImpl.java:551)
at 

Build failed in Jenkins: Phoenix-4.x-HBase-1.2 #297

2018-03-20 Thread Apache Jenkins Server
See 


Changes:

[elserj] PHOENIX-4661 Handled deleted PTables in the MetadataCache

--
[...truncated 210.54 KB...]
at 
org.apache.hadoop.hbase.regionserver.RSRpcServices.execService(RSRpcServices.java:1990)
at 
org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:33652)
at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2188)
at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:112)
at 
org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:133)
at org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:108)
at java.lang.Thread.run(Thread.java:745)

at 
org.apache.phoenix.end2end.SystemTablePermissionsIT.testSystemTablePermissions(SystemTablePermissionsIT.java:86)
Caused by: org.apache.hadoop.hbase.security.AccessDeniedException: 
org.apache.hadoop.hbase.security.AccessDeniedException: Insufficient 
permissions  (user=regularUser1, scope=default:SYSTEMTABLEPERMISSIONSIT, 
actions=[READ, EXEC])
at 
org.apache.phoenix.coprocessor.PhoenixAccessController.requireAccess(PhoenixAccessController.java:494)
at 
org.apache.phoenix.coprocessor.PhoenixAccessController.preGetTable(PhoenixAccessController.java:104)
at 
org.apache.phoenix.coprocessor.PhoenixMetaDataCoprocessorHost$1.call(PhoenixMetaDataCoprocessorHost.java:155)
at 
org.apache.phoenix.coprocessor.PhoenixMetaDataCoprocessorHost.execOperation(PhoenixMetaDataCoprocessorHost.java:80)
at 
org.apache.phoenix.coprocessor.PhoenixMetaDataCoprocessorHost.preGetTable(PhoenixMetaDataCoprocessorHost.java:151)
at 
org.apache.phoenix.coprocessor.MetaDataEndpointImpl.getTable(MetaDataEndpointImpl.java:551)
at 
org.apache.phoenix.coprocessor.generated.MetaDataProtos$MetaDataService.callMethod(MetaDataProtos.java:16267)
at 
org.apache.hadoop.hbase.regionserver.HRegion.execService(HRegion.java:7873)
at 
org.apache.hadoop.hbase.regionserver.RSRpcServices.execServiceOnRegion(RSRpcServices.java:2008)
at 
org.apache.hadoop.hbase.regionserver.RSRpcServices.execService(RSRpcServices.java:1990)
at 
org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:33652)
at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2188)
at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:112)
at 
org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:133)
at org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:108)
at java.lang.Thread.run(Thread.java:745)

Caused by: org.apache.hadoop.hbase.ipc.RemoteWithExtrasException: 
org.apache.hadoop.hbase.security.AccessDeniedException: Insufficient 
permissions  (user=regularUser1, scope=default:SYSTEMTABLEPERMISSIONSIT, 
actions=[READ, EXEC])
at 
org.apache.phoenix.coprocessor.PhoenixAccessController.requireAccess(PhoenixAccessController.java:494)
at 
org.apache.phoenix.coprocessor.PhoenixAccessController.preGetTable(PhoenixAccessController.java:104)
at 
org.apache.phoenix.coprocessor.PhoenixMetaDataCoprocessorHost$1.call(PhoenixMetaDataCoprocessorHost.java:155)
at 
org.apache.phoenix.coprocessor.PhoenixMetaDataCoprocessorHost.execOperation(PhoenixMetaDataCoprocessorHost.java:80)
at 
org.apache.phoenix.coprocessor.PhoenixMetaDataCoprocessorHost.preGetTable(PhoenixMetaDataCoprocessorHost.java:151)
at 
org.apache.phoenix.coprocessor.MetaDataEndpointImpl.getTable(MetaDataEndpointImpl.java:551)
at 
org.apache.phoenix.coprocessor.generated.MetaDataProtos$MetaDataService.callMethod(MetaDataProtos.java:16267)
at 
org.apache.hadoop.hbase.regionserver.HRegion.execService(HRegion.java:7873)
at 
org.apache.hadoop.hbase.regionserver.RSRpcServices.execServiceOnRegion(RSRpcServices.java:2008)
at 
org.apache.hadoop.hbase.regionserver.RSRpcServices.execService(RSRpcServices.java:1990)
at 
org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:33652)
at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2188)
at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:112)
at 
org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:133)
at org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:108)
at java.lang.Thread.run(Thread.java:745)


[ERROR] 
testSystemTablePermissions[isNamespaceMapped=true](org.apache.phoenix.end2end.SystemTablePermissionsIT)
  Time elapsed: 36.288 s  <<< ERROR!
java.lang.reflect.UndeclaredThrowableException
at 
org.apache.phoenix.end2end.SystemTablePermissionsIT.testSystemTablePermissions(SystemTablePermissionsIT.java:86)

Build failed in Jenkins: Phoenix | Master #1964

2018-03-20 Thread Apache Jenkins Server
See 


Changes:

[elserj] PHOENIX-4661 Handled deleted PTables in the MetadataCache

--
[...truncated 163.32 KB...]
at 
org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:36617)
at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2352)
at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:124)
at 
org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:297)
at 
org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:277)

Caused by: org.apache.hadoop.hbase.ipc.RemoteWithExtrasException: 
org.apache.hadoop.hbase.security.AccessDeniedException: Insufficient 
permissions  (user=regularUser1, scope=default:SYSTEMTABLEPERMISSIONSIT, 
actions=[READ, EXEC])
at 
org.apache.phoenix.coprocessor.PhoenixAccessController.requireAccess(PhoenixAccessController.java:495)
at 
org.apache.phoenix.coprocessor.PhoenixAccessController.preGetTable(PhoenixAccessController.java:104)
at 
org.apache.phoenix.coprocessor.PhoenixMetaDataCoprocessorHost$1.call(PhoenixMetaDataCoprocessorHost.java:161)
at 
org.apache.phoenix.coprocessor.PhoenixMetaDataCoprocessorHost.execOperation(PhoenixMetaDataCoprocessorHost.java:81)
at 
org.apache.phoenix.coprocessor.PhoenixMetaDataCoprocessorHost.preGetTable(PhoenixMetaDataCoprocessorHost.java:157)
at 
org.apache.phoenix.coprocessor.MetaDataEndpointImpl.getTable(MetaDataEndpointImpl.java:551)
at 
org.apache.phoenix.coprocessor.generated.MetaDataProtos$MetaDataService.callMethod(MetaDataProtos.java:16267)
at 
org.apache.hadoop.hbase.regionserver.HRegion.execService(HRegion.java:8356)
at 
org.apache.hadoop.hbase.regionserver.RSRpcServices.execServiceOnRegion(RSRpcServices.java:2188)
at 
org.apache.hadoop.hbase.regionserver.RSRpcServices.execService(RSRpcServices.java:2170)
at 
org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:36617)
at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2352)
at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:124)
at 
org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:297)
at 
org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:277)


[ERROR] 
testSystemTablePermissions[isNamespaceMapped=true](org.apache.phoenix.end2end.SystemTablePermissionsIT)
  Time elapsed: 47.557 s  <<< ERROR!
java.lang.reflect.UndeclaredThrowableException
at 
org.apache.phoenix.end2end.SystemTablePermissionsIT.testSystemTablePermissions(SystemTablePermissionsIT.java:86)
Caused by: org.apache.phoenix.exception.PhoenixIOException: 
org.apache.hadoop.hbase.security.AccessDeniedException: Insufficient 
permissions  (user=regularUser1, scope=default:SYSTEMTABLEPERMISSIONSIT, 
actions=[READ, EXEC])
at 
org.apache.phoenix.coprocessor.PhoenixAccessController.requireAccess(PhoenixAccessController.java:495)
at 
org.apache.phoenix.coprocessor.PhoenixAccessController.preGetTable(PhoenixAccessController.java:104)
at 
org.apache.phoenix.coprocessor.PhoenixMetaDataCoprocessorHost$1.call(PhoenixMetaDataCoprocessorHost.java:161)
at 
org.apache.phoenix.coprocessor.PhoenixMetaDataCoprocessorHost.execOperation(PhoenixMetaDataCoprocessorHost.java:81)
at 
org.apache.phoenix.coprocessor.PhoenixMetaDataCoprocessorHost.preGetTable(PhoenixMetaDataCoprocessorHost.java:157)
at 
org.apache.phoenix.coprocessor.MetaDataEndpointImpl.getTable(MetaDataEndpointImpl.java:551)
at 
org.apache.phoenix.coprocessor.generated.MetaDataProtos$MetaDataService.callMethod(MetaDataProtos.java:16267)
at 
org.apache.hadoop.hbase.regionserver.HRegion.execService(HRegion.java:8356)
at 
org.apache.hadoop.hbase.regionserver.RSRpcServices.execServiceOnRegion(RSRpcServices.java:2188)
at 
org.apache.hadoop.hbase.regionserver.RSRpcServices.execService(RSRpcServices.java:2170)
at 
org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:36617)
at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2352)
at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:124)
at 
org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:297)
at 
org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:277)

at 
org.apache.phoenix.end2end.SystemTablePermissionsIT.testSystemTablePermissions(SystemTablePermissionsIT.java:86)
Caused by: org.apache.hadoop.hbase.security.AccessDeniedException: 
org.apache.hadoop.hbase.security.AccessDeniedException: Insufficient 
permissions  (user=regularUser1, scope=default:SYSTEMTABLEPERMISSIONSIT, 
actions=[READ, EXEC])
at 

[2/4] phoenix git commit: PHOENIX-4661 Handled deleted PTables in the MetadataCache

2018-03-20 Thread elserj
PHOENIX-4661 Handled deleted PTables in the MetadataCache

Signed-off-by: Josh Elser 
Signed-off-by: Sergey Soldatov 


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/e9324cc8
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/e9324cc8
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/e9324cc8

Branch: refs/heads/master
Commit: e9324cc811e8763f81475af15c46fd739dec26a4
Parents: b6e33f3
Author: Ankit Singhal 
Authored: Tue Mar 20 14:54:05 2018 -0400
Committer: Josh Elser 
Committed: Tue Mar 20 17:57:16 2018 -0400

--
 .../org/apache/phoenix/end2end/DropTableIT.java | 43 
 .../coprocessor/MetaDataEndpointImpl.java   | 33 ---
 .../coprocessor/PhoenixAccessController.java|  8 +---
 3 files changed, 64 insertions(+), 20 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/e9324cc8/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableIT.java
new file mode 100644
index 000..823605d
--- /dev/null
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableIT.java
@@ -0,0 +1,43 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.phoenix.end2end;
+
+import static org.junit.Assert.assertFalse;
+
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.Statement;
+
+import org.junit.Test;
+
+public class DropTableIT extends ParallelStatsDisabledIT {
+
+@Test
+public void testRepeatedDropTable() throws Exception {
+  final String tableName = generateUniqueName();
+  final String url = getUrl();
+  try (final Connection conn = DriverManager.getConnection(url);
+  final Statement stmt = conn.createStatement()) {
+assertFalse(stmt.execute(String.format("CREATE TABLE %s(pk varchar not 
null primary key)", tableName)));
+String dropTable = String.format("DROP TABLE IF EXISTS %s", tableName);
+for (int i = 0; i < 5; i++) {
+  assertFalse(stmt.execute(dropTable));
+}
+  }
+}
+}

http://git-wip-us.apache.org/repos/asf/phoenix/blob/e9324cc8/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java
index 11e5e45..05ad959 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java
@@ -1293,6 +1293,13 @@ public class MetaDataEndpointImpl extends 
MetaDataProtocol implements Coprocesso
 return function.getFunctionName() == null;
 }
 
+private PTable getTable(RegionCoprocessorEnvironment env, byte[] key, 
ImmutableBytesPtr cacheKey,
+long clientTimeStamp, long asOfTimeStamp, int clientVersion) 
throws IOException, SQLException {
+PTable table = loadTable(env, key, cacheKey, clientTimeStamp, 
asOfTimeStamp, clientVersion);
+if (table == null || isTableDeleted(table)) { return null; }
+return table;
+}
+
 private PTable loadTable(RegionCoprocessorEnvironment env, byte[] key,
 ImmutableBytesPtr cacheKey, long clientTimeStamp, long asOfTimeStamp, 
int clientVersion)
 throws IOException, SQLException {
@@ -1464,7 +1471,7 @@ public class MetaDataEndpointImpl extends 
MetaDataProtocol implements Coprocesso
 
 parentTableKey = 
SchemaUtil.getTableKey(ByteUtil.EMPTY_BYTE_ARRAY,
 parentPhysicalSchemaTableNames[1], 

[1/4] phoenix git commit: PHOENIX-4661 Handled deleted PTables in the MetadataCache

2018-03-20 Thread elserj
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-1.2 332caa000 -> c9e46a6fc
  refs/heads/4.x-HBase-1.3 eaa6cdd2d -> a67869eba
  refs/heads/5.x-HBase-2.0 dc7e377d4 -> 7e8abb8a4
  refs/heads/master b6e33f30e -> e9324cc81


PHOENIX-4661 Handled deleted PTables in the MetadataCache

Signed-off-by: Josh Elser 
Signed-off-by: Sergey Soldatov 


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/7e8abb8a
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/7e8abb8a
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/7e8abb8a

Branch: refs/heads/5.x-HBase-2.0
Commit: 7e8abb8a45eed25988848f0cda0f5ce6894043a3
Parents: dc7e377
Author: Ankit Singhal 
Authored: Tue Mar 20 14:54:05 2018 -0400
Committer: Josh Elser 
Committed: Tue Mar 20 17:32:59 2018 -0400

--
 .../org/apache/phoenix/end2end/DropTableIT.java | 43 
 .../coprocessor/MetaDataEndpointImpl.java   | 33 ---
 .../coprocessor/PhoenixAccessController.java|  8 +---
 3 files changed, 64 insertions(+), 20 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/7e8abb8a/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableIT.java
new file mode 100644
index 000..823605d
--- /dev/null
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableIT.java
@@ -0,0 +1,43 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.phoenix.end2end;
+
+import static org.junit.Assert.assertFalse;
+
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.Statement;
+
+import org.junit.Test;
+
+public class DropTableIT extends ParallelStatsDisabledIT {
+
+@Test
+public void testRepeatedDropTable() throws Exception {
+  final String tableName = generateUniqueName();
+  final String url = getUrl();
+  try (final Connection conn = DriverManager.getConnection(url);
+  final Statement stmt = conn.createStatement()) {
+assertFalse(stmt.execute(String.format("CREATE TABLE %s(pk varchar not 
null primary key)", tableName)));
+String dropTable = String.format("DROP TABLE IF EXISTS %s", tableName);
+for (int i = 0; i < 5; i++) {
+  assertFalse(stmt.execute(dropTable));
+}
+  }
+}
+}

http://git-wip-us.apache.org/repos/asf/phoenix/blob/7e8abb8a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java
index 72906b4..f09f6ee 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java
@@ -1282,6 +1282,13 @@ public class MetaDataEndpointImpl extends 
MetaDataProtocol implements RegionCopr
 return function.getFunctionName() == null;
 }
 
+private PTable getTable(RegionCoprocessorEnvironment env, byte[] key, 
ImmutableBytesPtr cacheKey,
+long clientTimeStamp, long asOfTimeStamp, int clientVersion) 
throws IOException, SQLException {
+PTable table = loadTable(env, key, cacheKey, clientTimeStamp, 
asOfTimeStamp, clientVersion);
+if (table == null || isTableDeleted(table)) { return null; }
+return table;
+}
+
 private PTable loadTable(RegionCoprocessorEnvironment env, byte[] key,
 ImmutableBytesPtr cacheKey, long clientTimeStamp, long asOfTimeStamp, 
int clientVersion)
 throws IOException, SQLException {
@@ -1453,7 +1460,7 @@ public class 

[3/4] phoenix git commit: PHOENIX-4661 Handled deleted PTables in the MetadataCache

2018-03-20 Thread elserj
PHOENIX-4661 Handled deleted PTables in the MetadataCache

Signed-off-by: Josh Elser 
Signed-off-by: Sergey Soldatov 


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/a67869eb
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/a67869eb
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/a67869eb

Branch: refs/heads/4.x-HBase-1.3
Commit: a67869eba1c934197c240ed977678275fa734f00
Parents: eaa6cdd
Author: Ankit Singhal 
Authored: Tue Mar 20 14:54:05 2018 -0400
Committer: Josh Elser 
Committed: Tue Mar 20 18:07:44 2018 -0400

--
 .../org/apache/phoenix/end2end/DropTableIT.java | 43 
 .../coprocessor/MetaDataEndpointImpl.java   | 33 ---
 .../coprocessor/PhoenixAccessController.java|  8 +---
 3 files changed, 64 insertions(+), 20 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/a67869eb/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableIT.java
new file mode 100644
index 000..823605d
--- /dev/null
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableIT.java
@@ -0,0 +1,43 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.phoenix.end2end;
+
+import static org.junit.Assert.assertFalse;
+
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.Statement;
+
+import org.junit.Test;
+
+public class DropTableIT extends ParallelStatsDisabledIT {
+
+@Test
+public void testRepeatedDropTable() throws Exception {
+  final String tableName = generateUniqueName();
+  final String url = getUrl();
+  try (final Connection conn = DriverManager.getConnection(url);
+  final Statement stmt = conn.createStatement()) {
+assertFalse(stmt.execute(String.format("CREATE TABLE %s(pk varchar not 
null primary key)", tableName)));
+String dropTable = String.format("DROP TABLE IF EXISTS %s", tableName);
+for (int i = 0; i < 5; i++) {
+  assertFalse(stmt.execute(dropTable));
+}
+  }
+}
+}

http://git-wip-us.apache.org/repos/asf/phoenix/blob/a67869eb/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java
index 11e5e45..05ad959 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java
@@ -1293,6 +1293,13 @@ public class MetaDataEndpointImpl extends 
MetaDataProtocol implements Coprocesso
 return function.getFunctionName() == null;
 }
 
+private PTable getTable(RegionCoprocessorEnvironment env, byte[] key, 
ImmutableBytesPtr cacheKey,
+long clientTimeStamp, long asOfTimeStamp, int clientVersion) 
throws IOException, SQLException {
+PTable table = loadTable(env, key, cacheKey, clientTimeStamp, 
asOfTimeStamp, clientVersion);
+if (table == null || isTableDeleted(table)) { return null; }
+return table;
+}
+
 private PTable loadTable(RegionCoprocessorEnvironment env, byte[] key,
 ImmutableBytesPtr cacheKey, long clientTimeStamp, long asOfTimeStamp, 
int clientVersion)
 throws IOException, SQLException {
@@ -1464,7 +1471,7 @@ public class MetaDataEndpointImpl extends 
MetaDataProtocol implements Coprocesso
 
 parentTableKey = 
SchemaUtil.getTableKey(ByteUtil.EMPTY_BYTE_ARRAY,
 parentPhysicalSchemaTableNames[1], 

[4/4] phoenix git commit: PHOENIX-4661 Handled deleted PTables in the MetadataCache

2018-03-20 Thread elserj
PHOENIX-4661 Handled deleted PTables in the MetadataCache

Signed-off-by: Josh Elser 
Signed-off-by: Sergey Soldatov 


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/c9e46a6f
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/c9e46a6f
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/c9e46a6f

Branch: refs/heads/4.x-HBase-1.2
Commit: c9e46a6fcd9c341185be514ef08a420f5b7f43e4
Parents: 332caa0
Author: Ankit Singhal 
Authored: Tue Mar 20 14:54:05 2018 -0400
Committer: Josh Elser 
Committed: Tue Mar 20 18:19:06 2018 -0400

--
 .../org/apache/phoenix/end2end/DropTableIT.java | 43 
 .../coprocessor/MetaDataEndpointImpl.java   | 33 ---
 .../coprocessor/PhoenixAccessController.java|  8 +---
 3 files changed, 64 insertions(+), 20 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/c9e46a6f/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableIT.java
new file mode 100644
index 000..823605d
--- /dev/null
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableIT.java
@@ -0,0 +1,43 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.phoenix.end2end;
+
+import static org.junit.Assert.assertFalse;
+
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.Statement;
+
+import org.junit.Test;
+
+public class DropTableIT extends ParallelStatsDisabledIT {
+
+@Test
+public void testRepeatedDropTable() throws Exception {
+  final String tableName = generateUniqueName();
+  final String url = getUrl();
+  try (final Connection conn = DriverManager.getConnection(url);
+  final Statement stmt = conn.createStatement()) {
+assertFalse(stmt.execute(String.format("CREATE TABLE %s(pk varchar not 
null primary key)", tableName)));
+String dropTable = String.format("DROP TABLE IF EXISTS %s", tableName);
+for (int i = 0; i < 5; i++) {
+  assertFalse(stmt.execute(dropTable));
+}
+  }
+}
+}

http://git-wip-us.apache.org/repos/asf/phoenix/blob/c9e46a6f/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java
index 11e5e45..05ad959 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java
@@ -1293,6 +1293,13 @@ public class MetaDataEndpointImpl extends 
MetaDataProtocol implements Coprocesso
 return function.getFunctionName() == null;
 }
 
+private PTable getTable(RegionCoprocessorEnvironment env, byte[] key, 
ImmutableBytesPtr cacheKey,
+long clientTimeStamp, long asOfTimeStamp, int clientVersion) 
throws IOException, SQLException {
+PTable table = loadTable(env, key, cacheKey, clientTimeStamp, 
asOfTimeStamp, clientVersion);
+if (table == null || isTableDeleted(table)) { return null; }
+return table;
+}
+
 private PTable loadTable(RegionCoprocessorEnvironment env, byte[] key,
 ImmutableBytesPtr cacheKey, long clientTimeStamp, long asOfTimeStamp, 
int clientVersion)
 throws IOException, SQLException {
@@ -1464,7 +1471,7 @@ public class MetaDataEndpointImpl extends 
MetaDataProtocol implements Coprocesso
 
 parentTableKey = 
SchemaUtil.getTableKey(ByteUtil.EMPTY_BYTE_ARRAY,
 parentPhysicalSchemaTableNames[1], 

Apache-Phoenix | 4.x-HBase-1.1 | Build Successful

2018-03-20 Thread Apache Jenkins Server
4.x-HBase-1.1 branch build status Successful

Source repository https://git-wip-us.apache.org/repos/asf?p=phoenix.git;a=shortlog;h=refs/heads/4.x-HBase-1.1

Compiled Artifacts https://builds.apache.org/job/Phoenix-4.x-HBase-1.1/lastSuccessfulBuild/artifact/

Test Report https://builds.apache.org/job/Phoenix-4.x-HBase-1.1/lastCompletedBuild/testReport/

Changes
[rajeshbabu] PHOENIX-4576 Fix LocalIndexSplitMergeIT tests failing in master branch -



Build times for last couple of runsLatest build time is the right most | Legend blue: normal, red: test failure, gray: timeout


Jenkins build is back to normal : Phoenix | 4.x-HBase-0.98 #1838

2018-03-20 Thread Apache Jenkins Server
See 




Apache-Phoenix | 4.x-HBase-1.3 | Build Successful

2018-03-20 Thread Apache Jenkins Server
4.x-HBase-1.3 branch build status Successful

Source repository https://git-wip-us.apache.org/repos/asf?p=phoenix.git;a=shortlog;h=refs/heads/4.x-HBase-1.3

Compiled Artifacts https://builds.apache.org/job/Phoenix-4.x-HBase-1.3/lastSuccessfulBuild/artifact/

Test Report https://builds.apache.org/job/Phoenix-4.x-HBase-1.3/lastCompletedBuild/testReport/

Changes
[rajeshbabu] PHOENIX-4576 Fix LocalIndexSplitMergeIT tests failing in master branch -



Build times for last couple of runsLatest build time is the right most | Legend blue: normal, red: test failure, gray: timeout


Jenkins build is back to normal : Phoenix-4.x-HBase-1.2 #295

2018-03-20 Thread Apache Jenkins Server
See 




Apache Phoenix - Timeout crawler - Build https://builds.apache.org/job/Phoenix-master/1963/

2018-03-20 Thread Apache Jenkins Server
[...truncated 54 lines...]

Build failed in Jenkins: Phoenix | Master #1963

2018-03-20 Thread Apache Jenkins Server
See 


Changes:

[rajeshbabu] PHOENIX-4576 Fix LocalIndexSplitMergeIT tests failing in master 
branch -

--
[...truncated 110.16 KB...]
[INFO] Running org.apache.phoenix.end2end.join.SortMergeJoinGlobalIndexIT
[INFO] Running org.apache.phoenix.end2end.join.HashJoinNoIndexIT
[INFO] Tests run: 40, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 343.56 
s - in org.apache.phoenix.end2end.index.LocalMutableNonTxIndexIT
[INFO] Tests run: 40, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 373.838 
s - in org.apache.phoenix.end2end.index.LocalImmutableTxIndexIT
[INFO] Running org.apache.phoenix.end2end.join.SortMergeJoinLocalIndexIT
[INFO] Running org.apache.phoenix.end2end.join.SortMergeJoinNoIndexIT
[INFO] Tests run: 40, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 370.461 
s - in org.apache.phoenix.end2end.index.LocalMutableTxIndexIT
[INFO] Running org.apache.phoenix.end2end.join.SubqueryIT
[INFO] Tests run: 33, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 209.966 
s - in org.apache.phoenix.end2end.join.HashJoinNoIndexIT
[INFO] Running org.apache.phoenix.end2end.join.SubqueryUsingSortMergeJoinIT
[INFO] Tests run: 33, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 343.17 
s - in org.apache.phoenix.end2end.join.HashJoinGlobalIndexIT
[INFO] Tests run: 72, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 546.53 
s - in org.apache.phoenix.end2end.index.MutableIndexIT
[INFO] Tests run: 34, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 203.56 
s - in org.apache.phoenix.end2end.join.SortMergeJoinNoIndexIT
[INFO] Running org.apache.phoenix.end2end.salted.SaltedTableIT
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.698 s 
- in org.apache.phoenix.end2end.salted.SaltedTableIT
[INFO] Running org.apache.phoenix.iterate.PhoenixQueryTimeoutIT
[INFO] Running org.apache.phoenix.end2end.salted.SaltedTableUpsertSelectIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.799 s 
- in org.apache.phoenix.iterate.PhoenixQueryTimeoutIT
[INFO] Running org.apache.phoenix.iterate.RoundRobinResultIteratorIT
[INFO] Running org.apache.phoenix.end2end.salted.SaltedTableVarLengthRowKeyIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.35 s - 
in org.apache.phoenix.end2end.salted.SaltedTableVarLengthRowKeyIT
[INFO] Running org.apache.phoenix.replication.SystemCatalogWALEntryFilterIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.07 s - 
in org.apache.phoenix.replication.SystemCatalogWALEntryFilterIT
[INFO] Running org.apache.phoenix.rpc.UpdateCacheIT
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.855 s 
- in org.apache.phoenix.end2end.salted.SaltedTableUpsertSelectIT
[INFO] Running org.apache.phoenix.trace.PhoenixTableMetricsWriterIT
[INFO] Tests run: 34, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 358.083 
s - in org.apache.phoenix.end2end.join.SortMergeJoinGlobalIndexIT
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.541 s 
- in org.apache.phoenix.rpc.UpdateCacheIT
[INFO] Running org.apache.phoenix.tx.FlappingTransactionIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.297 s 
- in org.apache.phoenix.trace.PhoenixTableMetricsWriterIT
[INFO] Running org.apache.phoenix.tx.ParameterizedTransactionIT
[INFO] Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 233.685 
s - in org.apache.phoenix.end2end.join.SubqueryIT
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.836 s 
- in org.apache.phoenix.tx.FlappingTransactionIT
[INFO] Running org.apache.phoenix.tx.TxCheckpointIT
[INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 50.999 s 
- in org.apache.phoenix.iterate.RoundRobinResultIteratorIT
[INFO] Running org.apache.phoenix.util.IndexScrutinyIT
[INFO] Running org.apache.phoenix.trace.PhoenixTracingEndToEndIT
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.426 s 
- in org.apache.phoenix.util.IndexScrutinyIT
[INFO] Running org.apache.phoenix.tx.TransactionIT
[INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 171.219 
s - in org.apache.phoenix.end2end.join.SubqueryUsingSortMergeJoinIT
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 56.686 s 
- in org.apache.phoenix.tx.TransactionIT
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 89.233 s 
- in org.apache.phoenix.trace.PhoenixTracingEndToEndIT
[INFO] Tests run: 34, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 606.573 
s - in org.apache.phoenix.end2end.join.HashJoinLocalIndexIT
[WARNING] Tests run: 52, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 
226.401 s - in org.apache.phoenix.tx.ParameterizedTransactionIT
[INFO] Tests run: 40, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 292.166 
s - in 

phoenix git commit: PHOENIX-4576 Fix LocalIndexSplitMergeIT tests failing in master branch - addendum(Rajeshbabu)

2018-03-20 Thread rajeshbabu
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-0.98 9e936094c -> 37b1e1162


PHOENIX-4576 Fix LocalIndexSplitMergeIT tests failing in master branch - 
addendum(Rajeshbabu)


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/37b1e116
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/37b1e116
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/37b1e116

Branch: refs/heads/4.x-HBase-0.98
Commit: 37b1e11626e5399093447144c53edbbd860df1fc
Parents: 9e93609
Author: Rajeshbabu Chintaguntla 
Authored: Tue Mar 20 20:51:05 2018 +0530
Committer: Rajeshbabu Chintaguntla 
Committed: Tue Mar 20 20:51:05 2018 +0530

--
 .../phoenix/end2end/LocalIndexSplitMergeIT.java | 68 ++--
 .../IndexHalfStoreFileReaderGenerator.java  |  8 ++-
 2 files changed, 70 insertions(+), 6 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/37b1e116/phoenix-core/src/it/java/org/apache/phoenix/end2end/LocalIndexSplitMergeIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/LocalIndexSplitMergeIT.java
 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/LocalIndexSplitMergeIT.java
index 5feea09..c1333dd 100644
--- 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/LocalIndexSplitMergeIT.java
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/LocalIndexSplitMergeIT.java
@@ -84,8 +84,6 @@ public class LocalIndexSplitMergeIT extends BaseTest {
 conn.close();
 }
 
-// Moved from LocalIndexIT because it was causing parallel runs to hang
-@Ignore
 @Test
 public void testLocalIndexScanAfterRegionSplit() throws Exception {
 String schemaName = generateUniqueName();
@@ -182,8 +180,6 @@ public class LocalIndexSplitMergeIT extends BaseTest {
 }
 }
 
-// Moved from LocalIndexIT because it was causing parallel runs to hang
-@Ignore
 @Test
 public void testLocalIndexScanAfterRegionsMerge() throws Exception {
 String schemaName = generateUniqueName();
@@ -273,4 +269,68 @@ public class LocalIndexSplitMergeIT extends BaseTest {
}
 }
 
+@Test
+public void testLocalIndexScanWithMergeSpecialCase() throws Exception {
+String schemaName = generateUniqueName();
+String tableName = schemaName + "." + generateUniqueName();
+String indexName = "IDX_" + generateUniqueName();
+TableName physicalTableName = 
SchemaUtil.getPhysicalTableName(tableName.getBytes(), false);
+createBaseTable(tableName, "('a','b','def')");
+Connection conn1 = getConnectionForLocalIndexTest();
+try {
+String[] strings =
+{ "aa", "aaa", "", "bb", "cc", "dd", "dff", "g", "h", 
"i", "j", "k", "l",
+"m", "n", "o", "p", "q", "r", "s", "t", "u", "v", 
"w", "x", "y", "z" };
+for (int i = 0; i < 26; i++) {
+conn1.createStatement()
+.execute("UPSERT INTO " + tableName + " values('" + 
strings[i] + "'," + i
++ "," + (i + 1) + "," + (i + 2) + ",'" + 
strings[25 - i] + "')");
+}
+conn1.commit();
+conn1.createStatement()
+.execute("CREATE LOCAL INDEX " + indexName + " ON " + 
tableName + "(v1)");
+conn1.createStatement()
+.execute("CREATE LOCAL INDEX " + indexName + "_2 ON " + tableName 
+ "(k3)");
+
+HBaseAdmin admin = 
conn1.unwrap(PhoenixConnection.class).getQueryServices().getAdmin();
+CatalogTracker ct = new CatalogTracker(admin.getConfiguration());
+List regionsOfUserTable =
+MetaReader.getTableRegions(ct,
+physicalTableName, false);
+
admin.mergeRegions(regionsOfUserTable.get(0).getEncodedNameAsBytes(),
+regionsOfUserTable.get(1).getEncodedNameAsBytes(), false);
+regionsOfUserTable =
+MetaReader.getTableRegions(ct,
+physicalTableName, false);
+
+while (regionsOfUserTable.size() != 3) {
+Thread.sleep(100);
+regionsOfUserTable =
+MetaReader.getTableRegions(ct,
+physicalTableName, false);
+}
+assertEquals(3, regionsOfUserTable.size());
+
+String query = "SELECT t_id,k1,v1 FROM " + tableName;
+ResultSet rs = conn1.createStatement().executeQuery(query);
+Thread.sleep(1000);
+for (int j = 0; j < 26; j++) {
+assertTrue(rs.next());
+

phoenix git commit: PHOENIX-4576 Fix LocalIndexSplitMergeIT tests failing in master branch - addendum(Rajeshbabu)

2018-03-20 Thread rajeshbabu
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-1.3 ee948f0f1 -> eaa6cdd2d


PHOENIX-4576 Fix LocalIndexSplitMergeIT tests failing in master branch - 
addendum(Rajeshbabu)


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/eaa6cdd2
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/eaa6cdd2
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/eaa6cdd2

Branch: refs/heads/4.x-HBase-1.3
Commit: eaa6cdd2dc6f1102f6e7e6943b8a4420c2efc6d8
Parents: ee948f0
Author: Rajeshbabu Chintaguntla 
Authored: Tue Mar 20 19:41:07 2018 +0530
Committer: Rajeshbabu Chintaguntla 
Committed: Tue Mar 20 19:41:07 2018 +0530

--
 .../phoenix/end2end/LocalIndexSplitMergeIT.java | 59 
 .../IndexHalfStoreFileReaderGenerator.java  |  8 ++-
 2 files changed, 65 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/eaa6cdd2/phoenix-core/src/it/java/org/apache/phoenix/end2end/LocalIndexSplitMergeIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/LocalIndexSplitMergeIT.java
 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/LocalIndexSplitMergeIT.java
index 409e98f..dc3e5d3 100644
--- 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/LocalIndexSplitMergeIT.java
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/LocalIndexSplitMergeIT.java
@@ -263,4 +263,63 @@ public class LocalIndexSplitMergeIT extends BaseTest {
 }
 }
 
+@Test
+public void testLocalIndexScanWithMergeSpecialCase() throws Exception {
+String schemaName = generateUniqueName();
+String tableName = schemaName + "." + generateUniqueName();
+String indexName = "IDX_" + generateUniqueName();
+TableName physicalTableName = 
SchemaUtil.getPhysicalTableName(tableName.getBytes(), false);
+createBaseTable(tableName, "('a','b','def')");
+Connection conn1 = getConnectionForLocalIndexTest();
+try {
+String[] strings =
+{ "aa", "aaa", "", "bb", "cc", "dd", "dff", "g", "h", 
"i", "j", "k", "l",
+"m", "n", "o", "p", "q", "r", "s", "t", "u", "v", 
"w", "x", "y", "z" };
+for (int i = 0; i < 26; i++) {
+conn1.createStatement()
+.execute("UPSERT INTO " + tableName + " values('" + 
strings[i] + "'," + i
++ "," + (i + 1) + "," + (i + 2) + ",'" + 
strings[25 - i] + "')");
+}
+conn1.commit();
+conn1.createStatement()
+.execute("CREATE LOCAL INDEX " + indexName + " ON " + 
tableName + "(v1)");
+conn1.createStatement()
+.execute("CREATE LOCAL INDEX " + indexName + "_2 ON " + tableName 
+ "(k3)");
+
+HBaseAdmin admin = 
conn1.unwrap(PhoenixConnection.class).getQueryServices().getAdmin();
+List regionsOfUserTable =
+
MetaTableAccessor.getTableRegions(getUtility().getZooKeeperWatcher(),
+admin.getConnection(), physicalTableName, false);
+
admin.mergeRegions(regionsOfUserTable.get(0).getEncodedNameAsBytes(),
+regionsOfUserTable.get(1).getEncodedNameAsBytes(), false);
+regionsOfUserTable =
+
MetaTableAccessor.getTableRegions(getUtility().getZooKeeperWatcher(),
+admin.getConnection(), physicalTableName, false);
+
+while (regionsOfUserTable.size() != 3) {
+Thread.sleep(100);
+regionsOfUserTable =
+
MetaTableAccessor.getTableRegions(getUtility().getZooKeeperWatcher(),
+admin.getConnection(), physicalTableName, false);
+}
+String query = "SELECT t_id,k1,v1 FROM " + tableName;
+ResultSet rs = conn1.createStatement().executeQuery(query);
+for (int j = 0; j < 26; j++) {
+assertTrue(rs.next());
+assertEquals(strings[25-j], rs.getString("t_id"));
+assertEquals(25-j, rs.getInt("k1"));
+assertEquals(strings[j], rs.getString("V1"));
+}
+query = "SELECT t_id,k1,k3 FROM " + tableName;
+rs = conn1.createStatement().executeQuery(query);
+for (int j = 0; j < 26; j++) {
+assertTrue(rs.next());
+assertEquals(strings[j], rs.getString("t_id"));
+assertEquals(j, rs.getInt("k1"));
+assertEquals(j + 2, rs.getInt("k3"));
+}
+} finally {
+conn1.close();
+}
+}
 }


phoenix git commit: PHOENIX-4576 Fix LocalIndexSplitMergeIT tests failing in master branch - addendum(Rajeshbabu)

2018-03-20 Thread rajeshbabu
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-1.1 df1f8ca8d -> 3e87f5d3e


PHOENIX-4576 Fix LocalIndexSplitMergeIT tests failing in master branch - 
addendum(Rajeshbabu)


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/3e87f5d3
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/3e87f5d3
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/3e87f5d3

Branch: refs/heads/4.x-HBase-1.1
Commit: 3e87f5d3e4cc05bc6291afa2dee0f159d6b69085
Parents: df1f8ca
Author: Rajeshbabu Chintaguntla 
Authored: Tue Mar 20 19:40:17 2018 +0530
Committer: Rajeshbabu Chintaguntla 
Committed: Tue Mar 20 19:40:17 2018 +0530

--
 .../phoenix/end2end/LocalIndexSplitMergeIT.java | 59 
 .../IndexHalfStoreFileReaderGenerator.java  |  8 ++-
 2 files changed, 65 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/3e87f5d3/phoenix-core/src/it/java/org/apache/phoenix/end2end/LocalIndexSplitMergeIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/LocalIndexSplitMergeIT.java
 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/LocalIndexSplitMergeIT.java
index 409e98f..dc3e5d3 100644
--- 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/LocalIndexSplitMergeIT.java
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/LocalIndexSplitMergeIT.java
@@ -263,4 +263,63 @@ public class LocalIndexSplitMergeIT extends BaseTest {
 }
 }
 
+@Test
+public void testLocalIndexScanWithMergeSpecialCase() throws Exception {
+String schemaName = generateUniqueName();
+String tableName = schemaName + "." + generateUniqueName();
+String indexName = "IDX_" + generateUniqueName();
+TableName physicalTableName = 
SchemaUtil.getPhysicalTableName(tableName.getBytes(), false);
+createBaseTable(tableName, "('a','b','def')");
+Connection conn1 = getConnectionForLocalIndexTest();
+try {
+String[] strings =
+{ "aa", "aaa", "", "bb", "cc", "dd", "dff", "g", "h", 
"i", "j", "k", "l",
+"m", "n", "o", "p", "q", "r", "s", "t", "u", "v", 
"w", "x", "y", "z" };
+for (int i = 0; i < 26; i++) {
+conn1.createStatement()
+.execute("UPSERT INTO " + tableName + " values('" + 
strings[i] + "'," + i
++ "," + (i + 1) + "," + (i + 2) + ",'" + 
strings[25 - i] + "')");
+}
+conn1.commit();
+conn1.createStatement()
+.execute("CREATE LOCAL INDEX " + indexName + " ON " + 
tableName + "(v1)");
+conn1.createStatement()
+.execute("CREATE LOCAL INDEX " + indexName + "_2 ON " + tableName 
+ "(k3)");
+
+HBaseAdmin admin = 
conn1.unwrap(PhoenixConnection.class).getQueryServices().getAdmin();
+List regionsOfUserTable =
+
MetaTableAccessor.getTableRegions(getUtility().getZooKeeperWatcher(),
+admin.getConnection(), physicalTableName, false);
+
admin.mergeRegions(regionsOfUserTable.get(0).getEncodedNameAsBytes(),
+regionsOfUserTable.get(1).getEncodedNameAsBytes(), false);
+regionsOfUserTable =
+
MetaTableAccessor.getTableRegions(getUtility().getZooKeeperWatcher(),
+admin.getConnection(), physicalTableName, false);
+
+while (regionsOfUserTable.size() != 3) {
+Thread.sleep(100);
+regionsOfUserTable =
+
MetaTableAccessor.getTableRegions(getUtility().getZooKeeperWatcher(),
+admin.getConnection(), physicalTableName, false);
+}
+String query = "SELECT t_id,k1,v1 FROM " + tableName;
+ResultSet rs = conn1.createStatement().executeQuery(query);
+for (int j = 0; j < 26; j++) {
+assertTrue(rs.next());
+assertEquals(strings[25-j], rs.getString("t_id"));
+assertEquals(25-j, rs.getInt("k1"));
+assertEquals(strings[j], rs.getString("V1"));
+}
+query = "SELECT t_id,k1,k3 FROM " + tableName;
+rs = conn1.createStatement().executeQuery(query);
+for (int j = 0; j < 26; j++) {
+assertTrue(rs.next());
+assertEquals(strings[j], rs.getString("t_id"));
+assertEquals(j, rs.getInt("k1"));
+assertEquals(j + 2, rs.getInt("k3"));
+}
+} finally {
+conn1.close();
+}
+}
 }


phoenix git commit: PHOENIX-4576 Fix LocalIndexSplitMergeIT tests failing in master branch - addendum(Rajeshbabu)

2018-03-20 Thread rajeshbabu
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-1.2 687d04cb5 -> 332caa000


PHOENIX-4576 Fix LocalIndexSplitMergeIT tests failing in master branch - 
addendum(Rajeshbabu)


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/332caa00
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/332caa00
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/332caa00

Branch: refs/heads/4.x-HBase-1.2
Commit: 332caa24a01562945e18b5e7ea43d816593e
Parents: 687d04c
Author: Rajeshbabu Chintaguntla 
Authored: Tue Mar 20 19:38:03 2018 +0530
Committer: Rajeshbabu Chintaguntla 
Committed: Tue Mar 20 19:38:03 2018 +0530

--
 .../phoenix/end2end/LocalIndexSplitMergeIT.java | 59 
 .../IndexHalfStoreFileReaderGenerator.java  |  8 ++-
 2 files changed, 65 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/332caa00/phoenix-core/src/it/java/org/apache/phoenix/end2end/LocalIndexSplitMergeIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/LocalIndexSplitMergeIT.java
 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/LocalIndexSplitMergeIT.java
index 409e98f..dc3e5d3 100644
--- 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/LocalIndexSplitMergeIT.java
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/LocalIndexSplitMergeIT.java
@@ -263,4 +263,63 @@ public class LocalIndexSplitMergeIT extends BaseTest {
 }
 }
 
+@Test
+public void testLocalIndexScanWithMergeSpecialCase() throws Exception {
+String schemaName = generateUniqueName();
+String tableName = schemaName + "." + generateUniqueName();
+String indexName = "IDX_" + generateUniqueName();
+TableName physicalTableName = 
SchemaUtil.getPhysicalTableName(tableName.getBytes(), false);
+createBaseTable(tableName, "('a','b','def')");
+Connection conn1 = getConnectionForLocalIndexTest();
+try {
+String[] strings =
+{ "aa", "aaa", "", "bb", "cc", "dd", "dff", "g", "h", 
"i", "j", "k", "l",
+"m", "n", "o", "p", "q", "r", "s", "t", "u", "v", 
"w", "x", "y", "z" };
+for (int i = 0; i < 26; i++) {
+conn1.createStatement()
+.execute("UPSERT INTO " + tableName + " values('" + 
strings[i] + "'," + i
++ "," + (i + 1) + "," + (i + 2) + ",'" + 
strings[25 - i] + "')");
+}
+conn1.commit();
+conn1.createStatement()
+.execute("CREATE LOCAL INDEX " + indexName + " ON " + 
tableName + "(v1)");
+conn1.createStatement()
+.execute("CREATE LOCAL INDEX " + indexName + "_2 ON " + tableName 
+ "(k3)");
+
+HBaseAdmin admin = 
conn1.unwrap(PhoenixConnection.class).getQueryServices().getAdmin();
+List regionsOfUserTable =
+
MetaTableAccessor.getTableRegions(getUtility().getZooKeeperWatcher(),
+admin.getConnection(), physicalTableName, false);
+
admin.mergeRegions(regionsOfUserTable.get(0).getEncodedNameAsBytes(),
+regionsOfUserTable.get(1).getEncodedNameAsBytes(), false);
+regionsOfUserTable =
+
MetaTableAccessor.getTableRegions(getUtility().getZooKeeperWatcher(),
+admin.getConnection(), physicalTableName, false);
+
+while (regionsOfUserTable.size() != 3) {
+Thread.sleep(100);
+regionsOfUserTable =
+
MetaTableAccessor.getTableRegions(getUtility().getZooKeeperWatcher(),
+admin.getConnection(), physicalTableName, false);
+}
+String query = "SELECT t_id,k1,v1 FROM " + tableName;
+ResultSet rs = conn1.createStatement().executeQuery(query);
+for (int j = 0; j < 26; j++) {
+assertTrue(rs.next());
+assertEquals(strings[25-j], rs.getString("t_id"));
+assertEquals(25-j, rs.getInt("k1"));
+assertEquals(strings[j], rs.getString("V1"));
+}
+query = "SELECT t_id,k1,k3 FROM " + tableName;
+rs = conn1.createStatement().executeQuery(query);
+for (int j = 0; j < 26; j++) {
+assertTrue(rs.next());
+assertEquals(strings[j], rs.getString("t_id"));
+assertEquals(j, rs.getInt("k1"));
+assertEquals(j + 2, rs.getInt("k3"));
+}
+} finally {
+conn1.close();
+}
+}
 }


phoenix git commit: PHOENIX-4576 Fix LocalIndexSplitMergeIT tests failing in master branch - addendum(Rajeshbabu)

2018-03-20 Thread rajeshbabu
Repository: phoenix
Updated Branches:
  refs/heads/master 204d4aa08 -> b6e33f30e


PHOENIX-4576 Fix LocalIndexSplitMergeIT tests failing in master branch - 
addendum(Rajeshbabu)


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/b6e33f30
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/b6e33f30
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/b6e33f30

Branch: refs/heads/master
Commit: b6e33f30e2084879feeb3240444806b1e7069135
Parents: 204d4aa
Author: Rajeshbabu Chintaguntla 
Authored: Tue Mar 20 19:35:14 2018 +0530
Committer: Rajeshbabu Chintaguntla 
Committed: Tue Mar 20 19:35:14 2018 +0530

--
 .../phoenix/end2end/LocalIndexSplitMergeIT.java | 59 
 .../IndexHalfStoreFileReaderGenerator.java  |  8 ++-
 2 files changed, 65 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/b6e33f30/phoenix-core/src/it/java/org/apache/phoenix/end2end/LocalIndexSplitMergeIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/LocalIndexSplitMergeIT.java
 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/LocalIndexSplitMergeIT.java
index 409e98f..dc3e5d3 100644
--- 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/LocalIndexSplitMergeIT.java
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/LocalIndexSplitMergeIT.java
@@ -263,4 +263,63 @@ public class LocalIndexSplitMergeIT extends BaseTest {
 }
 }
 
+@Test
+public void testLocalIndexScanWithMergeSpecialCase() throws Exception {
+String schemaName = generateUniqueName();
+String tableName = schemaName + "." + generateUniqueName();
+String indexName = "IDX_" + generateUniqueName();
+TableName physicalTableName = 
SchemaUtil.getPhysicalTableName(tableName.getBytes(), false);
+createBaseTable(tableName, "('a','b','def')");
+Connection conn1 = getConnectionForLocalIndexTest();
+try {
+String[] strings =
+{ "aa", "aaa", "", "bb", "cc", "dd", "dff", "g", "h", 
"i", "j", "k", "l",
+"m", "n", "o", "p", "q", "r", "s", "t", "u", "v", 
"w", "x", "y", "z" };
+for (int i = 0; i < 26; i++) {
+conn1.createStatement()
+.execute("UPSERT INTO " + tableName + " values('" + 
strings[i] + "'," + i
++ "," + (i + 1) + "," + (i + 2) + ",'" + 
strings[25 - i] + "')");
+}
+conn1.commit();
+conn1.createStatement()
+.execute("CREATE LOCAL INDEX " + indexName + " ON " + 
tableName + "(v1)");
+conn1.createStatement()
+.execute("CREATE LOCAL INDEX " + indexName + "_2 ON " + tableName 
+ "(k3)");
+
+HBaseAdmin admin = 
conn1.unwrap(PhoenixConnection.class).getQueryServices().getAdmin();
+List regionsOfUserTable =
+
MetaTableAccessor.getTableRegions(getUtility().getZooKeeperWatcher(),
+admin.getConnection(), physicalTableName, false);
+
admin.mergeRegions(regionsOfUserTable.get(0).getEncodedNameAsBytes(),
+regionsOfUserTable.get(1).getEncodedNameAsBytes(), false);
+regionsOfUserTable =
+
MetaTableAccessor.getTableRegions(getUtility().getZooKeeperWatcher(),
+admin.getConnection(), physicalTableName, false);
+
+while (regionsOfUserTable.size() != 3) {
+Thread.sleep(100);
+regionsOfUserTable =
+
MetaTableAccessor.getTableRegions(getUtility().getZooKeeperWatcher(),
+admin.getConnection(), physicalTableName, false);
+}
+String query = "SELECT t_id,k1,v1 FROM " + tableName;
+ResultSet rs = conn1.createStatement().executeQuery(query);
+for (int j = 0; j < 26; j++) {
+assertTrue(rs.next());
+assertEquals(strings[25-j], rs.getString("t_id"));
+assertEquals(25-j, rs.getInt("k1"));
+assertEquals(strings[j], rs.getString("V1"));
+}
+query = "SELECT t_id,k1,k3 FROM " + tableName;
+rs = conn1.createStatement().executeQuery(query);
+for (int j = 0; j < 26; j++) {
+assertTrue(rs.next());
+assertEquals(strings[j], rs.getString("t_id"));
+assertEquals(j, rs.getInt("k1"));
+assertEquals(j + 2, rs.getInt("k3"));
+}
+} finally {
+conn1.close();
+}
+}
 }


Build failed in Jenkins: Phoenix Compile Compatibility with HBase #581

2018-03-20 Thread Apache Jenkins Server
See 


--
[...truncated 39.73 KB...]
[ERROR] 
:[364,5]
 method does not override or implement a method from a supertype
[ERROR] 
:[370,5]
 method does not override or implement a method from a supertype
[ERROR] 
:[376,5]
 method does not override or implement a method from a supertype
[ERROR] 
:[382,5]
 method does not override or implement a method from a supertype
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (default-compile) on 
project phoenix-core: Compilation failure: Compilation failure: 
[ERROR] 
:[34,39]
 cannot find symbol
[ERROR]   symbol:   class MetricRegistry
[ERROR]   location: package org.apache.hadoop.hbase.metrics
[ERROR] 
:[144,16]
 cannot find symbol
[ERROR]   symbol:   class MetricRegistry
[ERROR]   location: class 
org.apache.phoenix.coprocessor.PhoenixMetaDataCoprocessorHost.PhoenixMetaDataControllerEnvironment
[ERROR] 
:[24,35]
 cannot find symbol
[ERROR]   symbol:   class DelegatingHBaseRpcController
[ERROR]   location: package org.apache.hadoop.hbase.ipc
[ERROR] 
:[25,35]
 cannot find symbol
[ERROR]   symbol:   class HBaseRpcController
[ERROR]   location: package org.apache.hadoop.hbase.ipc
[ERROR] 
:[37,37]
 cannot find symbol
[ERROR]   symbol: class DelegatingHBaseRpcController
[ERROR] 
:[56,38]
 cannot find symbol
[ERROR]   symbol:   class HBaseRpcController
[ERROR]   location: class 
org.apache.hadoop.hbase.ipc.controller.MetadataRpcController
[ERROR] 
:[26,35]
 cannot find symbol
[ERROR]   symbol:   class HBaseRpcController
[ERROR]   location: package org.apache.hadoop.hbase.ipc
[ERROR] 
:[40,12]
 cannot find symbol
[ERROR]   symbol:   class HBaseRpcController
[ERROR]   location: class 
org.apache.hadoop.hbase.ipc.controller.InterRegionServerMetadataRpcControllerFactory
[ERROR] 
:[46,12]
 cannot find symbol
[ERROR]   symbol:   class HBaseRpcController
[ERROR]   location: class 
org.apache.hadoop.hbase.ipc.controller.InterRegionServerMetadataRpcControllerFactory
[ERROR] 
:[52,12]
 cannot find symbol
[ERROR]   symbol:   class HBaseRpcController
[ERROR]   location: class 
org.apache.hadoop.hbase.ipc.controller.InterRegionServerMetadataRpcControllerFactory
[ERROR] 
:[57,46]
 cannot