Support Article
Unable to index
SA-89932
Summary
After creating a node and when its status is Online, unable to index. The indexes display Incomplete status.
Error Messages
[ploymentLocalTask:24] [STANDARD] [ ] [ ] (.managedprocess.ManagedProcess) ERROR - Unable to unpack Apache Kafka distribution
java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method) ~[?:1.8.0_222]
at java.io.File.createNewFile(File.java:1012) ~[?:1.8.0_222]
at com.pega.dsm.dnode.api.prpc.service.managedprocess.ManagedProcess.unpack(ManagedProcess.java:270) ~[d-node-8.2.2-354.jar:?]
at com.pega.dsm.kafka.Kafka.spinOffKafkaProcess(Kafka.java:278) ~[d-node-8.2.2-354.jar:?]
Steps to Reproduce
Execute the Index.
Root Cause
The application was unable to unpack Kafka.
Resolution
Perform the following local-change:
- Add the below setting to prconfig to redirect the Kafka logs and the data to the custom location:
<!-- Kafka extraction path, value is the valid directory path-->
<env name="dsm/services/stream/pyUnpackBasePath" value="/PRPC"/>
<!-- Kafka data path, value is the valid directory path-->
<env name="dsm/services/stream/pyBaseLogPath" value="/PRPC/kafka"/>
- Ensure that the directories are accessible and writable.
Published October 16, 2019 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.