Uploaded image for project: 'NetarchiveSuite'
  1. NetarchiveSuite
  2. NAS-1624

Replace bytes with Mbytes in bitarchive settings

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Unresolved
    • Minor
    • None
    • 0.5
    • Archive
    • None

    Description

      Suggest using MBytes instead of bytes in the bitarchive-settings.
      Too many digits IMHO.
      In the following example:
      CONFIG: Requiring at least 2000000000 bytes free.
      2005-06-23 16:42:45 dk.netarkivet.bitarchive.BitArchiveAdmin <init>
      CONFIG: Using bit archive directory '.\bitarkiv' with 103470418 bytes of content
      out of 1000000000000
      2005-06-23 16:42:45 dk.netarkivet.bitarchive.BitArchiveAdmin <init>
      CONFIG: Using bit archive directory 'q:\bitarkiv' with 24581555390 bytes of
      content out of 1000000000000
      The numbers could be replaced as follows:
      2000000000 bytes => 19073486328125 Mbytes (rounded to 1907)
      4 digits instead of 10
      1000000000000 => 95367431640625 Mbytes (rounded to 953674)
      6 digits instead of 13
      Full logging of bitarchive startup:
      -----------------------------------
      2005-06-23 16:42:45 dk.netarkivet.utils.ApplicationUtils logAndPrint
      INFO: Starting dk.netarkivet.distribute.bitarchive.BitarchiveServer
      2005-06-23 16:42:45 dk.netarkivet.utils.ApplicationUtils logAndPrint
      INFO: dk.netarkivet.distribute.bitarchive.BitarchiveServer Running
      2005-06-23 16:42:45 dk.netarkivet.distribute.bitarchive.BitarchiveServer <init>
      CONFIG: Storing temporary files at '.\tests\commontempdir'
      2005-06-23 16:42:45 dk.netarkivet.bitarchive.Bitarchive <init>
      FINE: Starting bit archive
      2005-06-23 16:42:45 dk.netarkivet.bitarchive.BitArchiveAdmin <init>
      CONFIG: Requiring at least 2000000000 bytes free.
      2005-06-23 16:42:45 dk.netarkivet.bitarchive.BitArchiveAdmin <init>
      CONFIG: Using bit archive directory '.\bitarkiv' with 103470418 bytes of content
      out of 1000000000000
      2005-06-23 16:42:45 dk.netarkivet.bitarchive.BitArchiveAdmin <init>
      CONFIG: Using bit archive directory 'q:\bitarkiv' with 24581555390 bytes of
      content out of 1000000000000
      2005-06-23 16:42:45 dk.netarkivet.distribute.bitarchive.BitarchiveServer <init>
      CONFIG: Heartbeat frequency: '1000'
      2005-06-23 16:42:45 dk.netarkivet.distribute.bitarchive.BitarchiveServer <init>
      INFO: Created bitarchive server listening on: SVC_KB_ALL_BA and SVC_KB_ANY_BA
      2005-06-23 16:42:45 dk.netarkivet.distribute.bitarchive.BitarchiveServer <init>
      INFO: Broadcasting heartbeats on: SVC_KB_THE_BAMON
      2005-06-23 16:42:45 dk.netarkivet.utils.ApplicationUtils startApp
      FINE: Adding shutdown hook for dk.netarkivet.distribute.bitarchive.BitarchiveServer
      2005-06-23 16:42:45 dk.netarkivet.utils.ApplicationUtils startApp
      FINE: Added shutdown hook for dk.netarkivet.distribute.bitarchive.BitarchiveServer
      NOTE: This bug is originally from Bugzilla bug_id=375.
      This bug was previously assigned to Unassigned.

      Attachments

        Activity

          People

            Unassigned Unassigned
            svc Søren Vejrup Carlsen (Inactive)
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: