Apache-Phoenix | Master | Build Successful

2016-05-10 Thread Apache Jenkins Server
Master branch build status Successful
Source repository https://git-wip-us.apache.org/repos/asf?p=phoenix.git;a=shortlog;h=refs/heads/master

Last Successful Compiled Artifacts https://builds.apache.org/job/Phoenix-master/lastSuccessfulBuild/artifact/

Last Complete Test Report https://builds.apache.org/job/Phoenix-master/lastCompletedBuild/testReport/

Changes
[elserj] Add environment variables to control the location of the queryserver



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.1 #20

2016-05-10 Thread Apache Jenkins Server
See 



Build failed in Jenkins: Phoenix-4.x-HBase-1.0 #468

2016-05-10 Thread Apache Jenkins Server
See 

Changes:

[elserj] Add environment variables to control the location of the queryserver

--
[...truncated 652 lines...]
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.578 sec - in 
org.apache.phoenix.end2end.UseSchemaIT
Running org.apache.phoenix.end2end.index.DropMetadataIT
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 87.378 sec - 
in org.apache.phoenix.end2end.TenantIdTypeIT
Running org.apache.phoenix.end2end.index.GlobalIndexOptimizationIT
Tests run: 102, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 243.724 sec - 
in org.apache.phoenix.end2end.SortMergeJoinIT
Running org.apache.phoenix.end2end.index.ImmutableIndexIT
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.702 sec - in 
org.apache.phoenix.end2end.index.DropMetadataIT
Running org.apache.phoenix.end2end.index.IndexExpressionIT
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 81.085 sec - in 
org.apache.phoenix.end2end.UpgradeIT
Running org.apache.phoenix.end2end.index.IndexIT
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 44.656 sec - in 
org.apache.phoenix.end2end.index.GlobalIndexOptimizationIT
Running org.apache.phoenix.end2end.index.IndexMetadataIT
Tests run: 102, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 266.136 sec - 
in org.apache.phoenix.end2end.SpooledSortMergeJoinIT
Running org.apache.phoenix.end2end.index.LocalIndexIT
Tests run: 12, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 75.168 sec - 
in org.apache.phoenix.end2end.index.ImmutableIndexIT
Running org.apache.phoenix.end2end.index.MutableIndexIT
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 60.657 sec - in 
org.apache.phoenix.end2end.index.IndexMetadataIT
Running org.apache.phoenix.end2end.index.SaltedIndexIT
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.756 sec - in 
org.apache.phoenix.end2end.index.SaltedIndexIT
Running org.apache.phoenix.end2end.index.ViewIndexIT
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.958 sec - in 
org.apache.phoenix.end2end.index.ViewIndexIT
Running org.apache.phoenix.end2end.index.txn.MutableRollbackIT
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 50.266 sec - in 
org.apache.phoenix.end2end.index.txn.MutableRollbackIT
Running org.apache.phoenix.end2end.index.txn.RollbackIT
Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 131.711 sec - 
in org.apache.phoenix.end2end.index.MutableIndexIT
Running org.apache.phoenix.iterate.RoundRobinResultIteratorIT
Tests run: 62, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 204.071 sec - 
in org.apache.phoenix.end2end.index.IndexExpressionIT
Running org.apache.phoenix.rpc.UpdateCacheIT
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.674 sec - in 
org.apache.phoenix.rpc.UpdateCacheIT
Running org.apache.phoenix.trace.PhoenixTableMetricsWriterIT
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.913 sec - in 
org.apache.phoenix.trace.PhoenixTableMetricsWriterIT
Running org.apache.phoenix.trace.PhoenixTraceReaderIT
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.856 sec - in 
org.apache.phoenix.trace.PhoenixTraceReaderIT
Running org.apache.phoenix.trace.PhoenixTracingEndToEndIT
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 46.09 sec - in 
org.apache.phoenix.end2end.index.txn.RollbackIT
Running org.apache.phoenix.tx.TransactionIT
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 64.789 sec - in 
org.apache.phoenix.iterate.RoundRobinResultIteratorIT
Running org.apache.phoenix.tx.TxCheckpointIT
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 86.177 sec - in 
org.apache.phoenix.trace.PhoenixTracingEndToEndIT
Tests run: 40, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 312.216 sec - 
in org.apache.phoenix.end2end.index.LocalIndexIT
Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 91.55 sec - in 
org.apache.phoenix.tx.TxCheckpointIT
Tests run: 20, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 141.093 sec - 
in org.apache.phoenix.tx.TransactionIT
Tests run: 128, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 492.94 sec - 
in org.apache.phoenix.end2end.index.IndexIT

Results :

Tests run: 1161, Failures: 0, Errors: 0, Skipped: 5

[INFO] 
[INFO] --- maven-failsafe-plugin:2.19.1:integration-test 
(HBaseManagedTimeTableReuseTest) @ phoenix-core ---

---
 T E S T S
---
Running org.apache.phoenix.end2end.AbsFunctionEnd2EndIT
Running org.apache.phoenix.end2end.ArithmeticQueryIT
Running org.apache.phoenix.end2end.ArrayToStringFunctionIT
Running org.apache.phoenix.end2end.ArrayFillFunctionIT
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.912 sec - in 

[2/4] phoenix git commit: Add environment variables to control the location of the queryserver .log, .out, and .pid file. Also update the name of all files to '${USER}-queryserver'.

2016-05-10 Thread elserj
Add environment variables to control the location of the queryserver .log, 
.out, and .pid file. Also update the name of all files to '${USER}-queryserver'.

Signed-off-by: Josh Elser 


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

Branch: refs/heads/4.x-HBase-1.1
Commit: 9c16db98c7b35b06fba90d392ba088269a8ae231
Parents: 19fa69e
Author: Rob Leidle 
Authored: Mon May 2 13:40:32 2016 -0700
Committer: Josh Elser 
Committed: Tue May 10 22:20:40 2016 -0400

--
 bin/queryserver.py | 34 +-
 1 file changed, 13 insertions(+), 21 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/9c16db98/bin/queryserver.py
--
diff --git a/bin/queryserver.py b/bin/queryserver.py
index c80e629..57ca371 100755
--- a/bin/queryserver.py
+++ b/bin/queryserver.py
@@ -74,15 +74,11 @@ else:
 hbase_config_path = phoenix_utils.hbase_conf_dir
 hadoop_config_path = phoenix_utils.hadoop_conf
 
-# default paths ## TODO: add windows support
-java_home = os.getenv('JAVA_HOME')
-hbase_pid_dir = os.path.join(tempfile.gettempdir(), 'phoenix')
-phoenix_log_dir = os.path.join(tempfile.gettempdir(), 'phoenix')
-phoenix_file_basename = 'phoenix-%s-server' % getpass.getuser()
+# TODO: add windows support
+phoenix_file_basename = '%s-queryserver' % getpass.getuser()
 phoenix_log_file = '%s.log' % phoenix_file_basename
 phoenix_out_file = '%s.out' % phoenix_file_basename
 phoenix_pid_file = '%s.pid' % phoenix_file_basename
-opts = os.getenv('PHOENIX_QUERYSERVER_OPTS', '')
 
 # load hbase-env.??? to extract JAVA_HOME, HBASE_PID_DIR, HBASE_LOG_DIR
 hbase_env_path = None
@@ -104,24 +100,20 @@ if os.path.isfile(hbase_env_path):
 (k, _, v) = x.partition('=')
 hbase_env[k.strip()] = v.strip()
 
-if hbase_env.has_key('JAVA_HOME'):
-java_home = hbase_env['JAVA_HOME']
-if hbase_env.has_key('HBASE_PID_DIR'):
-hbase_pid_dir = hbase_env['HBASE_PID_DIR']
-if hbase_env.has_key('HBASE_LOG_DIR'):
-phoenix_log_dir = hbase_env['HBASE_LOG_DIR']
-if hbase_env.has_key('PHOENIX_QUERYSERVER_OPTS'):
-opts = hbase_env['PHOENIX_QUERYSERVER_OPTS']
-
-log_file_path = os.path.join(phoenix_log_dir, phoenix_log_file)
-out_file_path = os.path.join(phoenix_log_dir, phoenix_out_file)
-pid_file_path = os.path.join(hbase_pid_dir, phoenix_pid_file)
-
+java_home = hbase_env.get('JAVA_HOME') or os.getenv('JAVA_HOME')
 if java_home:
 java = os.path.join(java_home, 'bin', 'java')
 else:
 java = 'java'
 
+tmp_dir = os.path.join(tempfile.gettempdir(), 'phoenix')
+opts = os.getenv('PHOENIX_QUERYSERVER_OPTS') or 
hbase_env.get('PHOENIX_QUERYSERVER_OPTS') or ''
+pid_dir = os.getenv('PHOENIX_QUERYSERVER_PID_DIR') or 
hbase_env.get('HBASE_PID_DIR') or tmp_dir
+log_dir = os.getenv('PHOENIX_QUERYSERVER_LOG_DIR') or 
hbase_env.get('HBASE_LOG_DIR') or tmp_dir
+pid_file_path = os.path.join(pid_dir, phoenix_pid_file)
+log_file_path = os.path.join(log_dir, phoenix_log_file)
+out_file_path = os.path.join(log_dir, phoenix_out_file)
+
 #" -Xdebug -Xrunjdwp:transport=dt_socket,address=5005,server=y,suspend=n " 
+ \
 #" -XX:+UnlockCommercialFeatures -XX:+FlightRecorder 
-XX:FlightRecorderOptions=defaultrecording=true,dumponexit=true" + \
 
@@ -137,7 +129,7 @@ java_cmd = '%(java)s -cp ' + hbase_config_path + os.pathsep 
+ hadoop_config_path
 " org.apache.phoenix.queryserver.server.Main " + args
 
 if command == 'makeWinServiceDesc':
-cmd = java_cmd % {'java': java, 'root_logger': 'INFO,DRFA,console', 
'log_dir': phoenix_log_dir, 'log_file': phoenix_log_file}
+cmd = java_cmd % {'java': java, 'root_logger': 'INFO,DRFA,console', 
'log_dir': log_dir, 'log_file': phoenix_log_file}
 slices = cmd.split(' ')
 
 print ""
