You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by cp...@apache.org on 2017/06/02 10:56:37 UTC
[14/38] lucene-solr:jira/solr-8668: SOLR-10360: Solr HDFS snapshot
export fails due to FileNotFoundException error when using MR1 instead of
yarn.
SOLR-10360: Solr HDFS snapshot export fails due to FileNotFoundException error when using MR1 instead of yarn.
This closes #173
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/872b0dba
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/872b0dba
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/872b0dba
Branch: refs/heads/jira/solr-8668
Commit: 872b0dba2d383255ffc020a2b429e395d9817175
Parents: d148bd4
Author: Mark Miller <ma...@apache.org>
Authored: Wed May 31 14:24:18 2017 -0400
Committer: Mark Miller <ma...@apache.org>
Committed: Wed May 31 14:24:18 2017 -0400
----------------------------------------------------------------------
solr/CHANGES.txt | 3 +++
solr/server/scripts/cloud-scripts/snapshotscli.sh | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/872b0dba/solr/CHANGES.txt
----------------------------------------------------------------------
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 1192d36..a2dc820 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -250,6 +250,9 @@ Bug Fixes
* SOLR-10719: Creating a core.properties fails if the parent of core.properties is a symlinked dierctory
(Erick Erickson)
+* SOLR-10360: Solr HDFS snapshot export fails due to FileNotFoundException error when using MR1 instead of
+ yarn. (Hrishikesh via Mark Miller)
+
Optimizations
----------------------
* SOLR-10634: JSON Facet API: When a field/terms facet will retrieve all buckets (i.e. limit:-1)
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/872b0dba/solr/server/scripts/cloud-scripts/snapshotscli.sh
----------------------------------------------------------------------
diff --git a/solr/server/scripts/cloud-scripts/snapshotscli.sh b/solr/server/scripts/cloud-scripts/snapshotscli.sh
index 41ae4aa..f885721 100755
--- a/solr/server/scripts/cloud-scripts/snapshotscli.sh
+++ b/solr/server/scripts/cloud-scripts/snapshotscli.sh
@@ -86,7 +86,7 @@ copy_snapshot_files() {
for shardId in $(hdfs dfs -stat "%n" "${copylisting_dir_path}/*"); do
oPath="${destPath}/${snapshotName}/snapshot.${shardId}"
echo "Copying the index files for ${shardId} to ${oPath}"
- ${distCpCmd} -f " ${copylisting_dir_path}/${shardId}" "${oPath}" > /dev/null
+ ${distCpCmd} -f "${copylisting_dir_path}/${shardId}" "${oPath}" > /dev/null
done
else
echo "Directory ${copylisting_dir_path} does not exist."