[GitHub] incubator-trafodion pull request #1347: TRAFODION-2846 optimize for batchExc...

2017-12-14 Thread mashengchen
GitHub user mashengchen opened a pull request:

https://github.com/apache/incubator-trafodion/pull/1347

TRAFODION-2846 optimize for batchException message display



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/mashengchen/incubator-trafodion 
batchExceptionMsg

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-trafodion/pull/1347.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1347


commit 3fb277efbfccaf4f0b8439fe7b532baf98611085
Author: aven 
Date:   2017-12-15T05:29:35Z

TRAFODION-2846 optimize for batchException message display




---


[GitHub] incubator-trafodion pull request #1346: [TRAFODION-2845] Correct the syntax ...

2017-12-14 Thread liuyu000
GitHub user liuyu000 opened a pull request:

https://github.com/apache/incubator-trafodion/pull/1346

[TRAFODION-2845] Correct the syntax descriptions of LOAD Statement for 
*Trafodion SQL Reference Manual*



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/liuyu000/incubator-trafodion LoadStatement

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-trafodion/pull/1346.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1346


commit 1006ee725a5f06f327ac650861377a915392da56
Author: liu.yu 
Date:   2017-12-15T03:49:10Z

Correct the syntax descriptions of LOAD Statement for *Trafodion SQL 
Reference Manual*




---


[GitHub] incubator-trafodion pull request #817: [TRAFODION-2328]There is no active Dc...

2017-12-14 Thread orrk
Github user orrk closed the pull request at:

https://github.com/apache/incubator-trafodion/pull/817


---


[GitHub] incubator-trafodion pull request #1344: TRAFODION-2844 add strategy to dcsse...

2017-12-14 Thread hegdean
Github user hegdean commented on a diff in the pull request:


https://github.com/apache/incubator-trafodion/pull/1344#discussion_r157074271
  
--- Diff: dcs/src/main/java/org/trafodion/dcs/server/ServerManager.java ---
@@ -255,33 +259,17 @@ private void cleanupZk() {
 CountDownLatch startSignal = new CountDownLatch(1);
 RetryCounter retryCounter;
 
-public void reset() {
-startSignal.countDown();
-startSignal = new CountDownLatch(1);
-boolean isRunning = this.serverMonitor.monitor();
-String nid = this.serverMonitor.nid;
-String pid = this.serverMonitor.pid;
-
-if (isRunning) {
-LOG.info("mxosrvr " + nid + "," + pid + " still running");
-this.retryCounter.resetAttemptTimes();
-} else {
-LOG.info("mxosrvr " + nid + "," + pid + " exited, 
restarting, restart attempt time : "
-+ this.retryCounter.getAttemptTimes());
-}
-}
-
 public ServerHandler(Configuration conf ,int childInstance) {
 int maxRestartAttempts = 
conf.getInt(Constants.DCS_SERVER_USER_PROGRAM_RESTART_HANDLER_ATTEMPTS,
 
Constants.DEFAULT_DCS_SERVER_USER_PROGRAM_RESTART_HANDLER_ATTEMPTS);
-int retryIntervalMillis = conf.getInt(
-
Constants.DCS_SERVER_USER_PROGRAM_RESTART_HANDLER_RETRY_INTERVAL_MILLIS,
-
Constants.DEFAULT_DCS_SERVER_USER_PROGRAM_RESTART_HANDLER_RETRY_INTERVAL_MILLIS);
+int retryIntervalMinutes = conf.getInt(
--- End diff --

Why did we change from millis to minutes. Millis is more granular and you 
can achieve mins from millis


---


[GitHub] incubator-trafodion pull request #1341: [TRAFODION-2733] BMO quota changes

2017-12-14 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/incubator-trafodion/pull/1341


---


[GitHub] incubator-trafodion pull request #1325: fix TRAFODION-2830

2017-12-14 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/incubator-trafodion/pull/1325


---


[GitHub] incubator-trafodion pull request #1324: TRAFODION-2829 the examples of pytho...

2017-12-14 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/incubator-trafodion/pull/1324


---


[GitHub] incubator-trafodion pull request #1340: [TRAFODION-2843] Fix outer join on a...

2017-12-14 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/incubator-trafodion/pull/1340


---


[GitHub] incubator-trafodion pull request #1344: TRAFODION-2844 add strategy to dcsse...

2017-12-14 Thread mashengchen
GitHub user mashengchen opened a pull request:

https://github.com/apache/incubator-trafodion/pull/1344

TRAFODION-2844 add strategy to dcsserver for restart moxsrvr

when mxosrvr down ,dcsserver will restart it , and if mxosrvr down a lot of 
times in a period of time , there should reject the restart. if time between 6 
times age(default setting) and this time are a very long time, dcsserver should 
allow the restart

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/mashengchen/incubator-trafodion mxosrvrRestart

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-trafodion/pull/1344.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1344


commit d41654fe70fd67740651da503e3c73e1b64e4168
Author: aven 
Date:   2017-12-14T10:35:54Z

TRAFODION-2844 add strategy to dcsserver for restart moxsrvr




---