[ 
https://issues.apache.org/jira/browse/SOLR-17180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17820406#comment-17820406
 ] 

Eric Pugh commented on SOLR-17180:
----------------------------------

That is interesting...!  It works?!

I fired up bin/solr -c -e films first, then I ran

 

./server/scripts/cloud-scripts/snapshotscli.sh --create snapshot-1 -c films -z 
localhost:9983

and can run

./server/scripts/cloud-scripts/snapshotscli.sh --list -z localhost:9983 -c 
films  

 

And I have files in 
/Users/epugh/Documents/projects/solr-epugh/solr/packaging/build/dev/example/films/solr/films_shard1_replica_n1/data/index

 

Is this something folks use outside of HDFS?

> Figure out what snapshotscli.sh does and if we need it
> ------------------------------------------------------
>
>                 Key: SOLR-17180
>                 URL: https://issues.apache.org/jira/browse/SOLR-17180
>             Project: Solr
>          Issue Type: Sub-task
>          Components: cli, hdfs
>            Reporter: Eric Pugh
>            Priority: Major
>
> There is a file in ./server/scripts/cloud-scripts/ called snapshotscli.sh.   
> We have no documentation about it in the ref guide, and it appears to expose 
> the class 
> org.apache.solr.hdfs.snapshots.SolrSnapshotsTool.java
>  
> Seems like this should be distributed as part of the hdfs Module, not buried 
> way down deep inside of the core of Solr.  
> Maybe it should be in ./modules/hdfs/bin directory?  Or 
> ./modules/hdfs/scripts directory in the Solr distribution?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to