Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-4146

sstableloader should detect and report failures

    XMLWordPrintableJSON

Details

    Description

      There are three cases where we have observed the abnormal termination
      1) In case of exception while loading.
      2) User terminates the loading process.
      3) If some node is down OR un-reachable then sstableloader get stucked.In this case user have to terminate the process in between.

      In case of abnormal termination, sstables (which are added in this session) remains as it is on the cluster.In case user starts the process all over again by fixing the exception, it results in duplication of the data till Major compaction is triggered.

      sstableloader can maintain the session while loading the sstables in cluster.So in case of abnormal termination sstableloader triggers the event that will delete the sstables loaded in that session.

      Also It would be great to have timeout in case of sstableloader.That can be kept configurable.
      So if sstableloader process got stucked for period longer than timeout, it can terminate itself.

      Attachments

        1. 4146.txt
          5 kB
          Brandon Williams

        Issue Links

          Activity

            People

              brandon.williams Brandon Williams
              mzope Manish Zope
              Brandon Williams
              Yuki Morishita
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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