[ 
https://issues.apache.org/jira/browse/JENA-977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14638954#comment-14638954
 ] 

Andy Seaborne edited comment on JENA-977 at 7/23/15 3:04 PM:
-------------------------------------------------------------

Still failing and also earlier fixes undone.

{noformat}
JENA_HOME not set, attempting to locate JENA_HOME automatically
Located JENA_HOME at /home/afs/Release/apache-jena-3.0.0-SNAPSHOT
 15:50:11 INFO -- TDB Bulk Loader Start
 15:50:11 INFO Data Load Phase
 15:50:11 INFO Got 1 data files to load
 15:50:11 INFO Data file 1: /home/afs/tmp/D.ttl
INFO  Load: /home/afs/tmp/D.ttl -- 2015/07/23 15:50:12 BST
INFO  Total: 1 tuples : 0.08 seconds : 12.35 tuples/sec [2015/07/23 15:50:12 
BST]
 15:50:12 INFO Data Load Phase Completed
 15:50:12 INFO Index Building Phase
 15:50:12 INFO Creating Index SPO
/home/afs/Release/apache-jena-3.0.0-SNAPSHOT/bin/tdbloader2index: line 346: [:  
            total       used       free     shared    buffers     cached
Mem:    33687789568 9095151616 24592637952  116035584  461705216 4433141760
-/+ buffers/cache: 4200304640 29487484928
Swap:   34359734272          0 34359734272: integer expression expected
 15:50:12 WARN Unable to determine free memory on your OS, can't check whether 
sort will be in-memory or external sort using Temp Directory /tmp/
 15:50:12 INFO Sort SPO
{noformat}

The 
{noformat}
JENA_HOME not set, attempting to locate JENA_HOME automatically
Located JENA_HOME at /home/afs/Release/apache-jena-3.0.0-SNAPSHOT
{noformat}
had fixed by removing those echos (same done to all other scripts).  Normal use 
is the scripts find {{JENA_HOME}} themselves.  I guess you have JENA_HOME set.

FYI: free -b =>
{noformat}
             total       used       free     shared    buffers     cached
Mem:    33687789568 9065099264 24622690304  116862976  462147584 4433760256
-/+ buffers/cache: 4169191424 29518598144
Swap:   34359734272          0 34359734272
{noformat}
and this becomes the value of {{FREE_MEM}}.


was (Author: andy.seaborne):
Still failing and also earlier fixes undone.

{noformat}
JENA_HOME not set, attempting to locate JENA_HOME automatically
Located JENA_HOME at /home/afs/Release/apache-jena-3.0.0-SNAPSHOT
 15:50:11 INFO -- TDB Bulk Loader Start
 15:50:11 INFO Data Load Phase
 15:50:11 INFO Got 1 data files to load
 15:50:11 INFO Data file 1: /home/afs/tmp/D.ttl
INFO  Load: /home/afs/tmp/D.ttl -- 2015/07/23 15:50:12 BST
INFO  Total: 1 tuples : 0.08 seconds : 12.35 tuples/sec [2015/07/23 15:50:12 
BST]
 15:50:12 INFO Data Load Phase Completed
 15:50:12 INFO Index Building Phase
 15:50:12 INFO Creating Index SPO
/home/afs/Release/apache-jena-3.0.0-SNAPSHOT/bin/tdbloader2index: line 346: [:  
            total       used       free     shared    buffers     cached
Mem:    33687789568 9095151616 24592637952  116035584  461705216 4433141760
-/+ buffers/cache: 4200304640 29487484928
Swap:   34359734272          0 34359734272: integer expression expected
 15:50:12 WARN Unable to determine free memory on your OS, can't check whether 
sort will be in-memory or external sort using Temp Directory /tmp/
 15:50:12 INFO Sort SPO
{noformat}

The 
{noformat}
JENA_HOME not set, attempting to locate JENA_HOME automatically
Located JENA_HOME at /home/afs/Release/apache-jena-3.0.0-SNAPSHOT
{noformat}
had fixed by removing those echos (same done to all other scripts).  Normal use 
is the scripts find {{JENA_HOME}} themselves.  I guess you have JENA_HOME set.

FYI: free -b =>
{noformat}
             total       used       free     shared    buffers     cached
Mem:    33687789568 9065099264 24622690304  116862976  462147584 4433760256
-/+ buffers/cache: 4169191424 29518598144
Swap:   34359734272          0 34359734272
{noformat}

> tdbloader2 script refactoring
> -----------------------------
>
>                 Key: JENA-977
>                 URL: https://issues.apache.org/jira/browse/JENA-977
>             Project: Apache Jena
>          Issue Type: Improvement
>          Components: TDB
>    Affects Versions: Jena 2.13.0
>            Reporter: Rob Vesse
>            Assignee: Rob Vesse
>            Priority: Blocker
>             Fix For: Jena 2.13.1, Jena 3.0.0
>
>
> As noted on the dev list the current scripts are a little rough around the 
> edges, work items include:
> - Splitting data and index phase into separate scripts
> - Being able to restart a build from a later phase
> - Progress monitoring for the sort portion of indexing
> - Warning if sort is using a disk where you may have insufficient space
> - Better usage summaries
> - Better argument handling (avoid relying on magic environment variables 
> wherever possible)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to