@@ -168,7 +160,7 @@ if command == 'start':
 with context:
 # this block is the main() for the forked daemon process
 child = None
-cmd = java_cmd % {'java': java, 'root_logger': 'INFO,DRFA', 
'log_dir': phoenix_log_dir, 'log_file': phoenix_log_file}
+cmd = java_cmd % {'java': java, 'root_logger': 'INFO,DRFA', 
'log_dir': log_dir, 'log_file': phoenix_log_file}
 
 # notify the child when we're killed
 def handler(signum, frame):



[1/4] phoenix git commit: Add environment variables to control the location of the queryserver .log, .out, and .pid file. Also update the name of all files to '${USER}-queryserver'.

2016-05-10 Thread elserj
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-0.98 0047e5d4c -> bbf4e9692
  refs/heads/4.x-HBase-1.0 4ca06a39e -> 06aca0f2c
  refs/heads/4.x-HBase-1.1 19fa69e4c -> 9c16db98c
  refs/heads/master a0504fba1 -> 96a1d5528


Add environment variables to control the location of the queryserver .log, 
.out, and .pid file. Also update the name of all files to '${USER}-queryserver'.

Signed-off-by: Josh Elser 


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

Branch: refs/heads/master
Commit: 96a1d55283f8d1c0f18494d8bce1f8efb5c46c96
Parents: a0504fb
Author: Rob Leidle 
Authored: Mon May 2 13:40:32 2016 -0700
Committer: Josh Elser 
Committed: Tue May 10 21:40:58 2016 -0400

--
 bin/queryserver.py | 34 +-
 1 file changed, 13 insertions(+), 21 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/96a1d552/bin/queryserver.py
--
diff --git a/bin/queryserver.py b/bin/queryserver.py
index c80e629..57ca371 100755
--- a/bin/queryserver.py
+++ b/bin/queryserver.py
@@ -74,15 +74,11 @@ else:
 hbase_config_path = phoenix_utils.hbase_conf_dir
 hadoop_config_path = phoenix_utils.hadoop_conf
 
-# default paths ## TODO: add windows support
-java_home = os.getenv('JAVA_HOME')
-hbase_pid_dir = os.path.join(tempfile.gettempdir(), 'phoenix')
-phoenix_log_dir = os.path.join(tempfile.gettempdir(), 'phoenix')
-phoenix_file_basename = 'phoenix-%s-server' % getpass.getuser()
+# TODO: add windows support
+phoenix_file_basename = '%s-queryserver' % getpass.getuser()
 phoenix_log_file = '%s.log' % phoenix_file_basename
 phoenix_out_file = '%s.out' % phoenix_file_basename
 phoenix_pid_file = '%s.pid' % phoenix_file_basename
-opts = os.getenv('PHOENIX_QUERYSERVER_OPTS', '')
 
 # load hbase-env.??? to extract JAVA_HOME, HBASE_PID_DIR, HBASE_LOG_DIR
 hbase_env_path = None
@@ -104,24 +100,20 @@ if os.path.isfile(hbase_env_path):
 (k, _, v) = x.partition('=')
 hbase_env[k.strip()] = v.strip()
 
-if hbase_env.has_key('JAVA_HOME'):
-java_home = hbase_env['JAVA_HOME']
-if hbase_env.has_key('HBASE_PID_DIR'):
-hbase_pid_dir = hbase_env['HBASE_PID_DIR']
-if hbase_env.has_key('HBASE_LOG_DIR'):
-phoenix_log_dir = hbase_env['HBASE_LOG_DIR']
-if hbase_env.has_key('PHOENIX_QUERYSERVER_OPTS'):
-opts = hbase_env['PHOENIX_QUERYSERVER_OPTS']
-
-log_file_path = os.path.join(phoenix_log_dir, phoenix_log_file)
-out_file_path = os.path.join(phoenix_log_dir, phoenix_out_file)
-pid_file_path = os.path.join(hbase_pid_dir, phoenix_pid_file)
-
+java_home = hbase_env.get('JAVA_HOME') or os.getenv('JAVA_HOME')
 if java_home:
 java = os.path.join(java_home, 'bin', 'java')
 else:
 java = 'java'
 
+tmp_dir = os.path.join(tempfile.gettempdir(), 'phoenix')
+opts = os.getenv('PHOENIX_QUERYSERVER_OPTS') or 
hbase_env.get('PHOENIX_QUERYSERVER_OPTS') or ''
+pid_dir = os.getenv('PHOENIX_QUERYSERVER_PID_DIR') or 
hbase_env.get('HBASE_PID_DIR') or tmp_dir
+log_dir = os.getenv('PHOENIX_QUERYSERVER_LOG_DIR') or 
hbase_env.get('HBASE_LOG_DIR') or tmp_dir
+pid_file_path = os.path.join(pid_dir, phoenix_pid_file)
+log_file_path = os.path.join(log_dir, phoenix_log_file)
+out_file_path = os.path.join(log_dir, phoenix_out_file)
+
 #" -Xdebug -Xrunjdwp:transport=dt_socket,address=5005,server=y,suspend=n " 
