lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Au (JIRA)" <>
Subject [jira] Updated: (SOLR-294) scripts fail to log elapsed time on Solaris
Date Thu, 12 Jul 2007 13:04:04 GMT


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:
>             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.

View raw message