You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Bill Au (JIRA)" <ji...@apache.org> on 2007/07/12 15:04:04 UTC

[jira] Updated: (SOLR-294) scripts fail to log elapsed time on Solaris

     [ https://issues.apache.org/jira/browse/SOLR-294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bill Au updated SOLR-294:
-------------------------

    Attachment: solr-294.patch

Here is the patch to using

perl -e "print time;"

to get the timestamp in seconds on Solaris.

I have added a new function in scripts-util to set the start time and updated all the scripts to use that.  This way the code to get timestamp and to calculate elapsed time is centralized in scripts.util.  We will just have to update a single source if we need to change it to support additional OSes.

> scripts fail to log elapsed time on Solaris
> -------------------------------------------
>
>                 Key: SOLR-294
>                 URL: https://issues.apache.org/jira/browse/SOLR-294
>             Project: Solr
>          Issue Type: Bug
>          Components: replication
>         Environment: Solaris
>            Reporter: Bill Au
>            Assignee: Bill Au
>            Priority: Minor
>         Attachments: solr-294.patch
>
>
> The code in the scritps to determine the elapsed time does not work on Solaris because the date command there does not support the %s output format.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.