+ \
 #" -XX:+UnlockCommercialFeatures -XX:+FlightRecorder 
-XX:FlightRecorderOptions=defaultrecording=true,dumponexit=true" + \
 
@@ -137,7 +129,7 @@ java_cmd = '%(java)s -cp ' + hbase_config_path + os.pathsep 
+ hadoop_config_path
 " org.apache.phoenix.queryserver.server.Main " + args
 
 if command == 'makeWinServiceDesc':
-cmd = java_cmd % {'java': java, 'root_logger': 'INFO,DRFA,console', 
'log_dir': phoenix_log_dir, 'log_file': phoenix_log_file}
+cmd = java_cmd % {'java': java, 'root_logger': 'INFO,DRFA,console', 
'log_dir': log_dir, 'log_file': phoenix_log_file}
 slices = cmd.split(' ')
 
 print ""
@@ -168,7 +160,7 @@ if command == 'start':
 with context:
 # this block is the main() for the forked daemon process
 child = None
-cmd = java_cmd % {'java': java, 'root_logger': 'INFO,DRFA', 
'log_dir': phoenix_log_dir, 'log_file': phoenix_log_file}
+cmd = java_cmd % {'java': java, 'root_logger': 'INFO,DRFA', 
'log_dir': log_dir, 'log_file': phoenix_log_file}
 
 # notify the child when we're killed
 def handler(signum, frame):



[3/4] phoenix git commit: Add environment variables to control the location of the queryserver .log, .out, and .pid file. Also update the name of all files to '${USER}-queryserver'.

2016-05-10 Thread elserj
Add environment variables to control the location of the queryserver .log, 
.out, and .pid file. Also update the name of all files to '${USER}-queryserver'.

Signed-off-by: Josh Elser 


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

Branch: refs/heads/4.x-HBase-1.0
Commit: 06aca0f2c5928bbcb479b91af479793fde81a774
Parents: 4ca06a3
Author: Rob Leidle 
Authored: Mon May 2 13:40:32 2016 -0700
Committer: Josh Elser 
Committed: Tue May 10 22:21:03 2016 -0400

--
 bin/queryserver.py | 34 +-
 1 file changed, 13 insertions(+), 21 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/06aca0f2/bin/queryserver.py
--
diff --git a/bin/queryserver.py b/bin/queryserver.py
index c80e629..57ca371 100755
--- a/bin/queryserver.py
+++ b/bin/queryserver.py
@@ -74,15 +74,11 @@ else:
 hbase_config_path = phoenix_utils.hbase_conf_dir
 hadoop_config_path = phoenix_utils.hadoop_conf
 
-# default paths ## TODO: add windows support
-java_home = os.getenv('JAVA_HOME')
-hbase_pid_dir = os.path.join(tempfile.gettempdir(), 'phoenix')
-phoenix_log_dir = os.path.join(tempfile.gettempdir(), 'phoenix')
-phoenix_file_basename = 'phoenix-%s-server' % getpass.getuser()
+# TODO: add windows support
+phoenix_file_basename = '%s-queryserver' % getpass.getuser()
 phoenix_log_file = '%s.log' % phoenix_file_basename
 phoenix_out_file = '%s.out' % phoenix_file_basename
 phoenix_pid_file = '%s.pid' % phoenix_file_basename
-opts = os.getenv('PHOENIX_QUERYSERVER_OPTS', '')
 
 # load hbase-env.??? to extract JAVA_HOME, HBASE_PID_DIR, HBASE_LOG_DIR
 hbase_env_path = None
@@ -104,24 +100,20 @@ if os.path.isfile(hbase_env_path):
 (k, _, v) = x.partition('=')
 hbase_env[k.strip()] = v.strip()
 
-if hbase_env.has_key('JAVA_HOME'):
-java_home = hbase_env['JAVA_HOME']
-if hbase_env.has_key('HBASE_PID_DIR'):
-hbase_pid_dir = hbase_env['HBASE_PID_DIR']
-if hbase_env.has_key('HBASE_LOG_DIR'):
-phoenix_log_dir = hbase_env['HBASE_LOG_DIR']
-if hbase_env.has_key('PHOENIX_QUERYSERVER_OPTS'):
-opts = hbase_env['PHOENIX_QUERYSERVER_OPTS']
-
-log_file_path = os.path.join(phoenix_log_dir, phoenix_log_file)
-out_file_path = os.path.join(phoenix_log_dir, phoenix_out_file)
-pid_file_path = os.path.join(hbase_pid_dir, phoenix_pid_file)
-
+java_home = hbase_env.get('JAVA_HOME') or os.getenv('JAVA_HOME')
 if java_home:
 java = os.path.join(java_home, 'bin', 'java')
 else:
 java = 'java'
 
