[prev in list] [next in list] [prev in thread] [next in thread] 

List:       solr-dev
Subject:    [jira] [Created] (SOLR-13029) Allow HDFS buffer size to be configured
From:       "Tim Owen (JIRA)" <jira () apache ! org>
Date:       2018-11-30 20:41:00
Message-ID: JIRA.13201712.1543610437000.67572.1543610460018 () Atlassian ! JIRA
[Download RAW message or body]

Tim Owen created SOLR-13029:
-------------------------------

             Summary: Allow HDFS buffer size to be configured
                 Key: SOLR-13029
                 URL: https://issues.apache.org/jira/browse/SOLR-13029
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
          Components: Backup/Restore, hdfs
    Affects Versions: 7.5, master (8.0)
            Reporter: Tim Owen


There's a default hardcoded buffer size setting of 4096 in the HDFS code which means \
in particular that restoring a backup from HDFS takes a long time. Copying multi-GB \
files from HDFS using a buffer as small as 4096 bytes is very inefficient. We changed \
this in our local build used in production to 256kB and saw a 10x speed improvement \
when restoring a backup. Attached patch simply makes this size configurable using a \
command line setting, much like several other buffer size values.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic