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

Reply via email to