+tmp_dir = os.path.join(tempfile.gettempdir(), 'phoenix')
+opts = os.getenv('PHOENIX_QUERYSERVER_OPTS') or 
hbase_env.get('PHOENIX_QUERYSERVER_OPTS') or ''
+pid_dir = os.getenv('PHOENIX_QUERYSERVER_PID_DIR') or 
hbase_env.get('HBASE_PID_DIR') or tmp_dir
+log_dir = os.getenv('PHOENIX_QUERYSERVER_LOG_DIR') or 
hbase_env.get('HBASE_LOG_DIR') or tmp_dir
+pid_file_path = os.path.join(pid_dir, phoenix_pid_file)
+log_file_path = os.path.join(log_dir, phoenix_log_file)
+out_file_path = os.path.join(log_dir, phoenix_out_file)
+
 #" -Xdebug -Xrunjdwp:transport=dt_socket,address=5005,server=y,suspend=n " 
+ \
 #" -XX:+UnlockCommercialFeatures -XX:+FlightRecorder 
-XX:FlightRecorderOptions=defaultrecording=true,dumponexit=true" + \
 
@@ -137,7 +129,7 @@ java_cmd = '%(java)s -cp ' + hbase_config_path + os.pathsep 
+ hadoop_config_path
 " org.apache.phoenix.queryserver.server.Main " + args
 
 if command == 'makeWinServiceDesc':
-cmd = java_cmd % {'java': java, 'root_logger': 'INFO,DRFA,console', 
'log_dir': phoenix_log_dir, 'log_file': phoenix_log_file}
+cmd = java_cmd % {'java': java, 'root_logger': 'INFO,DRFA,console', 
'log_dir': log_dir, 'log_file': phoenix_log_file}
 slices = cmd.split(' ')
 
 print ""
@@ -168,7 +160,7 @@ if command == 'start':
 with context:
 # this block is the main() for the forked daemon process
 child = None
-cmd = java_cmd % {'java': java, 'root_logger': 'INFO,DRFA', 
'log_dir': phoenix_log_dir, 'log_file': phoenix_log_file}
+cmd = java_cmd % {'java': java, 'root_logger': 'INFO,DRFA', 
'log_dir': log_dir, 'log_file': phoenix_log_file}
 
 # notify the child when we're killed
 def handler(signum, frame):



Build failed in Jenkins: Phoenix-4.x-HBase-1.1 #19

2016-05-10 Thread Apache Jenkins Server
See 

Changes:

[twdsilva] PHOENIX-2791 Support append only schema declaration

--
[...truncated 2068 lines...]
Caused by: java.lang.RuntimeException: Master not initialized after 20ms 
seconds

Running org.apache.phoenix.end2end.index.ImmutableIndexWithStatsIT
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.004 sec <<< 
FAILURE! - in org.apache.phoenix.end2end.index.ImmutableIndexWithStatsIT
org.apache.phoenix.end2end.index.ImmutableIndexWithStatsIT  Time elapsed: 0.004 
sec  <<< ERROR!
java.lang.RuntimeException: java.io.IOException: Shutting down
at 
org.apache.phoenix.end2end.index.ImmutableIndexWithStatsIT.doSetup(ImmutableIndexWithStatsIT.java:52)
Caused by: java.io.IOException: Shutting down
at 
org.apache.phoenix.end2end.index.ImmutableIndexWithStatsIT.doSetup(ImmutableIndexWithStatsIT.java:52)
Caused by: java.lang.RuntimeException: Master not initialized after 20ms 
seconds
at 
org.apache.phoenix.end2end.index.ImmutableIndexWithStatsIT.doSetup(ImmutableIndexWithStatsIT.java:52)

Running org.apache.phoenix.end2end.index.MutableIndexFailureIT
Running org.apache.phoenix.end2end.index.MutableIndexReplicationIT
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.004 sec <<< 
FAILURE! - in org.apache.phoenix.end2end.index.MutableIndexFailureIT
org.apache.phoenix.end2end.index.MutableIndexFailureIT  Time elapsed: 0.003 sec 
 <<< ERROR!
java.lang.RuntimeException: java.io.IOException: Shutting down
at 
org.apache.phoenix.end2end.index.MutableIndexFailureIT.doSetup(MutableIndexFailureIT.java:113)
Caused by: java.io.IOException: Shutting down
at 
org.apache.phoenix.end2end.index.MutableIndexFailureIT.doSetup(MutableIndexFailureIT.java:113)
Caused by: java.lang.RuntimeException: Master not initialized after 20ms 
seconds
at 
org.apache.phoenix.end2end.index.MutableIndexFailureIT.doSetup(MutableIndexFailureIT.java:113)

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.004 sec <<< 
FAILURE! - in org.apache.phoenix.end2end.index.MutableIndexReplicationIT
org.apache.phoenix.end2end.index.MutableIndexReplicationIT  Time elapsed: 0.003 
sec  <<< ERROR!
java.io.IOException: Shutting down
at 
org.apache.phoenix.end2end.index.MutableIndexReplicationIT.setupConfigsAndStartCluster(MutableIndexReplicationIT.java:170)
at 
org.apache.phoenix.end2end.index.MutableIndexReplicationIT.setUpBeforeClass(MutableIndexReplicationIT.java:108)
Caused by: java.lang.RuntimeException: Master not initialized after 20ms 
seconds
at 
org.apache.phoenix.end2end.index.MutableIndexReplicationIT.setupConfigsAndStartCluster(MutableIndexReplicationIT.java:170)
at 
org.apache.phoenix.end2end.index.MutableIndexReplicationIT.setUpBeforeClass(MutableIndexReplicationIT.java:108)

