trafodion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hzel...@apache.org
Subject [1/3] incubator-trafodion git commit: [TRAFODION-2637] Part 2: Rework
Date Tue, 27 Jun 2017 18:19:40 GMT
Repository: incubator-trafodion
Updated Branches:
  refs/heads/master 9e31984ea -> 665ea9330


[TRAFODION-2637] Part 2: Rework

This is cleanup and rework for an earlier PR that somehow got messed
up.  The first commit of PR 1141 got merged into Master without
indicating so in the PR.

I am submitting a new commit with the rework from the review comments
here.


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/13cb0468
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/13cb0468
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/13cb0468

Branch: refs/heads/master
Commit: 13cb04682cba886c6e7504bff6c5468836f8384a
Parents: c7dfd5a
Author: Hans Zeller <hzeller@apache.org>
Authored: Mon Jun 26 23:57:29 2017 +0000
Committer: Hans Zeller <hzeller@apache.org>
Committed: Mon Jun 26 23:57:29 2017 +0000

----------------------------------------------------------------------
 .../src/main/java/org/trafodion/libmgmt/SyncLibUDF.java       | 7 ++++---
 core/sql/udrserv/udrserv.cpp                                  | 6 ------
 2 files changed, 4 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/13cb0468/core/sql/lib_mgmt/src/main/java/org/trafodion/libmgmt/SyncLibUDF.java
----------------------------------------------------------------------
diff --git a/core/sql/lib_mgmt/src/main/java/org/trafodion/libmgmt/SyncLibUDF.java b/core/sql/lib_mgmt/src/main/java/org/trafodion/libmgmt/SyncLibUDF.java
index 3f8daf0..523f964 100644
--- a/core/sql/lib_mgmt/src/main/java/org/trafodion/libmgmt/SyncLibUDF.java
+++ b/core/sql/lib_mgmt/src/main/java/org/trafodion/libmgmt/SyncLibUDF.java
@@ -43,10 +43,11 @@ public class SyncLibUDF extends UDR {
     public void describeParamsAndColumns(UDRInvocationInfo info)
         throws UDRException
     {
-        // this TMUDF takes no table-valued inputs, two string
+        // This TMUDF takes no table-valued inputs, two string
         // parameters, and generates a table with a single integer
-        // value. It assumes that it was created with the following
-        // DDL, without specifying parameters or return values:
+        // column (one row per parallel instance). It assumes that it
+        // was created with the following DDL, without specifying
+        // parameters or return values:
         //
         //  create table_mapping function SyncLibUDF()
         //  external name 'org.trafodion.libmgmt.SyncLibUDF'

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/13cb0468/core/sql/udrserv/udrserv.cpp
----------------------------------------------------------------------
diff --git a/core/sql/udrserv/udrserv.cpp b/core/sql/udrserv/udrserv.cpp
index 0a3629a..29654b1 100644
--- a/core/sql/udrserv/udrserv.cpp
+++ b/core/sql/udrserv/udrserv.cpp
@@ -176,12 +176,6 @@ static Int32 processCommandsFromFile(const char *filename, UdrGlobals
&glob);
 static Int32 processSingleCommandFromFile(FILE *f, UdrGlobals &glob);
 // LCOV_EXCL_STOP
 
-// Changed the default to 512 to limit java heap size used by SQL processes.
-// Keep this define in sync with executor/JavaObjectInterface.cpp
-#define DEFAULT_JVM_MAX_HEAP_SIZE 512
-#define DEFAULT_COMPRESSED_CLASSSPACE_SIZE 128
-#define DEFAULT_MAX_METASPACE_SIZE 128
-
 static NAString initErrText("");
 /*************************************************************************
    Helper function to propagate all Java-related environment settings


Mime
View raw message