svn commit: r1712862 - in /uima/site/trunk/uima-website: docs/downloads.html velocity.log xdocs/downloads.xml

2015-11-05 Thread cwiklik
Author: cwiklik
Date: Thu Nov  5 20:08:03 2015
New Revision: 1712862

URL: http://svn.apache.org/viewvc?rev=1712862&view=rev
Log:
removed DUCC 2.0.0 download. This can be downloaded from archives

Modified:
uima/site/trunk/uima-website/docs/downloads.html
uima/site/trunk/uima-website/velocity.log
uima/site/trunk/uima-website/xdocs/downloads.xml

Modified: uima/site/trunk/uima-website/docs/downloads.html
URL: 
http://svn.apache.org/viewvc/uima/site/trunk/uima-website/docs/downloads.html?rev=1712862&r1=1712861&r2=1712862&view=diff
==
--- uima/site/trunk/uima-website/docs/downloads.html (original)
+++ uima/site/trunk/uima-website/docs/downloads.html Thu Nov  5 20:08:03 2015
@@ -389,82 +389,6 @@ Other mirrors: 



-  
-Apache UIMA DUCC Version 2.0.0
-
-  
-  
-  
-
-  
-  
-
-
-  Artifact
-  Release  Notes
-  Binary
-  Source
-  Release Date
-  
-
-
-
-  
-
-  
-  UIMA DUCC
-  
-
-html
-  
-
-
-  
- tar.gz
- [asc]
- [md5]
- [sha1]
- 
-
-  
-
-
-  
- zip
- [asc]
- [md5]
- [sha1]
- 
-
-  
-
-  11-Aug-2015
-
-  
-
-
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  
-  Note: For a script 
that will migrate an existing installation to a new version try ducc_update
-
-
-
-  
-
-   
-   
-   
   
 Apache UIMA Version 2.8.1
 

Modified: uima/site/trunk/uima-website/velocity.log
URL: 
http://svn.apache.org/viewvc/uima/site/trunk/uima-website/velocity.log?rev=1712862&r1=1712861&r2=1712862&view=diff
==
--- uima/site/trunk/uima-website/velocity.log (original)
+++ uima/site/trunk/uima-website/velocity.log Thu Nov  5 20:08:03 2015
@@ -1,74 +1,119 @@
-Mon Oct 26 14:46:15 EDT 2015  [debug] AvalonLogSystem initialized using 
logfile 'velocity.log'
-Mon Oct 26 14:46:15 EDT 2015   [info] 
** 
-Mon Oct 26 14:46:15 EDT 2015   [info] Starting Jakarta Velocity v1.5-dev
-Mon Oct 26 14:46:15 EDT 2015   [info] RuntimeInstance initializing.
-Mon Oct 26 14:46:15 EDT 2015   [info] Default Properties File: 
org/apache/velocity/runtime/defaults/velocity.properties
-Mon Oct 26 14:46:15 EDT 2015   [info] Trying to use logger class 
org.apache.velocity.runtime.log.AvalonLogSystem
-Mon Oct 26 14:46:15 EDT 2015   [info] Using logger class 
org.apache.velocity.runtime.log.AvalonLogSystem
-Mon Oct 26 14:46:15 EDT 2015   [info] Default ResourceManager initializing. 
(class org.apache.velocity.runtime.resource.ResourceManagerImpl)
-Mon Oct 26 14:46:15 EDT 2015   [info] Resource Loader Instantiated: 
org.apache.velocity.runtime.resource.loader.FileResourceLoader
-Mon Oct 26 14:46:15 EDT 2015   [info] FileResourceLoader : initialization 
starting.
-Mon Oct 26 14:46:15 EDT 2015   [info] FileResourceLoader : adding path '.'
-Mon Oct 26 14:46:15 EDT 2015   [info] FileResourceLoader : initialization 
complete.
-Mon Oct 26 14:46:15 EDT 2015   [info] ResourceCache : initialized. (class 
org.apache.velocity.runtime.resource.ResourceCacheImpl)
-Mon Oct 26 14:46:15 EDT 2015   [info] Default ResourceManager initialization 
complete.
-Mon Oct 26 14:46:15 EDT 2015   [info] Loaded System Directive: 
org.apache.velocity.runtime.directive.Literal
-Mon Oct 26 14:46:15 EDT 2015   [info] Loaded System Directive: 
org.apache.velocity.runtime.directive.Macro
-Mon Oct 26 14:46:15 EDT 2015   [info] Loaded System Directive: 
org.apache.velocity.runtime.directive.Parse
-Mon Oct 26 14:46:15 EDT 2015   [info] Loaded System Directive: 
org.apache.velocity.runtime.directive.Include
-Mon Oct 26 14:46:15 EDT 2015   [info] Loaded System Directive: 
org.apache.velocity.runtime.directive.Foreach
-Mon Oct 26 14:46:15 EDT 2015   [info] Created '20' parsers.
-Mon Oct 26 14:46:15 EDT 2015   [info] Velocimacro : initialization starting.
-Mon Oct 26 14:46:15 EDT 2015   [info] Velocimacro : adding VMs from VM library 
template : VM_global_library.vm
-Mon Oct 26 14:46:15 EDT 2015  [error] ResourceManager : unable to find 
resource 'VM_global_library.vm' in any res

svn commit: r1712850 - in /uima/sandbox/uima-ducc/trunk: src/main/admin/ src/main/assembly/ src/main/resources/ src/main/resources/private/ uima-ducc-common/src/main/java/org/apache/uima/ducc/common/p

2015-11-05 Thread challngr
Author: challngr
Date: Thu Nov  5 19:23:05 2015
New Revision: 1712850

URL: http://svn.apache.org/viewvc?rev=1712850&view=rev
Log:
UIMA-4755 Scripting and build updates.

Added:
uima/sandbox/uima-ducc/trunk/src/main/admin/db_create   (with props)
uima/sandbox/uima-ducc/trunk/src/main/admin/db_util.py
uima/sandbox/uima-ducc/trunk/src/main/resources/cassandra.yaml   (with 
props)
Removed:
uima/sandbox/uima-ducc/trunk/src/main/resources/cassandra.yaml.prep
uima/sandbox/uima-ducc/trunk/src/main/resources/private/database.xml
Modified:
uima/sandbox/uima-ducc/trunk/src/main/admin/check_ducc
uima/sandbox/uima-ducc/trunk/src/main/admin/db_loader
uima/sandbox/uima-ducc/trunk/src/main/admin/ducc.py
uima/sandbox/uima-ducc/trunk/src/main/admin/ducc_post_install
uima/sandbox/uima-ducc/trunk/src/main/admin/ducc_util.py
uima/sandbox/uima-ducc/trunk/src/main/assembly/bin.xml
uima/sandbox/uima-ducc/trunk/src/main/resources/cassandra-env.sh

uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/main/java/org/apache/uima/ducc/common/persistence/rm/IRmPersistence.java

uima/sandbox/uima-ducc/trunk/uima-ducc-database/src/main/java/org/apache/uima/ducc/database/DbAlive.java

uima/sandbox/uima-ducc/trunk/uima-ducc-database/src/main/java/org/apache/uima/ducc/database/DbCreate.java

uima/sandbox/uima-ducc/trunk/uima-ducc-database/src/main/java/org/apache/uima/ducc/database/DbLoader.java

uima/sandbox/uima-ducc/trunk/uima-ducc-database/src/main/java/org/apache/uima/ducc/database/RmStatePersistence.java

uima/sandbox/uima-ducc/trunk/uima-ducc-rm/src/main/java/org/apache/uima/ducc/rm/scheduler/NodePool.java

Modified: uima/sandbox/uima-ducc/trunk/src/main/admin/check_ducc
URL: 
http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/src/main/admin/check_ducc?rev=1712850&r1=1712849&r2=1712850&view=diff
==
--- uima/sandbox/uima-ducc/trunk/src/main/admin/check_ducc (original)
+++ uima/sandbox/uima-ducc/trunk/src/main/admin/check_ducc Thu Nov  5 19:23:05 
2015
@@ -55,7 +55,7 @@ class CheckDucc(DuccUtil):
 if ( self.db_bypass == True ):
 return True
 
-ret = self.db_alive()
+ret = self.db_alive(3)
 if ( ret ):
 print 'The database is running'
 else:

Added: uima/sandbox/uima-ducc/trunk/src/main/admin/db_create
URL: 
http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/src/main/admin/db_create?rev=1712850&view=auto
==
--- uima/sandbox/uima-ducc/trunk/src/main/admin/db_create (added)
+++ uima/sandbox/uima-ducc/trunk/src/main/admin/db_create Thu Nov  5 19:23:05 
2015
@@ -0,0 +1,110 @@
+#!/usr/bin/env python
+# ---
+# 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.
+# ---
+
+
+import os
+import sys
+import getopt
+
+import shutil
+import subprocess
+from  stat import *
+
+from ducc_util import DuccUtil
+
+
+from ducc_base import Properties
+from ducc_base import Property
+
+from ducc_base import find_ducc_home
+from ducc_base import find_localhost
+
+from ducc import Ducc
+
+import db_util as dbu
+
+# 
+# Create and initialize the DUCC database.  In a new installation this is 
handled by
+# ducc_post_install.  Older installations need to run db_create as one of the 
steps
+# of migration to the DB.
+#
+class DbCreate(DuccUtil):
+
+def usage(self, msg):
+
+if ( msg != None ):
+print ' '.join(msg)
+
+  
+print 'DbCreate configures the database and installs the schema.'
+print ''
+print "Usage:"
+print "   db_create [options]"
+print "If no options prompts are given for expected 
parameters."
+print ""
+print "Options:"
+print "   [-n, --head-node] "
+print "This is the name of the host that will run the DUCC 
management processes."
+print ""
+print "   [-, --db-password] "
+print "This is the password DUCC uses to manage the database."