Running org.apache.phoenix.hbase.index.FailForUnsupportedHBaseVersionsIT
Running org.apache.phoenix.end2end.index.ReadOnlyIndexFailureIT
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.004 sec <<< 
FAILURE! - in org.apache.phoenix.end2end.index.ReadOnlyIndexFailureIT
org.apache.phoenix.end2end.index.ReadOnlyIndexFailureIT  Time elapsed: 0.003 
sec  <<< ERROR!
java.lang.RuntimeException: java.io.IOException: Shutting down
at 
org.apache.phoenix.end2end.index.ReadOnlyIndexFailureIT.doSetup(ReadOnlyIndexFailureIT.java:116)
Caused by: java.io.IOException: Shutting down
at 
org.apache.phoenix.end2end.index.ReadOnlyIndexFailureIT.doSetup(ReadOnlyIndexFailureIT.java:116)
Caused by: java.lang.RuntimeException: Master not initialized after 20ms 
seconds
at 
org.apache.phoenix.end2end.index.ReadOnlyIndexFailureIT.doSetup(ReadOnlyIndexFailureIT.java:116)

Running org.apache.phoenix.end2end.index.txn.TxWriteFailureIT
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.007 sec <<< 
FAILURE! - in org.apache.phoenix.end2end.index.txn.TxWriteFailureIT
org.apache.phoenix.end2end.index.txn.TxWriteFailureIT  Time elapsed: 0.006 sec  
<<< ERROR!
java.lang.RuntimeException: java.io.IOException: Shutting down
at 
org.apache.phoenix.end2end.index.txn.TxWriteFailureIT.doSetup(TxWriteFailureIT.java:86)
Caused by: java.io.IOException: Shutting down
at 
org.apache.phoenix.end2end.index.txn.TxWriteFailureIT.doSetup(TxWriteFailureIT.java:86)
Caused by: java.lang.RuntimeException: Master not initialized after 20ms 
seconds
at 
org.apache.phoenix.end2end.index.txn.TxWriteFailureIT.doSetup(TxWriteFailureIT.java:86)

Running org.apache.phoenix.execute.PartialCommitIT
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.007 sec <<< 
FAILURE! - in org.apache.phoenix.execute.PartialCommitIT
org.apache.phoenix.execute.PartialCommitIT  Time elapsed: 0.006 sec  <<< ERROR!
java.lang.RuntimeException: java.io.IOException: Shutting down
at 

Apache-Phoenix | Master | Build Successful

2016-05-10 Thread Apache Jenkins Server
Master branch build status Successful
Source repository https://git-wip-us.apache.org/repos/asf?p=phoenix.git;a=shortlog;h=refs/heads/master

Last Successful Compiled Artifacts https://builds.apache.org/job/Phoenix-master/lastSuccessfulBuild/artifact/

Last Complete Test Report https://builds.apache.org/job/Phoenix-master/lastCompletedBuild/testReport/

Changes
[twdsilva] PHOENIX-2791 Support append only schema declaration



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


[2/2] phoenix git commit: PHOENIX-2791 Support append only schema declaration

2016-05-10 Thread tdsilva
PHOENIX-2791 Support append only schema declaration


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

Branch: refs/heads/4.x-HBase-1.0
Commit: 4ca06a39e6ac2d8fd0c6ccc54a953bc72bfdde21
Parents: 96b026a
Author: Thomas D'Silva 
Authored: Thu May 5 15:38:18 2016 -0700
Committer: Thomas D'Silva 
Committed: Tue May 10 15:56:30 2016 -0700

--
 .../phoenix/end2end/AppendOnlySchemaIT.java | 330 +++
 .../phoenix/end2end/AutoPartitionViewsIT.java   |   6 +-
 .../apache/phoenix/compile/FromCompiler.java|   2 +-
 .../apache/phoenix/compile/JoinCompiler.java|   3 +-
 .../compile/TupleProjectionCompiler.java|   5 +-
 .../apache/phoenix/compile/UnionCompiler.java   |   2 +-
 .../coprocessor/MetaDataEndpointImpl.java   |  17 +-
 .../coprocessor/generated/PTableProtos.java | 103 +-
 .../phoenix/exception/SQLExceptionCode.java |   4 +
 .../phoenix/jdbc/PhoenixDatabaseMetaData.java   |   3 +
 .../org/apache/phoenix/parse/ColumnDef.java |   7 +-
 .../query/ConnectionQueryServicesImpl.java  |  26 +-
 .../apache/phoenix/query/QueryConstants.java|   2 +
 .../apache/phoenix/schema/DelegateTable.java|   6 +
 .../apache/phoenix/schema/MetaDataClient.java   | 203 +---
 .../java/org/apache/phoenix/schema/PTable.java  |   9 +-
 .../org/apache/phoenix/schema/PTableImpl.java   |  59 +++-
 .../apache/phoenix/schema/TableProperty.java|   3 +-
 .../org/apache/phoenix/util/MetaDataUtil.java   |  12 +-
 .../phoenix/execute/CorrelatePlanTest.java  |   2 +-
 .../execute/LiteralResultIteratorPlanTest.java  |   2 +-
 phoenix-protocol/src/main/PTable.proto  |   1 +
 22 files changed, 706 insertions(+), 101 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/4ca06a39/phoenix-core/src/it/java/org/apache/phoenix/end2end/AppendOnlySchemaIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/AppendOnlySchemaIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/AppendOnlySchemaIT.java
