Hi,
When i tried offline tar compaction in AEM 6.2 ,i got below error. Also when i try installing few contact packages ,i get errors saying Segment not found.
Why is that all of a sudden aem has lost its segment?
your help is appreciated .
12:45:53.879 [main] ERROR o.a.j.o.p.segment.SegmentTracker - Segment not found: 7045ea48-1286-4270-a
1c1-b27b9ce8a40f. Creation date delta is 8 ms.
org.apache.jackrabbit.oak.plugins.segment.SegmentNotFoundException: Segment 7045ea48-1286-4270-a1c1-
b27b9ce8a40f not found
at org.apache.jackrabbit.oak.plugins.segment.file.FileStore.readSegment(FileStore.java:1293)
[oak-run-1.4.1.jar:1.4.1]
at org.apache.jackrabbit.oak.plugins.segment.SegmentTracker.readSegment(SegmentTracker.java:241) ~[oak-run-1.4.1.jar:1.4.1]
at org.apache.jackrabbit.oak.plugins.segment.SegmentId.getSegment(SegmentId.java:149) [oak-run-1.4.1.jar:1.4.1]
at org.apache.jackrabbit.oak.plugins.segment.Record.getSegment(Record.java:82) [oak-run-1.4.1.jar:1.4.1]
at org.apache.jackrabbit.oak.plugins.segment.MapRecord.getEntries(MapRecord.java:330) [oak-run-1.4.1.jar:1.4.1]
at org.apache.jackrabbit.oak.plugins.segment.MapRecord.access$000(MapRecord.java:42) [oak-run-1.4.1.jar:1.4.1]
at org.apache.jackrabbit.oak.plugins.segment.MapRecord$1.iterator(MapRecord.java:354) [oak-run-1.4.1.jar:1.4.1]
at com.google.common.collect.Iterables$3.transform(Iterables.java:509) [oak-run-1.4.1.jar:1.4.1]
at com.google.common.collect.Iterables$3.transform(Iterables.java:506) [oak-run-1.4.1.jar:1.4.1]
at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48) [oak-run-1.4.1.jar:1.4.1]
at com.google.common.collect.Iterators$5.hasNext(Iterators.java:543) [oak-run-1.4.1.jar:1.4.1]
at com.google.common.collect.Iterators$5.hasNext(Iterators.java:542) [oak-run-1.4.1.jar:1.4.1]
at com.google.common.collect.Iterators$5.hasNext(Iterators.java:542) [oak-run-1.4.1.jar:1.4.1]
at org.apache.jackrabbit.oak.plugins.memory.EmptyNodeState.compareAgainstEmptyState(EmptyNodeState.java:160) [oak-run-1.4.1.jar:1.4.1]
at org.apache.jackrabbit.oak.plugins.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:434) [oak-run-1.4.1.jar:1.4.1]
at org.apache.jackrabbit.oak.plugins.segment.Compactor$CompactDiff.diff(Compactor.java:205)[oak-run-1.4.1.jar:1.4.1]
at org.apache.jackrabbit.oak.plugins.segment.Compactor$CompactDiff.childNodeAdded(Compactor.java:249) [oak-run-1.4.1.jar:1.4.1]
at org.apache.jackrabbit.oak.plugins.segment.CancelableDiff.childNodeAdded(CancelableDiff.java:74) [oak-run-1.4.1.jar:1.4.1]
at org.apache.jackrabbit.oak.plugins.memory.EmptyNodeState.compareAgainstEmptyState(EmptyNodeState.java:161) [oak-run-1.4.1.jar:1.4.1]
at org.apache.jackrabbit.oak.plugins.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:434) [oak-run-1.4.1.jar:1.4.1]
at org.apache.jackrabbit.oak.plugins.segment.Compactor$CompactDiff.diff(Compactor.java:205)[oak-run-1.4.1.jar:1.4.1]
at org.apache.jackrabbit.oak.plugins.segment.Compactor$CompactDiff.childNodeAdded(Compactor.java:249) [oak-run-1.4.1.jar:1.4.1]
at org.apache.jackrabbit.oak.plugins.segment.CancelableDiff.childNodeAdded(CancelableDiff.java:74) [oak-run-1.4.1.jar:1.4.1]
at org.apache.jackrabbit.oak.plugins.memory.EmptyNodeState.compareAgainstEmptyState(EmptyNodeState.java:161) [oak-run-1.4.1.jar:1.4.1]
at org.apache.jackrabbit.oak.plugins.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:434) [oak-run-1.4.1.jar:1.4.1]
at org.apache.jackrabbit.oak.plugins.segment.Compactor$CompactDiff.diff(Compactor.java:205)[oak-run-1.4.1.jar:1.4.1]
at org.apache.jackrabbit.oak.plugins.segment.Compactor$CompactDiff.childNodeAdded(Compactor.java:249) [oak-run-1.4.1.jar:1.4.1]
at org.apache.jackrabbit.oak.plugins.segment.CancelableDiff.childNodeAdded(CancelableDiff.java:74) [oak-run-1.4.1.jar:1.4.1]
at org.apache.jackrabbit.oak.plugins.memory.EmptyNodeState.compareAgainstEmptyState(EmptyNodeState.java:161) [oak-run-1.4.1.jar:1.4.1]
at org.apache.jackrabbit.oak.plugins.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:434) [oak-run-1.4.1.jar:1.4.1]
at org.apache.jackrabbit.oak.plugins.segment.Compactor$CompactDiff.diff(Compactor.java:205)[oak-run-1.4.1.jar:1.4.1]
at org.apache.jackrabbit.oak.plugins.segment.Compactor$CompactDiff.childNodeAdded(Compactor.java:249) [oak-run-1.4.1.jar:1.4.1]
at org.apache.jackrabbit.oak.plugins.segment.CancelableDiff.childNodeAdded(CancelableDiff.java:74) [oak-run-1.4.1.jar:1.4.1]
at org.apache.jackrabbit.oak.plugins.memory.EmptyNodeState.compareAgainstEmptyState(EmptyNodeState.java:161) [oak-run-1.4.1.jar:1.4.1]
at org.apache.jackrabbit.oak.plugins.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:434) [oak-run-1.4.1.jar:1.4.1]
at org.apache.jackrabbit.oak.plugins.segment.Compactor$CompactDiff.diff(Compactor.java:205)[oak-run-1.4.1.jar:1.4.1]
at org.apache.jackrabbit.oak.plugins.segment.Compactor$CompactDiff.childNodeAdded(Compactor.java:249) [oak-run-1.4.1.jar:1.4.1]
at org.apache.jackrabbit.oak.plugins.segment.CancelableDiff.childNodeAdded(CancelableDiff.java:74) [oak-run-1.4.1.jar:1.4.1]
at org.apache.jackrabbit.oak.plugins.memory.EmptyNodeState.compareAgainstEmptyState(EmptyNodeState.java:161) [oak-run-1.4.1.jar:1.4.1]
at org.apache.jackrabbit.oak.plugins.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:434) [oak-run-1.4.1.jar:1.4.1]
at org.apache.jackrabbit.oak.plugins.segment.Compactor$CompactDiff.diff(Compactor.java:205)[oak-run-1.4.1.jar:1.4.1]
at org.apache.jackrabbit.oak.plugins.segment.Compactor$CompactDiff.childNodeAdded(Compactor.java:249) [oak-run-1.4.1.jar:1.4.1]
at org.apache.jackrabbit.oak.plugins.segment.CancelableDiff.childNodeAdded(CancelableDiff.java:74) [oak-run-1.4.1.jar:1.4.1]
at org.apache.jackrabbit.oak.plugins.memory.EmptyNodeState.compareAgainstEmptyState(EmptyNodeState.java:161) [oak-run-1.4.1.jar:1.4.1]
at org.apache.jackrabbit.oak.plugins.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:434) [oak-run-1.4.1.jar:1.4.1]
at org.apache.jackrabbit.oak.plugins.segment.Compactor$CompactDiff.diff(Compactor.java:205)[oak-run-1.4.1.jar:1.4.1]
at org.apache.jackrabbit.oak.plugins.segment.Compactor.process(Compactor.java:151) [oak-run-1.4.1.jar:1.4.1]
at org.apache.jackrabbit.oak.plugins.segment.Compactor.compact(Compactor.java:165) [oak-run-1.4.1.jar:1.4.1]
at org.apache.jackrabbit.oak.plugins.segment.file.FileStore.compact(FileStore.java:1051) [oak-run-1.4.1.jar:1.4.1]
at org.apache.jackrabbit.oak.run.CompactCommand.execute(CompactCommand.java:85) [oak-run-1.4.1.jar:1.4.1]
at org.apache.jackrabbit.oak.run.Mode.execute(Mode.java:63) [oak-run-1.4.1.jar:1.4.1]
at org.apache.jackrabbit.oak.run.Main.main(Main.java:49) [oak-run-1.4.1.jar:1.4.1]
Exception in thread "main" org.apache.jackrabbit.oak.plugins.segment.SegmentNotFoundException: Segment 7045ea48-1286-4270-a1c1-b27b9ce8a40f not found
at org.apache.jackrabbit.oak.plugins.segment.file.FileStore.readSegment(FileStore.java:1293)
at org.apache.jackrabbit.oak.plugins.segment.SegmentTracker.readSegment(SegmentTracker.java:241)
at org.apache.jackrabbit.oak.plugins.segment.SegmentId.getSegment(SegmentId.java:149)
at org.apache.jackrabbit.oak.plugins.segment.Record.getSegment(Record.java:82)
at org.apache.jackrabbit.oak.plugins.segment.MapRecord.getEntries(MapRecord.java:330)
at org.apache.jackrabbit.oak.plugins.segment.MapRecord.access$000(MapRecord.java:42)
at org.apache.jackrabbit.oak.plugins.segment.MapRecord$1.iterator(MapRecord.java:354)
at com.google.common.collect.Iterables$3.transform(Iterables.java:509)
at com.google.common.collect.Iterables$3.transform(Iterables.java:506)
at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48)
at com.google.common.collect.Iterators$5.hasNext(Iterators.java:543)
at com.google.common.collect.Iterators$5.hasNext(Iterators.java:542)
at com.google.common.collect.Iterators$5.hasNext(Iterators.java:542)
Thanks,
Deepikaa
Solved! Go to Solution.
HI Deepika
You cannot run tar compaction unless last good segment is restored. Follow the instructions provided by Tiago here - http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...
Reason for this corruption could be anything like you may have not disabled online compaction or CQ process was killed abruptly and so on.
Hope this helps.
Regards
Vinit
HI Deepika
You cannot run tar compaction unless last good segment is restored. Follow the instructions provided by Tiago here - http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...
Reason for this corruption could be anything like you may have not disabled online compaction or CQ process was killed abruptly and so on.
Hope this helps.
Regards
Vinit
All your data was present after doing all those steps? After doing the steps mentioned to working latest revision, i lost some of the data.
Views
Replies
Total Likes
Views
Likes
Replies