Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-24504

Solr API reports backup as complete while copy is still in progress

    XMLWordPrintableJSON

    Details

      Description

      Below command completed successfully however the solr continues to copy the file async.

      1. /usr/lib/ambari-infra-solr-client/ambariSolrMigration.sh --ini-file $CONFIG_INI_LOCATION --mode backup | tee backup_output.txt

      This can be an issue if we issue the followup delete command

      root@hcube1-2n02 snapshot.ranger_audits_shard1_replica1]# du -h .
      28G	.
      [root@hcube1-2n02 snapshot.ranger_audits_shard1_replica1]# du -h .
      34G	.
      

      backup_status.json

      {"responseHeader":{"status":0,"QTime":1},"details":{"indexSize":"262.86 GB","indexPath":"/grid/1/infra-solr/data/ranger_audits_shard1_replica1/data/index/","commits":[["indexVersion",1515831777053,"generation",961228,"filelist",["_10o64.cfe","_10o64.cfs","_10o64.si","_11tn0.cfe","_11tn0.cfs","_11tn0.si","_14pbq.cfe","_14pbq.cfs","_14pbq.si","_15jff.cfe","_15jff.cfs","_15jff.si","_174b1.cfe","_174b1.cfs","_174b1.si","_1934r.cfe","_1934r.cfs","_1934r.si","_19e6h.cfe","_19e6h.cfs","_19e6h.si","_1aytr.cfe","_1aytr.cfs","_1aytr.si","_1cz9h.cfe","_1cz9h.cfs","_1cz9h.si","_1dsmp.cfe","_1dsmp.cfs","_1dsmp.si","_1eknb.cfe","_1eknb.cfs","_1eknb.si","_1gqfs.cfe","_1gqfs.cfs","_1gqfs.si","_1jg42.cfe","_1jg42.cfs","_1jg42.si","_1jqqz.cfe","_1jqqz.cfs","_1jqqz.si","_1k5u8.cfe","_1k5u8.cfs","_1k5u8.si","_1k5ua.cfe","_1k5ua.cfs","_1k5ua.si","_1k5ug.cfe","_1k5ug.cfs","_1k5ug.si","_1laci.cfe","_1laci.cfs","_1laci.si","_1no19.cfe","_1no19.cfs","_1no19.si","_1osp3.cfe","_1osp3.cfs","_1osp3.si","_1osp3_6.liv","_1qbbd.cfe","_1qbbd.cfs","_1qbbd.si","_1qbbd_1.liv","_1s5jc.cfe","_1s5jc.cfs","_1s5jc.si","_1u9mv.cfe","_1u9mv.cfs","_1u9mv.si","_1u9mv_1.liv","_1ws6d.cfe","_1ws6d.cfs","_1ws6d.si","_1ws6d_3.liv","_1ys74.cfe","_1ys74.cfs","_1ys74.si","_20tad.cfe","_20tad.cfs","_20tad.si","_232t3.cfe","_232t3.cfs","_232t3.si","_24c9c.cfe","_24c9c.cfs","_24c9c.si","_26ro9.cfe","_26ro9.cfs","_26ro9.si","_28oz3.cfe","_28oz3.cfs","_28oz3.si","_2apem.cfe","_2apem.cfs","_2apem.si","_2d9sm.cfe","_2d9sm.cfs","_2d9sm.si","_2flec.cfe","_2flec.cfs","_2flec.si","_2i8xe.cfe","_2i8xe.cfs","_2i8xe.si","_2jl5e.cfe","_2jl5e.cfs","_2jl5e.si","_2m6gz.cfe","_2m6gz.cfs","_2m6gz.si","_2oj2h.cfe","_2oj2h.cfs","_2oj2h.si","_2s5lj.cfe","_2s5lj.cfs","_2s5lj.si","_2t4my.cfe","_2t4my.cfs","_2t4my.si","_2wghp.cfe","_2wghp.cfs","_2wghp.si","_2xlnj.cfe","_2xlnj.cfs","_2xlnj.si","_2zywz.cfe","_2zywz.cfs","_2zywz.si","_31s0c.cfe","_31s0c.cfs","_31s0c.si","_34a7e.cfe","_34a7e.cfs","_34a7e.si","_35o1p.cfe","_35o1p.cfs","_35o1p.si","_37x28.cfe","_37x28.cfs","_37x28.si","_39917.cfe","_39917.cfs","_39917.si","_3bavd.cfe","_3bavd.cfs","_3bavd.si","_3d4ac.cfe","_3d4ac.cfs","_3d4ac.si","_3esnp.cfe","_3esnp.cfs","_3esnp.si","_3gr4b.cfe","_3gr4b.cfs","_3gr4b.si","_3jecp.cfe","_3jecp.cfs","_3jecp.si","_3kh9c.cfe","_3kh9c.cfs","_3kh9c.si","_3mima.cfe","_3mima.cfs","_3mima.si","_3mjkp.cfe","_3mjkp.cfs","_3mjkp.si","_3o876.cfe","_3o876.cfs","_3o876.si","_3oh2x.cfe","_3oh2x.cfs","_3oh2x.si","_3q3ky.cfe","_3q3ky.cfs","_3q3ky.si","_3qjum.cfe","_3qjum.cfs","_3qjum.si","_3qpc2.cfe","_3qpc2.cfs","_3qpc2.si","_3r3qd.cfe","_3r3qd.cfs","_3r3qd.si","_3ray8.cfe","_3ray8.cfs","_3ray8.si","_3rcrk.cfe","_3rcrk.cfs","_3rcrk.si","_3rdbs.cfe","_3rdbs.cfs","_3rdbs.si","_3rg6k.cfe","_3rg6k.cfs","_3rg6k.si","_3riin.cfe","_3riin.cfs","_3riin.si","_3rjm5.cfe","_3rjm5.cfs","_3rjm5.si","_3rjv1.cfe","_3rjv1.cfs","_3rjv1.si","_3rkh7.cfe","_3rkh7.cfs","_3rkh7.si","_3rkpt.cfe","_3rkpt.cfs","_3rkpt.si","_3rkt3.cfe","_3rkt3.cfs","_3rkt3.si","_3rkwq.cfe","_3rkwq.cfs","_3rkwq.si","_3rl0u.cfe","_3rl0u.cfs","_3rl0u.si","_3rl57.cfe","_3rl57.cfs","_3rl57.si","_3rl6p.cfe","_3rl6p.cfs","_3rl6p.si","_3rl6z.cfe","_3rl6z.cfs","_3rl6z.si","_3rl75.cfe","_3rl75.cfs","_3rl75.si","_3rl7a.cfe","_3rl7a.cfs","_3rl7a.si","_obvr.cfe","_obvr.cfs","_obvr.si","_obvr_1.liv","_ptzx.cfe","_ptzx.cfs","_ptzx.si","_qtqk.cfe","_qtqk.cfs","_qtqk.si","_txqa.cfe","_txqa.cfs","_txqa.si","_txqa_2.liv","_v3zg.cfe","_v3zg.cfs","_v3zg.si","_xrjk.cfe","_xrjk.cfs","_xrjk.si","segments_klos"]]],"isMaster":"true","isSlave":"false","indexVersion":1515831777053,"generation":961228,"master":{"replicateAfter":["commit"],"replicationEnabled":"true"},"backup":["startTime","Sat Aug 18 12:33:17 UTC 2018","fileCount",259,"status","success","snapshotCompletedAt","Sat Aug 18 16:04:40 UTC 2018","snapshotName","ranger_audits_shard1_replica1"]}}
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                oleewere Oliver Szabo
                Reporter:
                oleewere Oliver Szabo
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h