new file mode 100644
index 000..d764445
--- /dev/null
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/AppendOnlySchemaIT.java
@@ -0,0 +1,330 @@
+/*
+ * 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.apache.phoenix.util.TestUtil.TEST_PROPERTIES;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertTrue;
+import static org.junit.Assert.fail;
+import static org.mockito.Matchers.any;
+import static org.mockito.Matchers.anyList;
+import static org.mockito.Matchers.anyListOf;
+import static org.mockito.Matchers.anyLong;
+import static org.mockito.Matchers.anyMap;
+import static org.mockito.Matchers.eq;
+import static org.mockito.Matchers.isNull;
+import static org.mockito.Mockito.atMost;
+import static org.mockito.Mockito.never;
+import static org.mockito.Mockito.reset;
+import static org.mockito.Mockito.verify;
+
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.ResultSet;
+import java.sql.SQLException;
+import java.util.List;
+import java.util.Properties;
+
+import org.apache.hadoop.hbase.client.Mutation;
+import org.apache.hadoop.hbase.util.Bytes;
+import org.apache.phoenix.exception.SQLExceptionCode;
+import org.apache.phoenix.jdbc.PhoenixConnection;
+import org.apache.phoenix.jdbc.PhoenixEmbeddedDriver;
+import org.apache.phoenix.query.ConnectionQueryServices;
+import org.apache.phoenix.schema.PColumn;
+import org.apache.phoenix.schema.PName;
+import org.apache.phoenix.schema.PTable;
+import org.apache.phoenix.schema.PTableKey;
+import org.apache.phoenix.schema.PTableType;
+import org.apache.phoenix.schema.TableAlreadyExistsException;
+import 

[2/2] phoenix git commit: PHOENIX-2791 Support append only schema declaration

2016-05-10 Thread tdsilva
PHOENIX-2791 Support append only schema declaration


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

Branch: refs/heads/4.x-HBase-0.98
Commit: 0047e5d4c6b855dde9137667fb3f410fffc8bf0a
Parents: 2620782
Author: Thomas D'Silva 
Authored: Thu May 5 15:38:18 2016 -0700
Committer: Thomas D'Silva 
Committed: Tue May 10 15:52:13 2016 -0700

--
 .../phoenix/end2end/AppendOnlySchemaIT.java | 330 +++
 .../phoenix/end2end/AutoPartitionViewsIT.java   |   6 +-
 .../apache/phoenix/compile/FromCompiler.java|   2 +-
 .../apache/phoenix/compile/JoinCompiler.java|   3 +-
 .../compile/TupleProjectionCompiler.java|   5 +-
 .../apache/phoenix/compile/UnionCompiler.java   |   2 +-
 .../coprocessor/MetaDataEndpointImpl.java   |  17 +-
 .../coprocessor/generated/PTableProtos.java | 103 +-
 .../phoenix/exception/SQLExceptionCode.java |   4 +
 .../phoenix/jdbc/PhoenixDatabaseMetaData.java   |   3 +
 .../org/apache/phoenix/parse/ColumnDef.java |   7 +-
 .../query/ConnectionQueryServicesImpl.java  |  26 +-
 .../apache/phoenix/query/QueryConstants.java|   2 +
 .../apache/phoenix/schema/DelegateTable.java|   6 +
 .../apache/phoenix/schema/MetaDataClient.java   | 203 +---
 .../java/org/apache/phoenix/schema/PTable.java  |   9 +-
 .../org/apache/phoenix/schema/PTableImpl.java   |  59 +++-
 .../apache/phoenix/schema/TableProperty.java|   3 +-
 .../org/apache/phoenix/util/MetaDataUtil.java   |  12 +-
 .../phoenix/execute/CorrelatePlanTest.java  |   2 +-
 .../execute/LiteralResultIteratorPlanTest.java  |   2 +-
 phoenix-protocol/src/main/PTable.proto  |   1 +
 22 files changed, 706 insertions(+), 101 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/0047e5d4/phoenix-core/src/it/java/org/apache/phoenix/end2end/AppendOnlySchemaIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/AppendOnlySchemaIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/AppendOnlySchemaIT.java
new file mode 100644
index 000..d764445
--- /dev/null
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/AppendOnlySchemaIT.java
@@ -0,0 +1,330 @@
+/*
+ * 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.apache.phoenix.util.TestUtil.TEST_PROPERTIES;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertTrue;
+import static org.junit.Assert.fail;
+import static org.mockito.Matchers.any;
+import static org.mockito.Matchers.anyList;
+import static org.mockito.Matchers.anyListOf;
+import static org.mockito.Matchers.anyLong;
+import static org.mockito.Matchers.anyMap;
+import static org.mockito.Matchers.eq;
+import static org.mockito.Matchers.isNull;
+import static org.mockito.Mockito.atMost;
+import static org.mockito.Mockito.never;
+import static org.mockito.Mockito.reset;
+import static org.mockito.Mockito.verify;
+
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.ResultSet;
+import java.sql.SQLException;
+import java.util.List;
+import java.util.Properties;
+
+import org.apache.hadoop.hbase.client.Mutation;
+import org.apache.hadoop.hbase.util.Bytes;
+import org.apache.phoenix.exception.SQLExceptionCode;
+import org.apache.phoenix.jdbc.PhoenixConnection;
+import org.apache.phoenix.jdbc.PhoenixEmbeddedDriver;
+import org.apache.phoenix.query.ConnectionQueryServices;
+import org.apache.phoenix.schema.PColumn;
+import org.apache.phoenix.schema.PName;
+import org.apache.phoenix.schema.PTable;
+import org.apache.phoenix.schema.PTableKey;
+import org.apache.phoenix.schema.PTableType;
+import org.apache.phoenix.schema.TableAlreadyExistsException;
+import 

[2/2] phoenix git commit: PHOENIX-2791 Support append only schema declaration

2016-05-10 Thread tdsilva
PHOENIX-2791 Support append only schema declaration


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

Branch: refs/heads/master
Commit: a0504fba12363eaa27ea3fd224671e92cb11a468
Parents: a8a3616
Author: Thomas D'Silva 
Authored: Thu May 5 15:38:18 2016 -0700
Committer: Thomas D'Silva 
Committed: Tue May 10 15:10:25 2016 -0700

--
 .../phoenix/end2end/AppendOnlySchemaIT.java | 330 +++
 .../phoenix/end2end/AutoPartitionViewsIT.java   |   6 +-
 .../apache/phoenix/compile/FromCompiler.java|   2 +-
 .../apache/phoenix/compile/JoinCompiler.java|   3 +-
 .../compile/TupleProjectionCompiler.java|   5 +-
 .../apache/phoenix/compile/UnionCompiler.java   |   2 +-
 .../coprocessor/MetaDataEndpointImpl.java   |  17 +-
 .../coprocessor/generated/PTableProtos.java | 103 +-
 .../phoenix/exception/SQLExceptionCode.java |   4 +
 .../phoenix/jdbc/PhoenixDatabaseMetaData.java   |   3 +
 .../org/apache/phoenix/parse/ColumnDef.java |   7 +-
 .../query/ConnectionQueryServicesImpl.java  |  26 +-
 .../apache/phoenix/query/QueryConstants.java|   2 +
 .../apache/phoenix/schema/DelegateTable.java|   6 +
 .../apache/phoenix/schema/MetaDataClient.java   | 203 +---
 .../java/org/apache/phoenix/schema/PTable.java  |   9 +-
 .../org/apache/phoenix/schema/PTableImpl.java   |  59 +++-
 .../apache/phoenix/schema/TableProperty.java|   3 +-
 .../org/apache/phoenix/util/MetaDataUtil.java   |  12 +-
 .../phoenix/execute/CorrelatePlanTest.java  |   2 +-
 .../execute/LiteralResultIteratorPlanTest.java  |   2 +-
 phoenix-protocol/src/main/PTable.proto  |   1 +
 22 files changed, 706 insertions(+), 101 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/a0504fba/phoenix-core/src/it/java/org/apache/phoenix/end2end/AppendOnlySchemaIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/AppendOnlySchemaIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/AppendOnlySchemaIT.java
new file mode 100644
index 000..d764445
--- /dev/null
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/AppendOnlySchemaIT.java
@@ -0,0 +1,330 @@
+/*
+ * 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.apache.phoenix.util.TestUtil.TEST_PROPERTIES;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertTrue;
+import static org.junit.Assert.fail;
+import static org.mockito.Matchers.any;
+import static org.mockito.Matchers.anyList;
+import static org.mockito.Matchers.anyListOf;
+import static org.mockito.Matchers.anyLong;
+import static org.mockito.Matchers.anyMap;
+import static org.mockito.Matchers.eq;
+import static org.mockito.Matchers.isNull;
+import static org.mockito.Mockito.atMost;
+import static org.mockito.Mockito.never;
+import static org.mockito.Mockito.reset;
+import static org.mockito.Mockito.verify;
+
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.ResultSet;
+import java.sql.SQLException;
+import java.util.List;
+import java.util.Properties;
+
+import org.apache.hadoop.hbase.client.Mutation;
+import org.apache.hadoop.hbase.util.Bytes;
+import org.apache.phoenix.exception.SQLExceptionCode;
+import org.apache.phoenix.jdbc.PhoenixConnection;
+import org.apache.phoenix.jdbc.PhoenixEmbeddedDriver;
+import org.apache.phoenix.query.ConnectionQueryServices;
+import org.apache.phoenix.schema.PColumn;
+import org.apache.phoenix.schema.PName;
+import org.apache.phoenix.schema.PTable;
+import org.apache.phoenix.schema.PTableKey;
+import org.apache.phoenix.schema.PTableType;
+import org.apache.phoenix.schema.TableAlreadyExistsException;
+import