Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-3921

CoreAdminHandler fails when dataDir doesn't exist on local filesystem

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Duplicate
    • 4.0-BETA
    • 4.1, 6.0
    • Admin UI
    • None

    Description

      CoreAdminHandler.getIndexSize calls FileUtils.sizeOfDirectory which throws unhandled IllegalArgumentException when dataDir doesn't exist on the local filesystem. As a result the webapp gui "hangs" (never displays any result).

      Attachments

        1. SOLR-3921.patch
          1 kB
          Patrick D. Hunt

        Issue Links

          Activity

            People

              markrmiller@gmail.com Mark Miller
              phunt Patrick D. Hunt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: